Class FillBiomeCommand

java.lang.Object
net.minecraft.server.command.FillBiomeCommand

public class FillBiomeCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/FillBiomeCommand
intermediary net/minecraft/class_7926
official ani
  • Field Details

    • UNLOADED_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType UNLOADED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named UNLOADED_EXCEPTION Lnet/minecraft/server/command/FillBiomeCommand;UNLOADED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_41279 Lnet/minecraft/class_7926;field_41279:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lani;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TOO_BIG_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named TOO_BIG_EXCEPTION Lnet/minecraft/server/command/FillBiomeCommand;TOO_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_41281 Lnet/minecraft/class_7926;field_41281:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      official b Lani;b:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
  • Constructor Details

    • FillBiomeCommand

      public FillBiomeCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/FillBiomeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
      intermediary method_47529 Lnet/minecraft/class_7926;method_47529(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      official a Lani;a(Lcom/mojang/brigadier/CommandDispatcher;Lel;)V
    • convertCoordinate

      private static int convertCoordinate(int coordinate)
      Mappings:
      Namespace Name Mixin selector
      named convertCoordinate Lnet/minecraft/server/command/FillBiomeCommand;convertCoordinate(I)I
      intermediary method_47528 Lnet/minecraft/class_7926;method_47528(I)I
      official a Lani;a(I)I
    • convertPos

      private static BlockPos convertPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named convertPos Lnet/minecraft/server/command/FillBiomeCommand;convertPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_47535 Lnet/minecraft/class_7926;method_47535(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      official a Lani;a(Liz;)Liz;
    • createBiomeSupplier

      private static BiomeSupplier createBiomeSupplier(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter)
      Mappings:
      Namespace Name Mixin selector
      named createBiomeSupplier Lnet/minecraft/server/command/FillBiomeCommand;createBiomeSupplier(Lorg/apache/commons/lang3/mutable/MutableInt;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/function/Predicate;)Lnet/minecraft/world/biome/source/BiomeSupplier;
      intermediary method_47531 Lnet/minecraft/class_7926;method_47531(Lorg/apache/commons/lang3/mutable/MutableInt;Lnet/minecraft/class_2791;Lnet/minecraft/class_3341;Lnet/minecraft/class_6880;Ljava/util/function/Predicate;)Lnet/minecraft/class_6780;
      official a Lani;a(Lorg/apache/commons/lang3/mutable/MutableInt;Ldtz;Leid;Lji;Ljava/util/function/Predicate;)Lddb;
    • fillBiome

      public static com.mojang.datafixers.util.Either<Integer,com.mojang.brigadier.exceptions.CommandSyntaxException> fillBiome(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      named fillBiome Lnet/minecraft/server/command/FillBiomeCommand;fillBiome(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)Lcom/mojang/datafixers/util/Either;
      intermediary method_55339 Lnet/minecraft/class_7926;method_55339(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Lcom/mojang/datafixers/util/Either;
      official a Lani;a(Larf;Liz;Liz;Lji;)Lcom/mojang/datafixers/util/Either;
    • fillBiome

      public static com.mojang.datafixers.util.Either<Integer,com.mojang.brigadier.exceptions.CommandSyntaxException> fillBiome(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer)
      Mappings:
      Namespace Name Mixin selector
      named fillBiome Lnet/minecraft/server/command/FillBiomeCommand;fillBiome(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)Lcom/mojang/datafixers/util/Either;
      intermediary method_55340 Lnet/minecraft/class_7926;method_55340(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)Lcom/mojang/datafixers/util/Either;
      official a Lani;a(Larf;Liz;Liz;Lji;Ljava/util/function/Predicate;Ljava/util/function/Consumer;)Lcom/mojang/datafixers/util/Either;
    • execute

      private static int execute(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/server/command/FillBiomeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Ljava/util/function/Predicate;)I
      intermediary method_47533 Lnet/minecraft/class_7926;method_47533(Lnet/minecraft/class_2168;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880$class_6883;Ljava/util/function/Predicate;)I
      official a Lani;a(Lep;Liz;Liz;Lji$c;Ljava/util/function/Predicate;)I