Package net.minecraft.entity
Class MobSpawnerHelper
java.lang.Object
net.minecraft.entity.MobSpawnerHelper
- Mappings:
Namespace Name official ajzintermediary net/minecraft/class_1162named net/minecraft/entity/MobSpawnerHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockPosfindSpawnLocation(World world, int chunkX, int chunkZ) static booleanisSpawnable(MobEntity.Location location, World world, BlockPos pos) static booleanmethod_11496(BlockState blockState) static voidmethod_3800(World world, Biome biome, int int2, int int3, int int4, int int5, Random random) inttickSpawners(ServerWorld world, boolean spawnAnimals, boolean spawnMonsters, boolean bool)
-
Field Details
-
field_9221
private static final int field_9221- Mappings:
Namespace Name Mixin selector official aLajz;a:Iintermediary field_9221Lnet/minecraft/class_1162;field_9221:Inamed field_9221Lnet/minecraft/entity/MobSpawnerHelper;field_9221:I
-
field_9222
- Mappings:
Namespace Name Mixin selector official bLajz;b:Ljava/util/Set;intermediary field_9222Lnet/minecraft/class_1162;field_9222:Ljava/util/Set;named field_9222Lnet/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 aLajz;a(Llw;ZZZ)Iintermediary method_3796Lnet/minecraft/class_1162;method_3796(Lnet/minecraft/class_795;ZZZ)Inamed tickSpawnersLnet/minecraft/entity/MobSpawnerHelper;tickSpawners(Lnet/minecraft/server/world/ServerWorld;ZZZ)I
-
findSpawnLocation
- Mappings:
Namespace Name Mixin selector official aLajz;a(Lajs;II)Lco;intermediary method_3799Lnet/minecraft/class_1162;method_3799(Lnet/minecraft/class_1150;II)Lnet/minecraft/class_2552;named findSpawnLocationLnet/minecraft/entity/MobSpawnerHelper;findSpawnLocation(Lnet/minecraft/world/World;II)Lnet/minecraft/util/math/BlockPos;
-
method_11496
- Mappings:
Namespace Name Mixin selector official aLajz;a(Latl;)Zintermediary method_11496Lnet/minecraft/class_1162;method_11496(Lnet/minecraft/class_2232;)Znamed method_11496Lnet/minecraft/entity/MobSpawnerHelper;method_11496(Lnet/minecraft/block/BlockState;)Z
-
isSpawnable
- Mappings:
Namespace Name Mixin selector official aLajz;a(Lsx$a;Lajs;Lco;)Zintermediary method_8582Lnet/minecraft/class_1162;method_8582(Lnet/minecraft/class_871$class_2612;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed isSpawnableLnet/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 aLajz;a(Lajs;Lakf;IIIILjava/util/Random;)Vintermediary method_3800Lnet/minecraft/class_1162;method_3800(Lnet/minecraft/class_1150;Lnet/minecraft/class_1170;IIIILjava/util/Random;)Vnamed method_3800Lnet/minecraft/entity/MobSpawnerHelper;method_3800(Lnet/minecraft/world/World;Lnet/minecraft/world/biome/Biome;IIIILjava/util/Random;)V
-