net.minecraft.world.level

public abstract class BaseSpawner

dfk
net.minecraft.world.level.BaseSpawner
net.minecraft.class_1917
net.minecraft.block.spawner.MobSpawnerLogic
net.minecraft.world.level.MobSpawnerAbstract

Field summary

Modifier and TypeField
public static final String
b
SPAWN_DATA_TAG
field_40877
SPAWN_DATA_KEY
private static final org.slf4j.Logger
a
LOGGER
field_9156
LOGGER
private static final int
c
EVENT_SPAWN
field_30951
field_30951
private int
d
spawnDelay
field_9154
spawnDelay
private SimpleWeightedRandomList<SpawnData>
e
spawnPotentials
field_9152
spawnPotentials
private SpawnData
f
nextSpawnData
field_9155
spawnEntry
private double
g
spin
field_9161
rotation
private double
h
oSpin
field_9159
lastRotation
private int
i
minSpawnDelay
field_9151
minSpawnDelay
private int
j
maxSpawnDelay
field_9150
maxSpawnDelay
private int
k
spawnCount
field_9149
spawnCount
private Entity
l
displayEntity
field_9153
renderedEntity
private int
m
maxNearbyEntities
field_9160
maxNearbyEntities
private int
n
requiredPlayerRange
field_9158
requiredPlayerRange
private int
o
spawnRange
field_9157
spawnRange

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(but<?> arg0, dgj arg1, azh arg2, ji 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(dgj arg0, ji arg1)
isNearPlayer(Level arg0, BlockPos arg1)
method_8284(class_1937 arg0, class_2338 arg1)
isPlayerInRange(World world, BlockPos pos)
public void
a(dgj arg0, ji arg1)
clientTick(Level arg0, BlockPos arg1)
method_31589(class_1937 arg0, class_2338 arg1)
clientTick(World world, BlockPos pos)
public void
a(ard arg0, ji arg1)
serverTick(ServerLevel arg0, BlockPos arg1)
method_31588(class_3218 arg0, class_2338 arg1)
serverTick(ServerWorld world, BlockPos pos)
private void
d(dgj arg0, ji arg1)
delay(Level arg0, BlockPos arg1)
method_8282(class_1937 arg0, class_2338 arg1)
updateSpawns(World world, BlockPos pos)
public void
a(dgj arg0, ji arg1, tq 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)
public CompoundTag
a(tq arg0)
save(CompoundTag arg0)
method_8272(class_2487 arg0)
writeNbt(NbtCompound nbt)
public Entity
b(dgj arg0, ji arg1)
getOrCreateDisplayEntity(Level arg0, BlockPos arg1)
method_8283(class_1937 arg0, class_2338 arg1)
getRenderedEntity(World world, BlockPos pos)
public boolean
a(dgj arg0, int arg1)
onEventTriggered(Level arg0, int arg1)
method_8275(class_1937 arg0, int arg1)
handleStatus(World world, int status)
protected void
a(dgj arg0, ji arg1, dhd 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(dgj arg0, azh arg1, ji 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(dgj arg0, ji 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()