Package net.minecraft.server.commands
Class SetBlockCommand
java.lang.Object
net.minecraft.server.commands.SetBlockCommand
- 
Nested Class Summary
Nested Classes - 
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> pDispatcher, CommandBuildContext pBuildContext) private static intsetBlock(CommandSourceStack pSource, BlockPos pPos, BlockInput pBlock, SetBlockCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict)  
- 
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> pDispatcher, CommandBuildContext pBuildContext)  - 
setBlock
private static int setBlock(CommandSourceStack pSource, BlockPos pPos, BlockInput pBlock, SetBlockCommand.Mode pMode, @Nullable Predicate<BlockInWorld> pFilter, boolean pStrict) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 
 -