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
-
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_) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> fill
(ServerLevel p_312916_, BlockPos p_312866_, BlockPos p_311741_, Holder<Biome> p_311864_, Predicate<Holder<Biome>> p_311950_, Consumer<Supplier<Component>> p_313249_) 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
-
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
-
fill
-
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
-