net.minecraft.world.level

public class NaturalSpawner$SpawnState

bsd$d
net.minecraft.world.level.NaturalSpawner$SpawnState
net.minecraft.class_1948$class_5262
net.minecraft.world.SpawnHelper$Info
net.minecraft.world.spawner.WorldEntitySpawner$EntityDensityManager
net.minecraft.server.v1_16_R2.SpawnerCreature$d

Field summary

Modifier and TypeField
private final int
a
spawnableChunkCount
field_24394
spawningChunkCount
field_234981_a_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<MobCategory>
b
mobCategoryCounts
field_24395
groupToCount
field_234982_b_
private final PotentialCalculator
c
spawnPotential
field_24396
densityField
field_234983_c_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<MobCategory>
d
unmodifiableMobCategoryCounts
field_24397
groupToCountView
field_234984_d_
private BlockPos
e
lastCheckedPos
field_24398
cachedPos
field_234985_e_
private EntityType<?>
f
lastCheckedType
field_24399
cachedEntityType
field_234986_f_
private double
g
lastCharge
field_24400
cachedDensityMass
field_234987_g_

Constructor summary

ModifierConstructor
private (int spawningChunkCount, it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<MobCategory> groupToCount, PotentialCalculator densityField)

Method summary

Modifier and TypeMethod
private boolean
a(aqb<?> arg0, fx arg1, cft arg2)
canSpawn(EntityType<?> arg0, BlockPos arg1, ChunkAccess arg2)
method_27824(class_1299<?> arg0, class_2338 arg1, class_2791 arg2)
test(EntityType<?> type, BlockPos pos, Chunk chunk)
func_234989_a_(EntityType<?> arg0, BlockPos arg1, IChunk arg2)
private void
a(aqk arg0, cft arg1)
afterSpawn(Mob arg0, ChunkAccess arg1)
method_27825(class_1308 arg0, class_2791 arg1)
run(MobEntity entity, Chunk chunk)
func_234990_a_(MobEntity arg0, IChunk arg1)
public it.unimi.dsi.fastutil.objects.Object2IntMap<MobCategory>
b()
getMobCategoryCounts()
method_27830()
getGroupToCount()
func_234995_b_()
private boolean
a(aql arg0)
canSpawnForCategory(MobCategory arg0)
method_27826(class_1311 arg0)
isBelowCap(SpawnGroup group)
func_234991_a_(EntityClassification arg0)
public int
a()
getSpawnableChunkCount()
method_27823()
getSpawningChunkCount()
func_234988_a_()