Package net.minecraft.entity
Class MobSpawnerHelper
java.lang.Object
net.minecraft.entity.MobSpawnerHelper
- Mappings:
Namespace Name official ayjintermediary net/minecraft/class_1162named net/minecraft/entity/MobSpawnerHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockPosfindSpawnLocation(World world, int chunkX, int chunkZ) static booleanmethod_16404(EntityLocations.class_3464 class_3464, RenderBlockView renderBlockView, BlockPos blockPos, EntityType<? extends MobEntity> entityType) private static BlockPosmethod_16405(IWorld iWorld, EntityType<? extends MobEntity> entityType, int int2, int int3) static voidmethod_16406(IWorld iWorld, Biome biome, int int2, int int3, Random random) static booleanmethod_16407(BlockState blockState, FluidState fluidState) inttickSpawners(ServerWorld world, boolean spawnAnimals, boolean spawnMonsters, boolean bool)
-
Field Details
-
field_17508
- Mappings:
Namespace Name Mixin selector official aLayj;a:Lorg/apache/logging/log4j/Logger;intermediary field_17508Lnet/minecraft/class_1162;field_17508:Lorg/apache/logging/log4j/Logger;named field_17508Lnet/minecraft/entity/MobSpawnerHelper;field_17508:Lorg/apache/logging/log4j/Logger;
-
field_9221
private static final int field_9221- Mappings:
Namespace Name Mixin selector official bLayj;b: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 cLayj;c: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 aLayj;a(Ltd;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 aLayj;a(Laxy;II)Lel;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_16407
- Mappings:
Namespace Name Mixin selector official aLayj;a(Lblc;Lbyw;)Zintermediary method_16407Lnet/minecraft/class_1162;method_16407(Lnet/minecraft/class_2232;Lnet/minecraft/class_4024;)Znamed method_16407Lnet/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 aLayj;a(Lafk$b;Layc;Lel;Laev;)Zintermediary method_16404Lnet/minecraft/class_1162;method_16404(Lnet/minecraft/class_2613$class_3464;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;Lnet/minecraft/class_3460;)Znamed method_16404Lnet/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
- Mappings:
Namespace Name Mixin selector official aLayj;a(Laxz;Layu;IILjava/util/Random;)Vintermediary method_16406Lnet/minecraft/class_1162;method_16406(Lnet/minecraft/class_3598;Lnet/minecraft/class_1170;IILjava/util/Random;)Vnamed method_16406Lnet/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 aLayj;a(Laxz;Laev;II)Lel;intermediary method_16405Lnet/minecraft/class_1162;method_16405(Lnet/minecraft/class_3598;Lnet/minecraft/class_3460;II)Lnet/minecraft/class_2552;named method_16405Lnet/minecraft/entity/MobSpawnerHelper;method_16405(Lnet/minecraft/world/IWorld;Lnet/minecraft/entity/EntityType;II)Lnet/minecraft/util/math/BlockPos;
-