net.minecraft.world.level

public abstract class BaseSpawner

clk
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
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
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_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(bfl<?> arg0, cmi arg1, apo arg2, gt 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
b(cmi arg0, gt 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(cmi arg0, gt 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(aip arg0, gt 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(cmi arg0, gt 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(cmi arg0, gt arg1, re 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(re arg0)
save(CompoundTag arg0)
method_8272(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_186381_(C_4917_ arg0)
public Entity
a(cmi arg0, apo arg1, gt arg2)
getOrCreateDisplayEntity(Level arg0, RandomSource arg1, BlockPos arg2)
method_8283(class_1937 arg0, class_5819 arg1, class_2338 arg2)
getRenderedEntity(World world, Random random, BlockPos pos)
m_253067_(C_1596_ p_254353_, C_212974_ p_254313_, C_4675_ arg2)
public boolean
a(cmi 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(cmi arg0, gt arg1, cmy 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
b(cmi arg0, apo arg1, gt 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(cmi arg0, gt 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()
method_8278()
m_45473_()
public double
b()
getoSpin()
method_8279()
method_8279()
m_45474_()