net.minecraft.world.level

public abstract class BaseSpawner

bvq
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.apache.logging.log4j.Logger
a
LOGGER
field_9156
LOGGER
f_45441_
private static final int
b
EVENT_SPAWN
field_30951
field_30951
f_151303_
private static WeightedRandomList<SpawnData>
c
EMPTY_POTENTIALS
field_30952
field_30952
f_151304_
private int
d
spawnDelay
field_9154
spawnDelay
f_45442_
private WeightedRandomList<SpawnData>
e
spawnPotentials
field_9152
spawnPotentials
f_45443_
private SpawnData
f
nextSpawnData
field_9155
spawnEntry
f_45444_
private double
g
spin
field_9161
field_9161
f_45445_
private double
h
oSpin
field_9159
field_9159
f_45446_
private int
i
minSpawnDelay
field_9151
minSpawnDelay
f_45447_
private int
j
maxSpawnDelay
field_9150
maxSpawnDelay
f_45448_
private int
k
spawnCount
field_9149
spawnCount
f_45449_
private Entity
l
displayEntity
field_9153
renderedEntity
f_45450_
private int
m
maxNearbyEntities
field_9160
maxNearbyEntities
f_45451_
private int
n
requiredPlayerRange
field_9158
requiredPlayerRange
f_45452_
private int
o
spawnRange
field_9157
spawnRange
f_45453_
private final Random
p
random
field_27080
random
f_151305_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private ResourceLocation
b(bwp arg0, gg arg1)
getEntityId(Level arg0, BlockPos arg1)
method_8281(class_1937 arg0, class_2338 arg1)
getEntityId(World world, BlockPos pos)
m_151332_(C_1596_ p_151334_, C_4675_ arg1)
getMobName(World arg0, BlockPosition arg1)
public void
a(atj<?> arg0)
setEntityId(EntityType<?> arg0)
method_8274(class_1299<?> arg0)
setEntityId(EntityType<?> type)
m_45462_(C_513_<?> arg0)
setMobName(EntityTypes<?> arg0)
private boolean
c(bwp arg0, gg 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(bwp arg0, gg 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(abr arg0, gg 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
d(bwp arg0, gg 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(bwp arg0, gg arg1, na 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
b(bwp arg0, gg arg1, na arg2)
save(Level arg0, BlockPos arg1, CompoundTag arg2)
method_8272(class_1937 arg0, class_2338 arg1, class_2487 arg2)
writeNbt(World world, BlockPos pos, NbtCompound nbt)
m_151339_(C_1596_ p_151341_, C_4675_ p_151342_, C_4917_ arg2)
public Entity
a(bwp arg0)
getOrCreateDisplayEntity(Level arg0)
method_8283(class_1937 arg0)
getRenderedEntity(World world)
m_151314_(C_1596_ arg0)
public boolean
a(bwp 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(bwp arg0, gg arg1, bxf 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)
setSpawnData(World arg0, BlockPosition arg1, MobSpawnerData arg2)
public abstract void
a(bwp arg0, gg 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_()