Class MobSpawnerHelper

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

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

    • field_9221

      private static final int field_9221
      Mappings:
      Namespace Name Mixin selector
      official a Lajz;a: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 b Lajz;b: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 Lajz;a(Llw;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 Lajz;a(Lajs;II)Lco;
      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_11496

      public static boolean method_11496(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lajz;a(Latl;)Z
      intermediary method_11496 Lnet/minecraft/class_1162;method_11496(Lnet/minecraft/class_2232;)Z
      named method_11496 Lnet/minecraft/entity/MobSpawnerHelper;method_11496(Lnet/minecraft/block/BlockState;)Z
    • isSpawnable

      public static boolean isSpawnable(MobEntity.Location location, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lajz;a(Lsx$a;Lajs;Lco;)Z
      intermediary method_8582 Lnet/minecraft/class_1162;method_8582(Lnet/minecraft/class_871$class_2612;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named isSpawnable Lnet/minecraft/entity/MobSpawnerHelper;isSpawnable(Lnet/minecraft/entity/mob/MobEntity$Location;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • method_3800

      public static void method_3800(World world, Biome biome, int int2, int int3, int int4, int int5, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lajz;a(Lajs;Lakf;IIIILjava/util/Random;)V
      intermediary method_3800 Lnet/minecraft/class_1162;method_3800(Lnet/minecraft/class_1150;Lnet/minecraft/class_1170;IIIILjava/util/Random;)V
      named method_3800 Lnet/minecraft/entity/MobSpawnerHelper;method_3800(Lnet/minecraft/world/World;Lnet/minecraft/world/biome/Biome;IIIILjava/util/Random;)V