Package net.minecraft.command.impl
Class SetBlockCommand
java.lang.Object
net.minecraft.command.impl.SetBlockCommand
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198684_0_) private static int
setBlock
(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, Predicate<CachedBlockInfo> p_198683_4_)
-
Field Details
-
ERROR_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
-
-
Constructor Details
-
SetBlockCommand
public SetBlockCommand()
-
-
Method Details
-
register
-
setBlock
private static int setBlock(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, @Nullable Predicate<CachedBlockInfo> p_198683_4_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-