Class MobSpawnerHelper

java.lang.Object
net.minecraft.entity.MobSpawnerHelper

public final class MobSpawnerHelper extends Object
Mappings:
Namespace Name
official ayj
intermediary net/minecraft/class_1162
named net/minecraft/entity/MobSpawnerHelper
  • Field Details

    • field_17508

      private static final Logger field_17508
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_17508 Lnet/minecraft/class_1162;field_17508:Lorg/apache/logging/log4j/Logger;
      named field_17508 Lnet/minecraft/entity/MobSpawnerHelper;field_17508:Lorg/apache/logging/log4j/Logger;
    • field_9221

      private static final int field_9221
      Mappings:
      Namespace Name Mixin selector
      official b Layj;b:I
      intermediary field_9221 Lnet/minecraft/class_1162;field_9221:I
      named field_9221 Lnet/minecraft/entity/MobSpawnerHelper;field_9221:I
    • field_9222

      private final Set<ChunkPos> field_9222
      Mappings:
      Namespace Name Mixin selector
      official c Layj;c:Ljava/util/Set;
      intermediary field_9222 Lnet/minecraft/class_1162;field_9222:Ljava/util/Set;
      named field_9222 Lnet/minecraft/entity/MobSpawnerHelper;field_9222:Ljava/util/Set;
  • Constructor Details

    • MobSpawnerHelper

      public MobSpawnerHelper()
  • Method Details

    • tickSpawners

      public int tickSpawners(ServerWorld world, boolean spawnAnimals, boolean spawnMonsters, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Ltd;ZZZ)I
      intermediary method_3796 Lnet/minecraft/class_1162;method_3796(Lnet/minecraft/class_795;ZZZ)I
      named tickSpawners Lnet/minecraft/entity/MobSpawnerHelper;tickSpawners(Lnet/minecraft/server/world/ServerWorld;ZZZ)I
    • findSpawnLocation

      private static BlockPos findSpawnLocation(World world, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Laxy;II)Lel;
      intermediary method_3799 Lnet/minecraft/class_1162;method_3799(Lnet/minecraft/class_1150;II)Lnet/minecraft/class_2552;
      named findSpawnLocation Lnet/minecraft/entity/MobSpawnerHelper;findSpawnLocation(Lnet/minecraft/world/World;II)Lnet/minecraft/util/math/BlockPos;
    • method_16407

      public static boolean method_16407(BlockState blockState, FluidState fluidState)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Lblc;Lbyw;)Z
      intermediary method_16407 Lnet/minecraft/class_1162;method_16407(Lnet/minecraft/class_2232;Lnet/minecraft/class_4024;)Z
      named method_16407 Lnet/minecraft/entity/MobSpawnerHelper;method_16407(Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z
    • method_16404

      public static boolean method_16404(EntityLocations.class_3464 class_3464, RenderBlockView renderBlockView, BlockPos blockPos, @Nullable EntityType<? extends MobEntity> entityType)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Lafk$b;Layc;Lel;Laev;)Z
      intermediary method_16404 Lnet/minecraft/class_1162;method_16404(Lnet/minecraft/class_2613$class_3464;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;Lnet/minecraft/class_3460;)Z
      named method_16404 Lnet/minecraft/entity/MobSpawnerHelper;method_16404(Lnet/minecraft/entity/EntityLocations$class_3464;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;)Z
    • method_16406

      public static void method_16406(IWorld iWorld, Biome biome, int int2, int int3, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Laxz;Layu;IILjava/util/Random;)V
      intermediary method_16406 Lnet/minecraft/class_1162;method_16406(Lnet/minecraft/class_3598;Lnet/minecraft/class_1170;IILjava/util/Random;)V
      named method_16406 Lnet/minecraft/entity/MobSpawnerHelper;method_16406(Lnet/minecraft/world/IWorld;Lnet/minecraft/world/biome/Biome;IILjava/util/Random;)V
    • method_16405

      private static BlockPos method_16405(IWorld iWorld, @Nullable EntityType<? extends MobEntity> entityType, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Layj;a(Laxz;Laev;II)Lel;
      intermediary method_16405 Lnet/minecraft/class_1162;method_16405(Lnet/minecraft/class_3598;Lnet/minecraft/class_3460;II)Lnet/minecraft/class_2552;
      named method_16405 Lnet/minecraft/entity/MobSpawnerHelper;method_16405(Lnet/minecraft/world/IWorld;Lnet/minecraft/entity/EntityType;II)Lnet/minecraft/util/math/BlockPos;