net.minecraft.world.level

public class NaturalSpawner$SpawnState

cgl$d
net.minecraft.world.level.NaturalSpawner$SpawnState
net.minecraft.class_1948$class_5262
net.minecraft.world.SpawnHelper$Info
net.minecraft.src.C_1613_
net.minecraft.world.level.SpawnerCreature$d

Field summary

Modifier and TypeField
private final int
a
spawnableChunkCount
field_24394
spawningChunkCount
f_47110_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<MobCategory>
b
mobCategoryCounts
field_24395
groupToCount
f_47111_
private final PotentialCalculator
c
spawnPotential
field_24396
densityField
f_47112_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<MobCategory>
d
unmodifiableMobCategoryCounts
field_24397
groupToCountView
f_47113_
private final LocalMobCapCalculator
e
localMobCapCalculator
field_34459
densityCapper
f_186542_
private BlockPos
f
lastCheckedPos
field_24398
cachedPos
f_47114_
private EntityType<?>
g
lastCheckedType
field_24399
cachedEntityType
f_47115_
private double
h
lastCharge
field_24400
cachedDensityMass
f_47116_

Constructor summary

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

Method summary

Modifier and TypeMethod
private boolean
a(bau<?> arg0, gt arg1, cwm 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)
m_47127_(C_513_<?> p_47129_, C_4675_ p_47130_, C_2116_ arg2)
private void
a(bbh arg0, cwm arg1)
afterSpawn(Mob arg0, ChunkAccess arg1)
method_27825(class_1308 arg0, class_2791 arg1)
run(MobEntity entity, Chunk chunk)
m_47131_(C_526_ p_47133_, C_2116_ arg1)
public int
a()
getSpawnableChunkCount()
method_27823()
getSpawningChunkCount()
m_47126_()
public it.unimi.dsi.fastutil.objects.Object2IntMap<MobCategory>
b()
getMobCategoryCounts()
method_27830()
getGroupToCount()
m_47148_()
boolean
a(bbi arg0, cfh arg1)
canSpawnForCategory(MobCategory arg0, ChunkPos arg1)
method_27826(class_1311 arg0, class_1923 arg1)
isBelowCap(SpawnGroup group, ChunkPos chunkPos)
m_186548_(C_528_ p_186550_, C_1560_ arg1)