Package net.minecraft.server.commands
Class FillBiomeCommand
java.lang.Object
net.minecraft.server.commands.FillBiomeCommand
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
fill
(CommandSourceStack p_262664_, BlockPos p_262651_, BlockPos p_262678_, Holder.Reference<Biome> p_262612_, Predicate<Holder<Biome>> p_262697_) private static BiomeResolver
makeResolver
(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) private static int
quantize
(int p_261998_) private static BlockPos
static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_261867_, CommandBuildContext p_262155_)
-
Field Details
-
MAX_FILL_AREA
private static final int MAX_FILL_AREA- See Also:
-
ERROR_NOT_LOADED
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_LOADED -
ERROR_VOLUME_TOO_LARGE
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_VOLUME_TOO_LARGE
-
-
Constructor Details
-
FillBiomeCommand
public FillBiomeCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_261867_, CommandBuildContext p_262155_) -
quantize
private static int quantize(int p_261998_) -
quantize
-
makeResolver
private static BiomeResolver makeResolver(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) -
fill
private static int fill(CommandSourceStack p_262664_, BlockPos p_262651_, BlockPos p_262678_, Holder.Reference<Biome> p_262612_, Predicate<Holder<Biome>> p_262697_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-