Class FillBiomeCommand

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

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

    • UNLOADED_EXCEPTION

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

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Laji;b:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_41281 Lnet/minecraft/class_7926;field_41281:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named TOO_BIG_EXCEPTION Lnet/minecraft/server/command/FillBiomeCommand;TOO_BIG_EXCEPTION: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
      official a Laji;a(Lcom/mojang/brigadier/CommandDispatcher;Ldn;)V
      intermediary method_47529 Lnet/minecraft/class_7926;method_47529(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      named register Lnet/minecraft/server/command/FillBiomeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
    • convertCoordinate

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

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

      private static BiomeSupplier createBiomeSupplier(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter)
      Mappings:
      Namespace Name Mixin selector
      official a Laji;a(Lorg/apache/commons/lang3/mutable/MutableInt;Ldld;Ldyy;Lih;Ljava/util/function/Predicate;)Lcur;
      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;
      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;
    • 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
      official a Laji;a(Land;Lhx;Lhx;Lih;)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;
      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;
    • 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
      official a Laji;a(Land;Lhx;Lhx;Lih;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;
      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;
    • 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
      official a Laji;a(Lds;Lhx;Lhx;Lih$c;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
      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