Package net.minecraft.server.command
Class SetBlockCommand
java.lang.Object
net.minecraft.server.command.SetBlockCommand
- Mappings:
 Namespace Name official againtermediary net/minecraft/class_3119named net/minecraft/server/command/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 TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)  
- 
Field Details
- 
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
 Namespace Name Mixin selector official aLaga;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13719Lnet/minecraft/class_3119;field_13719:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named FAILED_EXCEPTIONLnet/minecraft/server/command/SetBlockCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 - 
 - 
Constructor Details
- 
SetBlockCommand
public SetBlockCommand() 
 - 
 - 
Method Details
- 
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) - Mappings:
 Namespace Name Mixin selector official aLaga;a(Lcom/mojang/brigadier/CommandDispatcher;Ldm;)Vintermediary method_13623Lnet/minecraft/class_3119;method_13623(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vnamed registerLnet/minecraft/server/command/SetBlockCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
 - 
execute
private static int execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable @Nullable Predicate<CachedBlockPosition> condition) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector official aLaga;a(Lds;Lgu;Lfd;Laga$b;Ljava/util/function/Predicate;)Iintermediary method_13620Lnet/minecraft/class_3119;method_13620(Lnet/minecraft/class_2168;Lnet/minecraft/class_2338;Lnet/minecraft/class_2247;Lnet/minecraft/class_3119$class_3121;Ljava/util/function/Predicate;)Inamed executeLnet/minecraft/server/command/SetBlockCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/command/argument/BlockStateArgument;Lnet/minecraft/server/command/SetBlockCommand$Mode;Ljava/util/function/Predicate;)I
 
 -