Package net.minecraft.server.commands
Class FillCommand
java.lang.Object
net.minecraft.server.commands.FillCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
(package private) static enum
(package private) static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
(package private) static final BlockInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
fillBlocks
(CommandSourceStack p_137386_, BoundingBox p_137387_, BlockInput p_137388_, FillCommand.Mode p_137389_, Predicate<BlockInWorld> p_137390_, boolean p_393689_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214443_, CommandBuildContext p_214444_) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> wrapWithMode
(CommandBuildContext p_394423_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_393983_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397131_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397847_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> p_397185_, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> p_394036_)
-
Field Details
-
ERROR_AREA_TOO_LARGE
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_AREA_TOO_LARGE -
HOLLOW_CORE
-
ERROR_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
-
-
Constructor Details
-
FillCommand
public FillCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214443_, CommandBuildContext p_214444_) -
wrapWithMode
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,?> wrapWithMode(CommandBuildContext p_394423_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_393983_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397131_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> p_397847_, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> p_397185_, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> p_394036_) -
fillBlocks
private static int fillBlocks(CommandSourceStack p_137386_, BoundingBox p_137387_, BlockInput p_137388_, FillCommand.Mode p_137389_, @Nullable Predicate<BlockInWorld> p_137390_, boolean p_393689_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-