net.minecraft.server.level

public class ServerLevel

extends Level implements WorldGenLevel

All mapped superinterfaces:

LevelAccessor, CommonLevelAccessor, EntityGetter, LevelReader, BlockAndTintGetter, BlockGetter, LevelHeightAccessor, CollisionGetter, BiomeManager$NoiseBiomeSource, LevelSimulatedRW, LevelSimulatedReader, LevelWriter, LevelTimeAccess, WorldGenLevel, ServerLevelAccessor

abr
net.minecraft.server.level.ServerLevel
net.minecraft.class_3218
net.minecraft.server.world.ServerWorld
net.minecraft.src.C_12_
net.minecraft.server.level.WorldServer

Field summary

Modifier and TypeField
public static final BlockPos
a
END_SPAWN_POINT
field_25144
END_SPAWN_POS
f_8562_
private static final org.apache.logging.log4j.Logger
z
LOGGER
field_13952
LOGGER
f_8566_
private static final int
A
EMPTY_TIME_NO_TICK
field_29768
SERVER_IDLE_COOLDOWN
f_143242_
final List<ServerPlayer>
B
players
field_18261
players
f_8546_
private final ServerChunkCache
C
chunkSource
field_24624
chunkManager
f_8547_
private final MinecraftServer
D
server
field_13959
server
f_8548_
private final ServerLevelData
E
serverLevelData
field_24456
worldProperties
f_8549_
final EntityTickList
F
entityTickList
field_26934
entityList
f_143243_
private final PersistentEntitySectionManager<Entity>
G
entityManager
field_26935
entityManager
f_143244_
public boolean
b
noSave
field_13957
savingDisabled
f_8564_
private final SleepStatus
H
sleepStatus
field_28859
sleepManager
f_143245_
private int
I
emptyTime
field_13948
idleTimeout
f_8551_
private final PortalForcer
J
portalForcer
field_13956
portalForcer
f_8552_
private final ServerTickList<Block>
K
blockTicks
field_13949
blockTickScheduler
f_8553_
private final ServerTickList<Fluid>
L
liquidTicks
field_13951
fluidTickScheduler
f_8554_
final Set<Mob>
M
navigatingMobs
field_26932
loadedMobs
f_143246_
protected final Raids
c
raids
field_18811
raidManager
f_8565_
private final it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet<BlockEventData>
N
blockEvents
field_13950
syncedBlockEventQueue
f_8556_
private boolean
O
handlingTick
field_13953
inBlockTick
f_8557_
private final List<CustomSpawner>
P
customSpawners
field_25141
spawners
f_8558_
private final EndDragonFight
Q
dragonFight
field_25142
enderDragonFight
f_8559_
final it.unimi.dsi.fastutil.ints.Int2ObjectMap<EnderDragonPart>
R
dragonParts
field_26933
dragonParts
f_143247_
private final StructureFeatureManager
S
structureFeatureManager
field_23787
structureAccessor
f_8560_
private final boolean
T
tickTime
field_25143
shouldTickTime
f_8561_

Constructor summary

ModifierConstructor
public (MinecraftServer server, Executor workerExecutor, LevelStorageSource$LevelStorageAccess session, ServerLevelData properties, ResourceKey<Level> worldKey, DimensionType dimensionType, ChunkProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<CustomSpawner> spawners, boolean shouldTickTime)

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, boolean arg2, boolean arg3)
setWeatherParameters(int arg0, int arg1, boolean arg2, boolean arg3)
method_27910(int arg0, int arg1, boolean arg2, boolean arg3)
setWeather(int clearDuration, int rainDuration, boolean raining, boolean thundering)
m_8606_(int p_8608_, int p_8609_, boolean p_8610_, boolean arg3)
public Biome
a(int arg0, int arg1, int arg2)
getUncachedNoiseBiome(int arg0, int arg1, int arg2)
method_22387(int arg0, int arg1, int arg2)
getGeneratorStoredBiome(int arg0, int arg1, int arg2)
m_6159_(int p_8600_, int p_8601_, int arg2)
public StructureFeatureManager
a()
structureFeatureManager()
method_27056()
getStructureAccessor()
m_8595_()
getStructureManager()
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_18765(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
m_8793_(BooleanSupplier arg0)
doTick(BooleanSupplier arg0)
protected void
b()
tickTime()
method_29203()
tickTime()
m_8809_()
public void
a(long arg0)
setDayTime(long arg0)
method_29199(long arg0)
setTimeOfDay(long timeOfDay)
m_8615_(long arg0)
setDayTime(long arg0)
public void
a(boolean arg0, boolean arg1)
tickCustomSpawners(boolean arg0, boolean arg1)
method_29202(boolean arg0, boolean arg1)
tickSpawners(boolean spawnMonsters, boolean spawnAnimals)
m_8799_(boolean p_8801_, boolean arg1)
doMobSpawning(boolean arg0, boolean arg1)
private boolean
i(atg arg0)
shouldDiscardEntity(Entity arg0)
method_31430(class_1297 arg0)
shouldCancelSpawn(Entity entity)
m_143342_(C_507_ arg0)
private void
am()
wakeUpAllPlayers()
method_23660()
wakeSleepingPlayers()
m_8804_()
wakeupPlayers()
public void
a(cmx arg0, int arg1)
tickChunk(LevelChunk arg0, int arg1)
method_18203(class_2818 arg0, int arg1)
tickChunk(WorldChunk chunk, int randomTickSpeed)
m_8714_(C_2137_ p_8716_, int arg1)
private Optional<BlockPos>
E(gg arg0)
findLightningRod(BlockPos arg0)
method_31418(class_2338 arg0)
getLightningRodPos(BlockPos pos)
m_143248_(C_4675_ arg0)
protected BlockPos
a(gg arg0)
findLightningTargetAround(BlockPos arg0)
method_18210(class_2338 arg0)
getSurface(BlockPos pos)
m_143288_(C_4675_ arg0)
public boolean
c()
isHandlingTick()
method_14177()
isInBlockTick()
m_8874_()
public boolean
d()
canSleepThroughNights()
method_33144()
isSleepingEnabled()
m_143333_()
private void
an()
announceSleepStatus()
method_33143()
sendSleepingStatus()
m_143315_()
public void
e()
updateSleepingPlayerList()
method_8448()
updateSleepingPlayers()
m_8878_()
everyoneSleeping()
public ServerScoreboard
f()
getScoreboard()
method_14170()
getScoreboard()
m_6188_()
getScoreboard()
private void
ao()
stopWeather()
method_14195()
resetWeather()
m_8805_()
clearWeather()
public void
g()
resetEmptyTime()
method_14197()
resetIdleTimeout()
m_8886_()
resetEmptyTime()
private void
a(bxj<der> arg0)
tickLiquid(TickNextTickData<Fluid> arg0)
method_14171(class_1954<class_3611> arg0)
tickFluid(ScheduledTick<Fluid> tick)
m_8700_(C_1623_<C_2690_> arg0)
private void
b(bxj<bzp> arg0)
tickBlock(TickNextTickData<Block> arg0)
method_14189(class_1954<class_2248> arg0)
tickBlock(ScheduledTick<Block> tick)
m_8821_(C_1623_<C_1706_> arg0)
public void
a(atg arg0)
tickNonPassenger(Entity arg0)
method_18762(class_1297 arg0)
tickEntity(Entity entity)
m_8647_(C_507_ arg0)
entityJoinedWorld(Entity arg0)
private void
a(atg arg0, atg arg1)
tickPassenger(Entity arg0, Entity arg1)
method_18763(class_1297 arg0, class_1297 arg1)
tickPassenger(Entity vehicle, Entity passenger)
m_8662_(C_507_ p_8664_, C_507_ arg1)
public boolean
a(bke arg0, gg arg1)
mayInteract(Player arg0, BlockPos arg1)
method_8505(class_1657 arg0, class_2338 arg1)
canPlayerModifyAt(PlayerEntity arg0, BlockPos arg1)
m_7966_(C_1141_ p_8697_, C_4675_ arg1)
public void
a(ahd arg0, boolean arg1, boolean arg2)
save(ProgressListener arg0, boolean arg1, boolean arg2)
method_14176(class_3536 arg0, boolean arg1, boolean arg2)
save(ProgressListener progressListener, boolean flush, boolean arg2)
m_8643_(C_189_ p_8645_, boolean p_8646_, boolean arg2)
save(IProgressUpdate arg0, boolean arg1, boolean arg2)
private void
ap()
saveLevelData()
method_14188()
saveLevel()
m_8806_()
public <T extends Entity> List<? extends T>
a(cok<atg, T> arg0, Predicate<? super T> arg1)
getEntities(EntityTypeTest<Entity, T> arg0, Predicate<? super T> arg1)
method_18198(class_5575<class_1297, T> arg0, Predicate<? super T> arg1)
getEntitiesByType(TypeFilter<Entity, T> arg0, Predicate<? super T> predicate)
m_143280_(C_141287_<C_507_, T> p_143282_, Predicate<? super T> arg1)
public List<? extends EnderDragon>
h()
getDragons()
method_18776()
getAliveEnderDragons()
m_8857_()
public List<ServerPlayer>
a(Predicate<? super abs> arg0)
getPlayers(Predicate<? super ServerPlayer> arg0)
method_18766(Predicate<? super class_3222> arg0)
getPlayers(Predicate<? super ServerPlayerEntity> predicate)
m_8795_(Predicate<? super C_13_> arg0)
public ServerPlayer
i()
getRandomPlayer()
method_18779()
getRandomAlivePlayer()
m_8890_()
public boolean
b(atg arg0)
addFreshEntity(Entity arg0)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
m_7967_(C_507_ arg0)
addEntity(Entity arg0)
public boolean
c(atg arg0)
addWithUUID(Entity arg0)
method_18768(class_1297 arg0)
tryLoadEntity(Entity entity)
m_8847_(C_507_ arg0)
addEntitySerialized(Entity arg0)
public void
d(atg arg0)
addDuringTeleport(Entity arg0)
method_18769(class_1297 arg0)
onDimensionChanged(Entity entity)
m_143334_(C_507_ arg0)
addEntityTeleport(Entity arg0)
public void
a(abs arg0)
addDuringCommandTeleport(ServerPlayer arg0)
method_18207(class_3222 arg0)
onPlayerTeleport(ServerPlayerEntity player)
m_8622_(C_13_ arg0)
addPlayerCommand(EntityPlayer arg0)
public void
b(abs arg0)
addDuringPortalTeleport(ServerPlayer arg0)
method_18211(class_3222 arg0)
onPlayerChangeDimension(ServerPlayerEntity player)
m_8817_(C_13_ arg0)
addPlayerPortal(EntityPlayer arg0)
public void
c(abs arg0)
addNewPlayer(ServerPlayer arg0)
method_18213(class_3222 arg0)
onPlayerConnected(ServerPlayerEntity player)
m_8834_(C_13_ arg0)
addPlayerJoin(EntityPlayer arg0)
public void
d(abs arg0)
addRespawnedPlayer(ServerPlayer arg0)
method_18215(class_3222 arg0)
onPlayerRespawned(ServerPlayerEntity player)
m_8845_(C_13_ arg0)
addPlayerRespawn(EntityPlayer arg0)
private void
e(abs arg0)
addPlayer(ServerPlayer arg0)
method_18771(class_3222 arg0)
addPlayer(ServerPlayerEntity player)
m_8853_(C_13_ arg0)
addPlayer0(EntityPlayer arg0)
private boolean
j(atg arg0)
addEntity(Entity arg0)
method_14175(class_1297 arg0)
addEntity(Entity entity)
m_8872_(C_507_ arg0)
addEntity0(Entity arg0)
public boolean
e(atg arg0)
tryAddFreshEntityWithPassengers(Entity arg0)
method_30736(class_1297 arg0)
shouldCreateNewEntityWithPassenger(Entity entity)
m_8860_(C_507_ arg0)
addAllEntitiesSafely(Entity arg0)
public void
a(cmx arg0)
unload(LevelChunk arg0)
method_18764(class_2818 arg0)
unloadEntities(WorldChunk chunk)
m_8712_(C_2137_ arg0)
unloadChunk(Chunk arg0)
public void
a(abs arg0, atg$c arg1)
removePlayerImmediately(ServerPlayer arg0, Entity$RemovalReason arg1)
method_18770(class_3222 arg0, class_1297$class_5529 arg1)
removePlayer(ServerPlayerEntity player, Entity$RemovalReason reason)
m_143261_(C_13_ p_143263_, C_507_$C_141065_ arg1)
public void
a(int arg0, gg arg1, int arg2)
destroyBlockProgress(int arg0, BlockPos arg1, int arg2)
method_8517(int arg0, class_2338 arg1, int arg2)
setBlockBreakingInfo(int arg0, BlockPos arg1, int arg2)
m_6801_(int p_8613_, C_4675_ p_8614_, int arg2)
public void
a(bke arg0, double arg1, double arg2, double arg3, afd arg4, aff arg5, float arg6, float arg7)
playSound(Player arg0, double arg1, double arg2, double arg3, SoundEvent arg4, SoundSource arg5, float arg6, float arg7)
method_8465(class_1657 arg0, double arg1, double arg2, double arg3, class_3414 arg4, class_3419 arg5, float arg6, float arg7)
playSound(PlayerEntity arg0, double arg1, double arg2, double arg3, SoundEvent arg4, SoundCategory arg5, float arg6, float arg7)
m_6263_(C_1141_ p_8676_, double p_8677_, double p_8679_, double p_8681_, C_123_ arg4, C_125_ arg5, float arg6, float arg7)
playSound(EntityHuman arg0, double arg1, double arg2, double arg3, SoundEffect arg4, SoundCategory arg5, float arg6, float arg7)
public void
a(bke arg0, atg arg1, afd arg2, aff arg3, float arg4, float arg5)
playSound(Player arg0, Entity arg1, SoundEvent arg2, SoundSource arg3, float arg4, float arg5)
method_8449(class_1657 arg0, class_1297 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSoundFromEntity(PlayerEntity arg0, Entity arg1, SoundEvent arg2, SoundCategory arg3, float arg4, float arg5)
m_6269_(C_1141_ p_8690_, C_507_ p_8691_, C_123_ p_8692_, C_125_ p_8693_, float p_8694_, float arg5)
playSound(EntityHuman arg0, Entity arg1, SoundEffect arg2, SoundCategory arg3, float arg4, float arg5)
public void
b(int arg0, gg arg1, int arg2)
globalLevelEvent(int arg0, BlockPos arg1, int arg2)
method_8474(int arg0, class_2338 arg1, int arg2)
syncGlobalEvent(int arg0, BlockPos arg1, int arg2)
m_6798_(int p_8812_, C_4675_ p_8813_, int arg2)
public void
a(bke arg0, int arg1, gg arg2, int arg3)
levelEvent(Player arg0, int arg1, BlockPos arg2, int arg3)
method_8444(class_1657 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(PlayerEntity arg0, int arg1, BlockPos arg2, int arg3)
m_5898_(C_1141_ p_8685_, int p_8686_, C_4675_ p_8687_, int arg3)
public int
j()
getLogicalHeight()
method_32819()
getLogicalHeight()
m_142475_()
getLogicalHeight()
public void
a(atg arg0, cow arg1, gg arg2)
gameEvent(Entity arg0, GameEvent arg1, BlockPos arg2)
method_32888(class_1297 arg0, class_5712 arg1, class_2338 arg2)
emitGameEvent(Entity arg0, GameEvent arg1, BlockPos arg2)
m_142346_(C_507_ p_143269_, C_141307_ p_143270_, C_4675_ arg2)
public void
a(gg arg0, ckt arg1, ckt arg2, int arg3)
sendBlockUpdated(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
method_8413(class_2338 arg0, class_2680 arg1, class_2680 arg2, int arg3)
updateListeners(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
m_7260_(C_4675_ p_8756_, C_2064_ p_8757_, C_2064_ p_8758_, int arg3)
notify(BlockPosition arg0, IBlockData arg1, IBlockData arg2, int arg3)
public void
a(atg arg0, byte arg1)
broadcastEntityEvent(Entity arg0, byte arg1)
method_8421(class_1297 arg0, byte arg1)
sendEntityStatus(Entity arg0, byte arg1)
m_7605_(C_507_ p_8651_, byte arg1)
broadcastEntityEffect(Entity arg0, byte arg1)
public ServerChunkCache
k()
getChunkSource()
method_14178()
getChunkManager()
m_7726_()
getChunkProvider()
public Explosion
a(atg arg0, asq arg1, bwj arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, bwi$a arg8)
explode(Entity arg0, DamageSource arg1, ExplosionDamageCalculator arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, Explosion$BlockInteraction arg8)
method_8454(class_1297 arg0, class_1282 arg1, class_5362 arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, class_1927$class_4179 arg8)
createExplosion(Entity arg0, DamageSource arg1, ExplosionBehavior arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, Explosion$DestructionType arg8)
m_7703_(C_507_ p_8654_, C_489_ p_8655_, C_1580_ p_8656_, double p_8657_, double p_8659_, double p_8661_, float arg6, boolean arg7, C_1578_$C_1579_ arg8)
createExplosion(Entity arg0, DamageSource arg1, ExplosionDamageCalculator arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, Explosion$Effect arg8)
public void
a(gg arg0, bzp arg1, int arg2, int arg3)
blockEvent(BlockPos arg0, Block arg1, int arg2, int arg3)
method_8427(class_2338 arg0, class_2248 arg1, int arg2, int arg3)
addSyncedBlockEvent(BlockPos arg0, Block arg1, int arg2, int arg3)
m_7696_(C_4675_ p_8747_, C_1706_ p_8748_, int p_8749_, int arg3)
playBlockAction(BlockPosition arg0, Block arg1, int arg2, int arg3)
private void
aq()
runBlockEvents()
method_14192()
processSyncedBlockEvents()
m_8807_()
private boolean
a(bvt arg0)
doBlockEvent(BlockEventData arg0)
method_14174(class_1919 arg0)
processBlockEvent(BlockEvent event)
m_8698_(C_1558_ arg0)
public ServerTickList<Block>
l()
getBlockTicks()
method_14196()
getBlockTickScheduler()
m_6219_()
getBlockTickList()
public ServerTickList<Fluid>
m()
getLiquidTicks()
method_14179()
getFluidTickScheduler()
m_6217_()
getFluidTickList()
public MinecraftServer
n()
getServer()
method_8503()
getServer()
m_142572_()
getMinecraftServer()
public PortalForcer
o()
getPortalForcer()
method_14173()
getPortalForcer()
m_8871_()
getTravelAgent()
public StructureManager
p()
getStructureManager()
method_14183()
getStructureManager()
m_8875_()
public void
a(cpe arg0)
sendVibrationParticle(VibrationPath arg0)
method_32817(class_5720 arg0)
sendVibrationPacket(Vibration vibration)
m_143283_(C_141317_ arg0)
public <T extends ParticleOptions> int
a(T arg0, double arg1, double arg2, double arg3, int arg4, double arg5, double arg6, double arg7, double arg8)
sendParticles(T arg0, double arg1, double arg2, double arg3, int arg4, double arg5, double arg6, double arg7, double arg8)
method_14199(T arg0, double arg1, double arg2, double arg3, int arg4, double arg5, double arg6, double arg7, double arg8)
spawnParticles(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed)
m_8767_(T p_8769_, double p_8770_, double p_8772_, double p_8774_, int p_8776_, double arg5, double arg6, double arg7, double arg8)
public <T extends ParticleOptions> boolean
a(abs arg0, T arg1, boolean arg2, double arg3, double arg4, double arg5, int arg6, double arg7, double arg8, double arg9, double arg10)
sendParticles(ServerPlayer arg0, T arg1, boolean arg2, double arg3, double arg4, double arg5, int arg6, double arg7, double arg8, double arg9, double arg10)
method_14166(class_3222 arg0, T arg1, boolean arg2, double arg3, double arg4, double arg5, int arg6, double arg7, double arg8, double arg9, double arg10)
spawnParticles(ServerPlayerEntity viewer, T particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed)
m_8624_(C_13_ p_8626_, T p_8627_, boolean p_8628_, double p_8629_, double p_8631_, double p_8633_, int p_8635_, double arg7, double arg8, double arg9, double arg10)
private boolean
a(abs arg0, boolean arg1, double arg2, double arg3, double arg4, pk<?> arg5)
sendParticles(ServerPlayer arg0, boolean arg1, double arg2, double arg3, double arg4, Packet<?> arg5)
method_14191(class_3222 arg0, boolean arg1, double arg2, double arg3, double arg4, class_2596<?> arg5)
sendToPlayerIfNearby(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet)
m_8636_(C_13_ p_8638_, boolean p_8639_, double p_8640_, double p_8642_, double arg4, C_5028_<?> arg5)
public Entity
a(int arg0)
getEntity(int arg0)
method_8469(int arg0)
getEntityById(int arg0)
m_6815_(int arg0)
getEntity(int arg0)
public Entity
b(int arg0)
getEntityOrPart(int arg0)
method_31424(int arg0)
getDragonPart(int id)
m_143317_(int arg0)
public Entity
a(UUID arg0)
getEntity(UUID arg0)
method_14190(UUID arg0)
getEntity(UUID uuid)
m_8791_(UUID arg0)
getEntity(UUID arg0)
public BlockPos
a(cud<?> arg0, gg arg1, int arg2, boolean arg3)
findNearestMapFeature(StructureFeature<?> arg0, BlockPos arg1, int arg2, boolean arg3)
method_8487(class_3195<?> arg0, class_2338 arg1, int arg2, boolean arg3)
locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
m_8717_(C_2304_<?> p_8719_, C_4675_ p_8720_, int p_8721_, boolean arg3)
public BlockPos
a(bxp arg0, gg arg1, int arg2, int arg3)
findNearestBiome(Biome arg0, BlockPos arg1, int arg2, int arg3)
method_24500(class_1959 arg0, class_2338 arg1, int arg2, int arg3)
locateBiome(Biome biome, BlockPos pos, int radius, int arg3)
m_8705_(C_1629_ p_8707_, C_4675_ p_8708_, int p_8709_, int arg3)
public RecipeManager
q()
getRecipeManager()
method_8433()
getRecipeManager()
m_7465_()
getCraftingManager()
public TagContainer
r()
getTagManager()
method_8514()
getTagManager()
m_5999_()
public boolean
s()
noSave()
method_8458()
isSavingDisabled()
m_7441_()
isSavingDisabled()
public RegistryAccess
t()
registryAccess()
method_30349()
getRegistryManager()
m_5962_()
public DimensionDataStorage
u()
getDataStorage()
method_17983()
getPersistentStateManager()
m_8895_()
getWorldPersistentData()
public MapItemSavedData
a(String arg0)
getMapData(String arg0)
method_17891(String arg0)
getMapState(String arg0)
m_7489_(String arg0)
public void
a(String arg0, dhs arg1)
setMapData(String arg0, MapItemSavedData arg1)
method_17890(String arg0, class_22 arg1)
putMapState(String arg0, MapState arg1)
m_142325_(String p_143306_, C_2771_ arg1)
public int
v()
getFreeMapId()
method_17889()
getNextMapId()
m_7354_()
getWorldMapCount()
public void
a(gg arg0, float arg1)
setDefaultSpawnPos(BlockPos arg0, float arg1)
method_8554(class_2338 arg0, float arg1)
setSpawnPos(BlockPos pos, float angle)
m_8733_(C_4675_ p_8735_, float arg1)
public BlockPos
w()
getSharedSpawnPos()
method_27911()
getSpawnPos()
m_8900_()
getSpawn()
public float
x()
getSharedSpawnAngle()
method_30630()
getSpawnAngle()
m_8901_()
public it.unimi.dsi.fastutil.longs.LongSet
y()
getForcedChunks()
method_17984()
getForcedChunks()
m_8902_()
getForceLoadedChunks()
public boolean
a(int arg0, int arg1, boolean arg2)
setChunkForced(int arg0, int arg1, boolean arg2)
method_17988(int arg0, int arg1, boolean arg2)
setChunkForced(int x, int z, boolean forced)
m_8602_(int p_8604_, int p_8605_, boolean arg2)
setForceLoaded(int arg0, int arg1, boolean arg2)
public List<ServerPlayer>
z()
players()
method_18456()
getPlayers()
m_6907_()
getPlayers()
public void
a(gg arg0, ckt arg1, ckt arg2)
onBlockStateChange(BlockPos arg0, BlockState arg1, BlockState arg2)
method_19282(class_2338 arg0, class_2680 arg1, class_2680 arg2)
onBlockChanged(BlockPos arg0, BlockState arg1, BlockState arg2)
m_6559_(C_4675_ p_8752_, C_2064_ p_8753_, C_2064_ arg2)
public PoiManager
A()
getPoiManager()
method_19494()
getPointOfInterestStorage()
m_8904_()
public boolean
b(gg arg0)
isVillage(BlockPos arg0)
method_19500(class_2338 arg0)
isNearOccupiedPointOfInterest(BlockPos pos)
m_8802_(C_4675_ arg0)
public boolean
a(gz arg0)
isVillage(SectionPos arg0)
method_20588(class_4076 arg0)
isNearOccupiedPointOfInterest(ChunkSectionPos sectionPos)
m_8762_(C_4710_ arg0)
public boolean
a(gg arg0, int arg1)
isCloseToVillage(BlockPos arg0, int arg1)
method_19497(class_2338 arg0, int arg1)
isNearOccupiedPointOfInterest(BlockPos pos, int maxDistance)
m_8736_(C_4675_ p_8738_, int arg1)
public int
b(gz arg0)
sectionsToVillage(SectionPos arg0)
method_19498(class_4076 arg0)
getOccupiedPointOfInterestDistance(ChunkSectionPos pos)
m_8828_(C_4710_ arg0)
public Raids
B()
getRaids()
method_19495()
getRaidManager()
m_8905_()
getPersistentRaid()
public Raid
c(gg arg0)
getRaidAt(BlockPos arg0)
method_19502(class_2338 arg0)
getRaidAt(BlockPos pos)
m_8832_(C_4675_ arg0)
public boolean
d(gg arg0)
isRaided(BlockPos arg0)
method_19503(class_2338 arg0)
hasRaidAt(BlockPos pos)
m_8843_(C_4675_ arg0)
public void
a(bdk arg0, atg arg1, aui arg2)
onReputationEvent(ReputationEventType arg0, Entity arg1, ReputationEventHandler arg2)
method_19496(class_4151 arg0, class_1297 arg1, class_4094 arg2)
handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer)
m_8670_(C_783_ p_8672_, C_507_ p_8673_, C_537_ arg2)
public void
a(Path arg0)
saveDebugReport(Path arg0)
method_21625(Path arg0)
dump(Path path)
m_8786_(Path arg0)
private static void
a(Writer arg0, Iterable<atg> arg1)
dumpEntities(Writer arg0, Iterable<Entity> arg1)
method_21624(Writer arg0, Iterable<class_1297> arg1)
dumpEntities(Writer writer, Iterable<Entity> entities)
m_8781_(Writer p_8782_, Iterable<C_507_> p_8783_)
private void
a(Writer arg0)
dumpBlockEntityTickers(Writer arg0)
method_21626(Writer arg0)
dumpBlockEntities(Writer writer)
m_143299_(Writer arg0)
public void
a(dar arg0)
clearBlockEvents(BoundingBox arg0)
method_23658(class_3341 arg0)
clearUpdatesInArea(BlockBox box)
m_8722_(C_2478_ arg0)
public void
a(gg arg0, bzp arg1)
blockUpdated(BlockPos arg0, Block arg1)
method_8408(class_2338 arg0, class_2248 arg1)
updateNeighbors(BlockPos arg0, Block arg1)
m_6289_(C_4675_ p_8744_, C_1706_ arg1)
update(BlockPosition arg0, Block arg1)
public float
a(gl arg0, boolean arg1)
getShade(Direction arg0, boolean arg1)
method_24852(class_2350 arg0, boolean arg1)
getBrightness(Direction arg0, boolean arg1)
m_7717_(C_4687_ p_8761_, boolean arg1)
public Iterable<Entity>
C()
getAllEntities()
method_27909()
iterateEntities()
m_8583_()
public boolean
D()
isFlat()
method_28125()
isFlat()
m_8584_()
isFlatWorld()
public long
E()
getSeed()
method_8412()
getSeed()
m_7328_()
getSeed()
public EndDragonFight
F()
dragonFight()
method_29198()
getEnderDragonFight()
m_8586_()
getDragonBattle()
public Stream<? extends StructureStart<?>>
a(gz arg0, cud<?> arg1)
startsForFeature(SectionPos arg0, StructureFeature<?> arg1)
method_30275(class_4076 arg0, class_3195<?> arg1)
getStructures(ChunkSectionPos arg0, StructureFeature<?> arg1)
m_7526_(C_4710_ p_8766_, C_2304_<?> arg1)
public ServerLevel
G()
getLevel()
method_8410()
toServerWorld()
m_6018_()
getLevel()
public String
H()
getWatchdogStats()
method_31268()
getDebugString()
m_8590_()
private static <T> String
a(Iterable<T> arg0, Function<T, String> arg1)
getTypeCount(Iterable<T> arg0, Function<T, String> arg1)
method_31270(Iterable<T> arg0, Function<T, String> arg1)
getTopFive(Iterable<T> items, Function<T, String> classifier)
m_143301_(Iterable<T> p_143302_, Function<T, String> p_143303_)
public static void
a(abr arg0)
makeObsidianPlatform(ServerLevel arg0)
method_29200(class_3218 arg0)
createEndSpawnPlatform(ServerWorld world)
m_8617_(C_12_ p_8618_)
protected LevelEntityGetter<Entity>
I()
getEntities()
method_31592()
getEntityLookup()
m_142646_()
getEntities()
public void
a(Stream<atg> arg0)
addLegacyChunkEntities(Stream<Entity> arg0)
method_31423(Stream<class_1297> arg0)
loadEntities(Stream<Entity> entities)
m_143311_(Stream<C_507_> arg0)
public void
b(Stream<atg> arg0)
addWorldGenChunkEntities(Stream<Entity> arg0)
method_31426(Stream<class_1297> arg0)
addEntities(Stream<Entity> entities)
m_143327_(Stream<C_507_> arg0)
public void
close()
close()
close()
public String
J()
gatherChunkSourceStats()
method_31419()
asString()
m_46464_()
public boolean
b(long arg0)
areEntitiesLoaded(long arg0)
method_37116(long arg0)
method_37116(long arg0)
m_143319_(long arg0)
public boolean
e(gg arg0)
isPositionTickingWithEntitiesLoaded(BlockPos arg0)
method_37117(class_2338 arg0)
method_37117(BlockPos arg0)
m_143336_(C_4675_ arg0)
public boolean
f(gg arg0)
isPositionEntityTicking(BlockPos arg0)
method_37118(class_2338 arg0)
method_37118(BlockPos arg0)
m_143340_(C_4675_ arg0)
public boolean
a(bvv arg0)
isPositionEntityTicking(ChunkPos arg0)
method_37115(class_1923 arg0)
method_37115(ChunkPos arg0)
m_143275_(C_1560_ arg0)