Package net.minecraft.server.command
Class FillCommand
java.lang.Object
net.minecraft.server.command.FillCommand
public class FillCommand extends Object
- Mappings:
Namespace Name official xp
intermediary net/minecraft/class_3057
named net/minecraft/server/command/FillCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
FillCommand.Mode
-
Field Summary
Fields Modifier and Type Field Description private static BlockStateArgument
AIR_BLOCK_ARGUMENT
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
FAILED_EXCEPTION
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
TOO_BIG_EXCEPTION
-
Constructor Summary
Constructors Constructor Description FillCommand()
-
Method Summary
Modifier and Type Method Description private static int
execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, Predicate<CachedBlockPosition> filter)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
TOO_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lxp;a:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_13649
Lnet/minecraft/class_3057;field_13649:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
named TOO_BIG_EXCEPTION
Lnet/minecraft/server/command/FillCommand;TOO_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
AIR_BLOCK_ARGUMENT
- Mappings:
Namespace Name Mixin selector official b
Lxp;b:Lef;
intermediary field_13648
Lnet/minecraft/class_3057;field_13648:Lnet/minecraft/class_2247;
named AIR_BLOCK_ARGUMENT
Lnet/minecraft/server/command/FillCommand;AIR_BLOCK_ARGUMENT:Lnet/minecraft/command/argument/BlockStateArgument;
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official c
Lxp;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13650
Lnet/minecraft/class_3057;field_13650:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named FAILED_EXCEPTION
Lnet/minecraft/server/command/FillCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
FillCommand
public FillCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lxp;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13347
Lnet/minecraft/class_3057;method_13347(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/FillCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lxp;a(Ldb;Lcwn;Lef;Lxp$a;Ljava/util/function/Predicate;)I
intermediary method_13354
Lnet/minecraft/class_3057;method_13354(Lnet/minecraft/class_2168;Lnet/minecraft/class_3341;Lnet/minecraft/class_2247;Lnet/minecraft/class_3057$class_3058;Ljava/util/function/Predicate;)I
named execute
Lnet/minecraft/server/command/FillCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/command/argument/BlockStateArgument;Lnet/minecraft/server/command/FillCommand$Mode;Ljava/util/function/Predicate;)I
-