net.minecraft.world.level

public class NaturalSpawner$SpawnState

dht$d
net.minecraft.world.level.NaturalSpawner$SpawnState
net.minecraft.class_1948$class_5262
net.minecraft.world.SpawnHelper$Info
net.minecraft.world.level.SpawnerCreature$d

Field summary

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

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(bvr<?> arg0, jh arg1, dzq 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)
private void
a(bwi arg0, dzq arg1)
afterSpawn(Mob arg0, ChunkAccess arg1)
method_27825(class_1308 arg0, class_2791 arg1)
run(MobEntity entity, Chunk chunk)
public int
a()
getSpawnableChunkCount()
method_27823()
getSpawningChunkCount()
public it.unimi.dsi.fastutil.objects.Object2IntMap<MobCategory>
b()
getMobCategoryCounts()
method_27830()
getGroupToCount()
boolean
a(bwj arg0)
canSpawnForCategoryGlobal(MobCategory arg0)
method_27826(class_1311 arg0)
isBelowCap(SpawnGroup group)
boolean
a(bwj arg0, dgo arg1)
canSpawnForCategoryLocal(MobCategory arg0, ChunkPos arg1)
method_61730(class_1311 arg0, class_1923 arg1)
canSpawn(SpawnGroup group, ChunkPos chunkPos)