net.minecraft.world.level

public abstract class BaseSpawner

dlu
net.minecraft.world.level.BaseSpawner
net.minecraft.class_1917
net.minecraft.block.spawner.MobSpawnerLogic

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_60369
LOGGER
public static final String
b
SPAWN_DATA_TAG
field_40877
SPAWN_DATA_KEY
private static final int
c
EVENT_SPAWN
field_30951
field_30951
private static final int
d
DEFAULT_SPAWN_DELAY
field_57757
field_57757
private static final int
e
DEFAULT_MIN_SPAWN_DELAY
field_57758
DEFAULT_MIN_SPAWN_DELAY
private static final int
f
DEFAULT_MAX_SPAWN_DELAY
field_57759
DEFAULT_MAX_SPAWN_DELAY
private static final int
g
DEFAULT_SPAWN_COUNT
field_57760
DEFAULT_SPAWN_COUNT
private static final int
h
DEFAULT_MAX_NEARBY_ENTITIES
field_57761
DEFAULT_MAX_NEARBY_ENTITIES
private static final int
i
DEFAULT_REQUIRED_PLAYER_RANGE
field_57762
DEFAULT_REQUIRED_PLAYER_RANGE
private static final int
j
DEFAULT_SPAWN_RANGE
field_57763
DEFAULT_SPAWN_RANGE
private int
k
spawnDelay
field_9154
spawnDelay
private WeightedList<SpawnData>
l
spawnPotentials
field_9152
spawnPotentials
private SpawnData
m
nextSpawnData
field_9155
spawnEntry
private double
n
spin
field_9161
rotation
private double
o
oSpin
field_9159
lastRotation
private int
p
minSpawnDelay
field_9151
minSpawnDelay
private int
q
maxSpawnDelay
field_9150
maxSpawnDelay
private int
r
spawnCount
field_9149
spawnCount
private Entity
s
displayEntity
field_9153
renderedEntity
private int
t
maxNearbyEntities
field_9160
maxNearbyEntities
private int
u
requiredPlayerRange
field_9158
requiredPlayerRange
private int
v
spawnRange
field_9157
spawnRange

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(bzv<?> arg0, dmu arg1, bck arg2, jb 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)
private boolean
c(dmu arg0, jb arg1)
isNearPlayer(Level arg0, BlockPos arg1)
method_8284(class_1937 arg0, class_2338 arg1)
isPlayerInRange(World world, BlockPos pos)
public void
a(dmu arg0, jb arg1)
clientTick(Level arg0, BlockPos arg1)
method_31589(class_1937 arg0, class_2338 arg1)
clientTick(World world, BlockPos pos)
public void
a(aub arg0, jb arg1)
serverTick(ServerLevel arg0, BlockPos arg1)
method_31588(class_3218 arg0, class_2338 arg1)
serverTick(ServerWorld world, BlockPos pos)
private void
d(dmu arg0, jb arg1)
delay(Level arg0, BlockPos arg1)
method_8282(class_1937 arg0, class_2338 arg1)
updateSpawns(World world, BlockPos pos)
public void
a(dmu arg0, jb arg1, fda arg2)
load(Level arg0, BlockPos arg1, ValueInput arg2)
method_8280(class_1937 arg0, class_2338 arg1, class_11368 arg2)
readData(World world, BlockPos pos, ReadView view)
public void
a(fdc arg0)
save(ValueOutput arg0)
method_8272(class_11372 arg0)
writeData(WriteView view)
public Entity
b(dmu arg0, jb arg1)
getOrCreateDisplayEntity(Level arg0, BlockPos arg1)
method_8283(class_1937 arg0, class_2338 arg1)
getRenderedEntity(World world, BlockPos pos)
public boolean
a(dmu arg0, int arg1)
onEventTriggered(Level arg0, int arg1)
method_8275(class_1937 arg0, int arg1)
handleStatus(World world, int status)
protected void
a(dmu arg0, jb arg1, dno 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)
private SpawnData
a(dmu arg0, bck arg1, jb 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)
public abstract void
a(dmu arg0, jb 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)
public double
a()
getSpin()
method_8278()
getRotation()
public double
b()
getoSpin()
method_8279()
getLastRotation()