net.minecraft.world.level

public abstract class BaseSpawner

bzx
net.minecraft.world.level.BaseSpawner
net.minecraft.class_1917
net.minecraft.world.MobSpawnerLogic
net.minecraft.src.C_1554_
net.minecraft.world.level.MobSpawnerAbstract

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_9156
LOGGER
f_45441_
private static final int
b
EVENT_SPAWN
field_30951
field_30951
f_151303_
private int
c
spawnDelay
field_9154
spawnDelay
f_45442_
private SimpleWeightedRandomList<SpawnData>
d
spawnPotentials
field_9152
spawnPotentials
f_45443_
private SpawnData
e
nextSpawnData
field_9155
spawnEntry
f_45444_
private double
f
spin
field_9161
field_9161
f_45445_
private double
g
oSpin
field_9159
field_9159
f_45446_
private int
h
minSpawnDelay
field_9151
minSpawnDelay
f_45447_
private int
i
maxSpawnDelay
field_9150
maxSpawnDelay
f_45448_
private int
j
spawnCount
field_9149
spawnCount
f_45449_
private Entity
k
displayEntity
field_9153
renderedEntity
f_45450_
private int
l
maxNearbyEntities
field_9160
maxNearbyEntities
f_45451_
private int
m
requiredPlayerRange
field_9158
requiredPlayerRange
f_45452_
private int
n
spawnRange
field_9157
spawnRange
f_45453_
private final Random
o
random
field_27080
random
f_151305_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(axo<?> arg0)
setEntityId(EntityType<?> arg0)
method_8274(class_1299<?> arg0)
setEntityId(EntityType<?> type)
m_45462_(C_513_<?> arg0)
private boolean
b(cav arg0, gj arg1)
isNearPlayer(Level arg0, BlockPos arg1)
method_8284(class_1937 arg0, class_2338 arg1)
isPlayerInRange(World world, BlockPos pos)
m_151343_(C_1596_ p_151345_, C_4675_ arg1)
public void
a(cav arg0, gj arg1)
clientTick(Level arg0, BlockPos arg1)
method_31589(class_1937 arg0, class_2338 arg1)
clientTick(World world, BlockPos pos)
m_151319_(C_1596_ p_151321_, C_4675_ arg1)
public void
a(adw arg0, gj arg1)
serverTick(ServerLevel arg0, BlockPos arg1)
method_31588(class_3218 arg0, class_2338 arg1)
serverTick(ServerWorld world, BlockPos pos)
m_151311_(C_12_ p_151313_, C_4675_ arg1)
private void
c(cav arg0, gj arg1)
delay(Level arg0, BlockPos arg1)
method_8282(class_1937 arg0, class_2338 arg1)
updateSpawns(World world, BlockPos pos)
m_151350_(C_1596_ p_151352_, C_4675_ arg1)
public void
a(cav arg0, gj arg1, ok arg2)
load(Level arg0, BlockPos arg1, CompoundTag arg2)
method_8280(class_1937 arg0, class_2338 arg1, class_2487 arg2)
readNbt(World world, BlockPos pos, NbtCompound nbt)
m_151328_(C_1596_ p_151330_, C_4675_ p_151331_, C_4917_ arg2)
public CompoundTag
a(ok arg0)
save(CompoundTag arg0)
method_8272(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_186381_(C_4917_ arg0)
public Entity
a(cav arg0)
getOrCreateDisplayEntity(Level arg0)
method_8283(class_1937 arg0)
getRenderedEntity(World world)
m_151314_(C_1596_ arg0)
public boolean
a(cav arg0, int arg1)
onEventTriggered(Level arg0, int arg1)
method_8275(class_1937 arg0, int arg1)
method_8275(World arg0, int arg1)
m_151316_(C_1596_ p_151318_, int arg1)
public void
a(cav arg0, gj arg1, cbl arg2)
setNextSpawnData(Level arg0, BlockPos arg1, SpawnData arg2)
method_8277(class_1937 arg0, class_2338 arg1, class_1952 arg2)
setSpawnEntry(World world, BlockPos pos, MobSpawnerEntry spawnEntry)
m_142667_(C_1596_ p_151326_, C_4675_ p_151327_, C_1620_ arg2)
public abstract void
a(cav arg0, gj arg1, int arg2)
broadcastEvent(Level arg0, BlockPos arg1, int arg2)
method_8273(class_1937 arg0, class_2338 arg1, int arg2)
sendStatus(World world, BlockPos pos, int arg2)
m_142523_(C_1596_ p_151323_, C_4675_ p_151324_, int arg2)
public double
a()
getSpin()
method_8278()
method_8278()
m_45473_()
public double
b()
getoSpin()
method_8279()
method_8279()
m_45474_()