Package net.minecraft.server.commands
Class SetBlockCommand
java.lang.Object
net.minecraft.server.commands.SetBlockCommand
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214731_, CommandBuildContext p_214732_) private static intsetBlock(CommandSourceStack p_138608_, BlockPos p_138609_, BlockInput p_138610_, SetBlockCommand.Mode p_138611_, Predicate<BlockInWorld> p_138612_)  
- 
Field Details
- 
ERROR_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED 
 - 
 - 
Constructor Details
- 
SetBlockCommand
public SetBlockCommand() 
 - 
 - 
Method Details
- 
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214731_, CommandBuildContext p_214732_)  - 
setBlock
private static int setBlock(CommandSourceStack p_138608_, BlockPos p_138609_, BlockInput p_138610_, SetBlockCommand.Mode p_138611_, @Nullable Predicate<BlockInWorld> p_138612_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 
 -