Package net.minecraft.server.commands
Class FillCommand
java.lang.Object
net.minecraft.server.commands.FillCommand
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
(package private) static final BlockInput
private static final int
-
Constructor Summary
-
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_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214443_, CommandBuildContext p_214444_)
-
Field Details
-
MAX_FILL_AREA
private static final int MAX_FILL_AREA- See Also:
-
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_) -
fillBlocks
private static int fillBlocks(CommandSourceStack p_137386_, BoundingBox p_137387_, BlockInput p_137388_, FillCommand.Mode p_137389_, @Nullable Predicate<BlockInWorld> p_137390_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-