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 pSource, BoundingBox pBox, BlockInput pBlock, FillCommand.Mode pMode, Predicate<BlockInWorld> pFilter, boolean pStrict) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> wrapWithMode
(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter)
-
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> pDispatcher, CommandBuildContext pBuildContext) -
wrapWithMode
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,?> wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) -
fillBlocks
private static int fillBlocks(CommandSourceStack pSource, BoundingBox pBox, BlockInput pBlock, FillCommand.Mode pMode, @Nullable Predicate<BlockInWorld> pFilter, boolean pStrict) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-