net.minecraft.world.level

public abstract class BaseSpawner

dby
net.minecraft.world.level.BaseSpawner
net.minecraft.class_1917
net.minecraft.block.spawner.MobSpawnerLogic
net.minecraft.src.C_1554_
net.minecraft.world.level.MobSpawnerAbstract

Field summary

Modifier and TypeField
public static final String
b
SPAWN_DATA_TAG
field_40877
SPAWN_DATA_KEY
f_254624_
private static final org.slf4j.Logger
a
LOGGER
field_9156
LOGGER
f_45441_
private static final int
c
EVENT_SPAWN
field_30951
field_30951
f_151303_
private int
d
spawnDelay
field_9154
spawnDelay
f_45442_
private SimpleWeightedRandomList<SpawnData>
e
spawnPotentials
field_9152
spawnPotentials
f_45443_
private SpawnData
f
nextSpawnData
field_9155
spawnEntry
f_45444_
private double
g
spin
field_9161
rotation
f_45445_
private double
h
oSpin
field_9159
lastRotation
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_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(bsx<?> arg0, dcw arg1, ayw arg2, jd arg3)
setEntityId(EntityType<?> arg0, Level arg1, RandomSource arg2, BlockPos arg3)
method_8274(class_1299<?> arg0, class_1937 arg1, class_5819 arg2, class_2338 arg3)
setEntityId(EntityType<?> type, World world, Random random, BlockPos pos)
m_253197_(C_513_<?> p_254041_, C_1596_ p_254221_, C_212974_ p_254050_, C_4675_ arg3)
private boolean
c(dcw arg0, jd 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(dcw arg0, jd 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(aqu arg0, jd 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(dcw arg0, jd 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(dcw arg0, jd arg1, ub 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(ub arg0)
save(CompoundTag arg0)
method_8272(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_186381_(C_4917_ arg0)
public Entity
b(dcw arg0, jd arg1)
getOrCreateDisplayEntity(Level arg0, BlockPos arg1)
method_8283(class_1937 arg0, class_2338 arg1)
getRenderedEntity(World world, BlockPos pos)
m_253067_(C_1596_ p_254313_, C_4675_ arg1)
public boolean
a(dcw arg0, int arg1)
onEventTriggered(Level arg0, int arg1)
method_8275(class_1937 arg0, int arg1)
handleStatus(World world, int status)
m_151316_(C_1596_ p_151318_, int arg1)
protected void
a(dcw arg0, jd arg1, ddo 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)
private SpawnData
a(dcw arg0, ayw arg1, jd arg2)
getOrCreateNextSpawnData(Level arg0, RandomSource arg1, BlockPos arg2)
method_46404(class_1937 arg0, class_5819 arg1, class_2338 arg2)
getSpawnEntry(World world, Random random, BlockPos pos)
m_253144_(C_1596_ p_253892_, C_212974_ p_254487_, C_4675_ arg2)
public abstract void
a(dcw arg0, jd 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 status)
m_142523_(C_1596_ p_151323_, C_4675_ p_151324_, int arg2)
public double
a()
getSpin()
method_8278()
getRotation()
m_45473_()
public double
b()
getoSpin()
method_8279()
getLastRotation()
m_45474_()