Package net.minecraft.server.command
Class SetBlockCommand
java.lang.Object
net.minecraft.server.command.SetBlockCommand
public class SetBlockCommand extends Object
- Mappings:
Namespace Name official yu
intermediary net/minecraft/class_3119
named net/minecraft/server/command/SetBlockCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SetBlockCommand.Filter
static class
SetBlockCommand.Mode
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
FAILED_EXCEPTION
-
Constructor Summary
Constructors Constructor Description SetBlockCommand()
-
Method Summary
Modifier and Type Method Description private static int
execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, Predicate<CachedBlockPosition> condition)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lyu;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13719
Lnet/minecraft/class_3119;field_13719:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named FAILED_EXCEPTION
Lnet/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)- Mappings:
Namespace Name Mixin selector official a
Lyu;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13623
Lnet/minecraft/class_3119;method_13623(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/SetBlockCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lyu;a(Ldb;Lfx;Lef;Lyu$b;Ljava/util/function/Predicate;)I
intermediary method_13620
Lnet/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;)I
named execute
Lnet/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
-