net.minecraft.world.level

public class LocalMobCapCalculator

cbf
net.minecraft.world.level.LocalMobCapCalculator
net.minecraft.class_6540
net.minecraft.unmapped.C_glzmmzpj
net.minecraft.world.SpawnDensityCapper
net.minecraft.world.SpawnDensityCapper
net.minecraft.src.C_182852_
net.minecraft.world.level.LocalMobCapCalculator

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<List<ServerPlayer>>
a
playersNearChunk
field_34455
f_bopfoceh
chunkPosToMobSpawnablePlayers
mobSpawnablePlayersByChunkPos
f_186497_
private final Map<ServerPlayer, LocalMobCapCalculator$MobCounts>
b
playerMobCounts
field_34456
f_harjimmi
playersToDensityCap
densityCapByPlayers
f_186498_
private final ChunkMap
c
chunkMap
field_34457
f_iikfcsfk
threadedAnvilChunkStorage
threadedAnvilChunkStorage
f_186499_

Constructor summary

ModifierConstructor
public (ChunkMap threadedAnvilChunkStorage)

Method summary

Modifier and TypeMethod
private List<ServerPlayer>
a(cac arg0)
getPlayersNear(ChunkPos arg0)
method_38085(class_1923 arg0)
m_kbmmkboy(C_ynrszrtu arg0)
getMobSpawnablePlayers(ChunkPos chunkPos)
getMobSpawnablePlayers(ChunkPos chunkPos)
m_186507_(C_1560_ arg0)
public void
a(cac arg0, ayb arg1)
addMob(ChunkPos arg0, MobCategory arg1)
method_38087(class_1923 arg0, class_1311 arg1)
m_dxucxtff(C_ynrszrtu arg0, C_ormqdxci arg1)
increaseDensity(ChunkPos chunkPos, SpawnGroup spawnGroup)
increaseDensity(ChunkPos chunkPos, SpawnGroup spawnGroup)
m_186512_(C_1560_ p_186514_, C_528_ arg1)
public boolean
a(ayb arg0, cac arg1)
canSpawn(MobCategory arg0, ChunkPos arg1)
method_38084(class_1311 arg0, class_1923 arg1)
m_ensomcfg(C_ormqdxci arg0, C_ynrszrtu arg1)
canSpawn(SpawnGroup spawnGroup, ChunkPos chunkPos)
canSpawn(SpawnGroup spawnGroup, ChunkPos chunkPos)
m_186504_(C_528_ p_186506_, C_1560_ arg1)