net.minecraft.world.level

public abstract class BaseSpawner

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

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