net.minecraft.server.world

public class ServerWorld

extends World implements StructureWorldAccess, EntityLookupView

All mapped superinterfaces:

WorldAccess, RegistryWorldView, WorldView, BlockLightingView, BlockView, HeightLimitView, CollisionView, RedstoneView, BiomeAccess$Storage, ModifiableTestableWorld, TestableWorld, ModifiableWorld, EntityView, ScheduledTickView, StructureWorldAccess, ServerWorldAccess, EntityLookupView

net.minecraft.server.level.ServerLevel
net.minecraft.class_3218
net.minecraft.server.world.ServerWorld

Field summary

Modifier and TypeField
public static final BlockPos
END_SPAWN_POINT
field_25144
END_SPAWN_POS
public static final IntProvider
RAIN_DELAY
field_41749
CLEAR_WEATHER_DURATION_PROVIDER
public static final IntProvider
RAIN_DURATION
field_41750
RAIN_WEATHER_DURATION_PROVIDER
private static final IntProvider
THUNDER_DELAY
field_41748
CLEAR_THUNDER_WEATHER_DURATION_PROVIDER
public static final IntProvider
THUNDER_DURATION
field_41751
THUNDER_WEATHER_DURATION_PROVIDER
private static final org.slf4j.Logger
LOGGER
field_13952
LOGGER
private static final int
EMPTY_TIME_NO_TICK
field_29768
SERVER_IDLE_COOLDOWN
private static final int
MAX_SCHEDULED_TICKS_PER_TICK
field_35441
MAX_TICKS
private static final AtomicInteger
ENTITY_COUNTER
field_1_7066
lastEntityId
private final List<ServerPlayerEntity>
players
field_18261
players
private final ServerChunkManager
chunkSource
field_24624
chunkManager
private final MinecraftServer
server
field_13959
server
private final ServerWorldProperties
serverLevelData
field_24456
worldProperties
private final EntityList
entityTickList
field_26934
entityList
private final ServerWaypointHandler
waypointManager
field_59630
waypointHandler
private WorldEnvironmentAttributeAccess
environmentAttributes
field_64261
environmentAttributeAccess
private final ServerEntityManager<Entity>
entityManager
field_26935
entityManager
private final GameEventDispatchManager
gameEventDispatcher
field_39984
gameEventDispatchManager
public boolean
noSave
field_13957
savingDisabled
private final SleepManager
sleepStatus
field_28859
sleepManager
private int
emptyTime
field_13948
idleTimeout
private final PortalForcer
portalForcer
field_13956
portalForcer
private final WorldTickScheduler<Block>
blockTicks
field_13949
blockTickScheduler
private final WorldTickScheduler<Fluid>
fluidTicks
field_13951
fluidTickScheduler
private final PathNodeTypeCache
pathTypesByPosCache
field_49172
pathNodeTypeCache
private final Set<MobEntity>
navigatingMobs
field_26932
loadedMobs
private volatile boolean
isUpdatingNavigations
field_36317
duringListenerUpdate
protected final RaidManager
raids
field_18811
raidManager
private final it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet<BlockEvent>
blockEvents
field_13950
syncedBlockEventQueue
private final List<BlockEvent>
blockEventsToReschedule
field_35565
blockEventQueue
private boolean
handlingTick
field_13953
inBlockTick
private final List<SpecialSpawner>
customSpawners
field_25141
spawners
private EnderDragonFight
dragonFight
field_25142
enderDragonFight
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<EnderDragonPart>
dragonParts
field_26933
enderDragonParts
private final StructureAccessor
structureManager
field_23787
structureAccessor
private final StructureLocator
structureCheck
field_36208
structureLocator
private final boolean
tickTime
field_25143
shouldTickTime
private final SubscriptionTracker
debugSynchronizers
field_62841
subscriptionTracker

Constructor summary

ModifierConstructor
public (MinecraftServer server, Executor workerExecutor, LevelStorage$Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime)

Method summary

Modifier and TypeMethod
public int
getNextEntityId()
method_1_6276()
getNextEntityId()
public void
setDragonFight(EnderDragonFight fight)
method_51837(class_2881 arg0)
setEnderDragonFight(EnderDragonFight enderDragonFight)
public RegistryEntry<Biome>
getUncachedNoiseBiome(int quartX, int quartY, int quartZ)
method_22387(int arg0, int arg1, int arg2)
getGeneratorStoredBiome(int arg0, int arg1, int arg2)
public StructureAccessor
structureManager()
method_27056()
getStructureAccessor()
public ServerClocks
clockManager()
method_1_839()
getClocks()
public WorldEnvironmentAttributeAccess
environmentAttributes()
method_75728()
getEnvironmentAttributes()
public WorldEnvironmentAttributeAccess
setEnvironmentAttributes(EnvironmentAttributeSystem environmentAttributes)
method_1_2673(class_12205 arg0)
setEnvironmentAttributeAccess(WorldEnvironmentAttributeAccess environmentAttributeAccess)
public void
tick(BooleanSupplier haveTime)
method_18765(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
public boolean
shouldTickBlocksAt(long chunkPos)
method_39425(long arg0)
shouldTickBlocksInChunk(long arg0)
protected void
tickTime()
method_29203()
tickTime()
public void
tickCustomSpawners(boolean spawnEnemies)
method_29202(boolean arg0)
tickSpawners(boolean spawnMonsters)
private void
wakeUpAllPlayers()
method_23660()
wakeSleepingPlayers()
public void
tickChunk(LevelChunk chunk, int tickSpeed)
method_18203(class_2818 arg0, int arg1)
tickChunk(WorldChunk chunk, int randomTickSpeed)
public void
tickThunder(LevelChunk chunk)
method_67503(class_2818 arg0)
tickThunder(WorldChunk chunk)
public void
tickPrecipitation(BlockPos pos)
method_52370(class_2338 arg0)
tickIceAndSnow(BlockPos pos)
private Optional<BlockPos>
findLightningRod(BlockPos center)
method_31418(class_2338 arg0)
getLightningRodPos(BlockPos pos)
protected BlockPos
findLightningTargetAround(BlockPos pos)
method_18210(class_2338 arg0)
getLightningPos(BlockPos pos)
public boolean
isHandlingTick()
method_14177()
isInBlockTick()
public boolean
canSleepThroughNights()
method_33144()
isSleepingEnabled()
private void
announceSleepStatus()
method_33143()
sendSleepingStatus()
public void
updateSleepingPlayerList()
method_8448()
updateSleepingPlayers()
public ServerScoreboard
getScoreboard()
method_8428()
getScoreboard()
public ServerWaypointHandler
getWaypointManager()
method_70636()
getWaypointHandler()
public LocalDifficulty
getCurrentDifficultyAt(BlockPos pos)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos arg0)
public float
getMoonBrightness(BlockPos pos)
method_76332(class_2338 arg0)
getMoonSize(BlockPos pos)
private void
prepareWeather(WeatherData weatherData)
method_1_1683(class_1_216 arg0)
setWeatherGradients(WeatherState weatherState)
private void
advanceWeatherCycle()
method_39501()
tickWeather()
public void
resetWeatherCycle()
method_14195()
resetWeather()
public void
resetEmptyTime()
method_14197()
resetIdleTimeout()
private void
tickFluid(BlockPos pos, Fluid type)
method_14171(class_2338 arg0, class_3611 arg1)
tickFluid(BlockPos pos, Fluid fluid)
private void
tickBlock(BlockPos pos, Block type)
method_14189(class_2338 arg0, class_2248 arg1)
tickBlock(BlockPos pos, Block block)
public void
tickNonPassenger(Entity entity)
method_18762(class_1297 arg0)
tickEntity(Entity entity)
private void
tickPassenger(Entity vehicle, Entity entity)
method_18763(class_1297 arg0, class_1297 arg1)
tickPassenger(Entity vehicle, Entity passenger)
public void
updateNeighboursOnBlockSet(BlockPos pos, BlockState oldState)
method_70635(class_2338 arg0, class_2680 arg1)
onStateReplacedWithCommands(BlockPos pos, BlockState oldState)
public boolean
mayInteract(Entity entity, BlockPos pos)
method_8505(class_1297 arg0, class_2338 arg1)
canEntityModifyAt(Entity arg0, BlockPos arg1)
public void
save(ProgressListener progressListener, boolean flush, boolean noSave)
method_14176(class_3536 arg0, boolean arg1, boolean arg2)
save(ProgressListener progressListener, boolean flush, boolean savingDisabled)
private void
saveLevelData(boolean sync)
method_14188(boolean arg0)
savePersistentState(boolean flush)
public <T extends Entity> List<? extends T>
getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector)
method_18198(class_5575<class_1297, T> arg0, Predicate<? super T> arg1)
getEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate)
public <T extends Entity> void
getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result)
method_47538(class_5575<class_1297, T> arg0, Predicate<? super T> arg1, List<? super T> arg2)
collectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result)
public <T extends Entity> void
getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result, int maxResults)
method_47539(class_5575<class_1297, T> arg0, Predicate<? super T> arg1, List<? super T> arg2, int arg3)
collectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result, int limit)
public List<? extends EnderDragonEntity>
getDragons()
method_18776()
getAliveEnderDragons()
public List<ServerPlayerEntity>
getPlayers(Predicate<? super ServerPlayer> selector)
method_18766(Predicate<? super class_3222> arg0)
getPlayers(Predicate<? super ServerPlayerEntity> predicate)
public List<ServerPlayerEntity>
getPlayers(Predicate<? super ServerPlayer> selector, int maxResults)
method_47540(Predicate<? super class_3222> arg0, int arg1)
getPlayers(Predicate<? super ServerPlayerEntity> predicate, int limit)
public ServerPlayerEntity
getRandomPlayer()
method_18779()
getRandomAlivePlayer()
public boolean
addFreshEntity(Entity entity)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
public boolean
addWithUUID(Entity entity)
method_18768(class_1297 arg0)
tryLoadEntity(Entity entity)
public void
addDuringTeleport(Entity entity)
method_18769(class_1297 arg0)
onDimensionChanged(Entity entity)
public void
addNewPlayer(ServerPlayer player)
method_18213(class_3222 arg0)
onPlayerConnected(ServerPlayerEntity player)
public void
addRespawnedPlayer(ServerPlayer player)
method_18215(class_3222 arg0)
onPlayerRespawned(ServerPlayerEntity player)
private void
addPlayer(ServerPlayer player)
method_18771(class_3222 arg0)
addPlayer(ServerPlayerEntity player)
private boolean
addEntity(Entity entity)
method_14175(class_1297 arg0)
addEntity(Entity entity)
public boolean
tryAddFreshEntityWithPassengers(Entity entity)
method_30736(class_1297 arg0)
spawnNewEntityAndPassengers(Entity entity)
public void
unload(LevelChunk levelChunk)
method_18764(class_2818 arg0)
unloadEntities(WorldChunk chunk)
public void
removePlayerImmediately(ServerPlayer player, Entity$RemovalReason reason)
method_18770(class_3222 arg0, class_1297$class_5529 arg1)
removePlayer(ServerPlayerEntity player, Entity$RemovalReason reason)
public void
destroyBlockProgress(int id, BlockPos blockPos, int progress)
method_8517(int arg0, class_2338 arg1, int arg2)
setBlockBreakingInfo(int arg0, BlockPos arg1, int arg2)
public void
playSeededSound(Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed)
method_8465(class_1297 arg0, double arg1, double arg2, double arg3, class_6880<class_3414> arg4, class_3419 arg5, float arg6, float arg7, long arg8)
playSound(Entity arg0, double arg1, double arg2, double arg3, RegistryEntry<SoundEvent> arg4, SoundCategory arg5, float arg6, float arg7, long arg8)
public void
playSeededSound(Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed)
method_8449(class_1297 arg0, class_1297 arg1, class_6880<class_3414> arg2, class_3419 arg3, float arg4, float arg5, long arg6)
playSoundFromEntity(Entity arg0, Entity arg1, RegistryEntry<SoundEvent> arg2, SoundCategory arg3, float arg4, float arg5, long arg6)
public void
globalLevelEvent(int type, BlockPos pos, int data)
method_8474(int arg0, class_2338 arg1, int arg2)
syncGlobalEvent(int arg0, BlockPos arg1, int arg2)
public void
levelEvent(Entity source, int type, BlockPos pos, int data)
method_8444(class_1297 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(Entity arg0, int arg1, BlockPos arg2, int arg3)
public int
getLogicalHeight()
method_32819()
getLogicalHeight()
public void
gameEvent(Holder<GameEvent> gameEvent, Vec3 position, GameEvent$Context context)
method_32888(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> arg0, Vec3d arg1, GameEvent$Emitter arg2)
public void
sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags)
method_8413(class_2338 arg0, class_2680 arg1, class_2680 arg2, int arg3)
updateListeners(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
public void
updateNeighborsAt(BlockPos pos, Block sourceBlock)
method_8408(class_2338 arg0, class_2248 arg1)
updateNeighbors(BlockPos arg0, Block arg1)
public void
updateNeighborsAt(BlockPos pos, Block sourceBlock, Orientation orientation)
method_8452(class_2338 arg0, class_2248 arg1, class_9904 arg2)
updateNeighborsAlways(BlockPos arg0, Block arg1, WireOrientation arg2)
public void
updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, Orientation orientation)
method_8508(class_2338 arg0, class_2248 arg1, class_2350 arg2, class_9904 arg3)
updateNeighborsExcept(BlockPos arg0, Block arg1, Direction arg2, WireOrientation arg3)
public void
neighborChanged(BlockPos pos, Block changedBlock, Orientation orientation)
method_8492(class_2338 arg0, class_2248 arg1, class_9904 arg2)
updateNeighbor(BlockPos arg0, Block arg1, WireOrientation arg2)
public void
neighborChanged(BlockState state, BlockPos pos, Block changedBlock, Orientation orientation, boolean movedByPiston)
method_41410(class_2680 arg0, class_2338 arg1, class_2248 arg2, class_9904 arg3, boolean arg4)
updateNeighbor(BlockState arg0, BlockPos arg1, Block arg2, WireOrientation arg3, boolean arg4)
public void
broadcastEntityEvent(Entity entity, byte event)
method_8421(class_1297 arg0, byte arg1)
sendEntityStatus(Entity arg0, byte arg1)
public void
broadcastDamageEvent(Entity entity, DamageSource source)
method_48760(class_1297 arg0, class_1282 arg1)
sendEntityDamage(Entity arg0, DamageSource arg1)
public ServerChunkManager
getChunkSource()
method_8398()
getChunkManager()
public void
explode(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level$ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound)
method_8454(class_1297 arg0, class_1282 arg1, class_5362 arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, class_1937$class_7867 arg8, class_2394 arg9, class_2394 arg10, class_6012<class_11749> arg11, class_6880<class_3414> arg12)
createExplosion(Entity arg0, DamageSource arg1, ExplosionBehavior arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, World$ExplosionSourceType arg8, ParticleEffect arg9, ParticleEffect arg10, WeightedPool<BlockParticleEffect> arg11, RegistryEntry<SoundEvent> arg12)
private Explosion$DestructionType
getDestroyType(GameRule<Boolean> gameRule)
method_61270(class_12279<Boolean> arg0)
getDestructionType(GameRule<Boolean> decayRule)
public void
blockEvent(BlockPos pos, Block block, int b0, int b1)
method_8427(class_2338 arg0, class_2248 arg1, int arg2, int arg3)
addSyncedBlockEvent(BlockPos arg0, Block arg1, int arg2, int arg3)
private void
runBlockEvents()
method_14192()
processSyncedBlockEvents()
private boolean
doBlockEvent(BlockEventData eventData)
method_14174(class_1919 arg0)
processBlockEvent(BlockEvent event)
public WorldTickScheduler<Block>
getBlockTicks()
method_8397()
getBlockTickScheduler()
public WorldTickScheduler<Fluid>
getFluidTicks()
method_8405()
getFluidTickScheduler()
public MinecraftServer
getServer()
method_8503()
getServer()
public PortalForcer
getPortalForcer()
method_14173()
getPortalForcer()
public StructureTemplateManager
getStructureManager()
method_14183()
getStructureTemplateManager()
public <T extends ParticleEffect> int
sendParticles(T particle, double x, double y, double z, int count, double xDist, double yDist, double zDist, double speed)
method_65096(T arg0, double arg1, double arg2, double arg3, int arg4, double arg5, double arg6, double arg7, double arg8)
spawnParticles(T parameters, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed)
public <T extends ParticleEffect> int
sendParticles(T particle, boolean overrideLimiter, boolean alwaysShow, double x, double y, double z, int count, double xDist, double yDist, double zDist, double speed)
method_14199(T arg0, boolean arg1, boolean arg2, double arg3, double arg4, double arg5, int arg6, double arg7, double arg8, double arg9, double arg10)
spawnParticles(T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed)
public <T extends ParticleEffect> boolean
sendParticles(ServerPlayer player, T particle, boolean overrideLimiter, boolean alwaysShow, double x, double y, double z, int count, double xDist, double yDist, double zDist, double speed)
method_14166(class_3222 arg0, T arg1, boolean arg2, boolean arg3, double arg4, double arg5, double arg6, int arg7, double arg8, double arg9, double arg10, double arg11)
spawnParticles(ServerPlayerEntity viewer, T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed)
private boolean
sendParticles(ServerPlayer player, boolean overrideLimiter, double x, double y, double z, Packet<?> packet)
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)
public Entity
getEntity(int id)
method_8469(int arg0)
getEntityById(int arg0)
public Entity
getEntityInAnyDimension(UUID uuid)
method_73284(UUID arg0)
getEntityAnyDimension(UUID arg0)
public PlayerEntity
getPlayerInAnyDimension(UUID uuid)
method_73285(UUID arg0)
getPlayerAnyDimension(UUID arg0)
public Entity
getEntityOrPart(int id)
method_31424(int arg0)
getEntityOrDragonPart(int id)
public Collection<EnderDragonPart>
dragonParts()
method_65097()
getEnderDragonParts()
public BlockPos
findNearestMapStructure(TagKey<Structure> structureTag, BlockPos origin, int maxSearchRadius, boolean createReference)
method_8487(class_6862<class_3195> arg0, class_2338 arg1, int arg2, boolean arg3)
locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures)
public com.mojang.datafixers.util.Pair<BlockPos, RegistryEntry<Biome>>
findClosestBiome3d(Predicate<Holder<Biome>> biomeTest, BlockPos origin, int maxSearchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical)
method_42108(Predicate<class_6880<class_1959>> arg0, class_2338 arg1, int arg2, int arg3, int arg4)
locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval)
public WorldBorder
getWorldBorder()
method_8621()
getWorldBorder()
public ServerRecipeManager
recipeAccess()
method_8433()
getRecipeManager()
public TickManager
tickRateManager()
method_54719()
getTickManager()
public boolean
noSave()
method_8458()
isSavingDisabled()
public PersistentStateManager
getDataStorage()
method_17983()
getPersistentStateManager()
public MapState
getMapData(MapId id)
method_17891(class_9209 arg0)
getMapState(MapIdComponent arg0)
public void
setMapData(MapId id, MapItemSavedData data)
method_17890(class_9209 arg0, class_22 arg1)
putMapState(MapIdComponent id, MapState state)
public MapIdComponent
getFreeMapId()
method_17889()
increaseAndGetMapId()
public void
setRespawnData(LevelData$RespawnData respawnData)
method_27873(class_5217$class_12064 arg0)
setSpawnPoint(WorldProperties$SpawnPoint arg0)
public WorldProperties$SpawnPoint
getRespawnData()
method_74854()
getSpawnPoint()
public it.unimi.dsi.fastutil.longs.LongSet
getForceLoadedChunks()
method_17984()
getForcedChunks()
public boolean
setChunkForced(int chunkX, int chunkZ, boolean forced)
method_17988(int arg0, int arg1, boolean arg2)
setChunkForced(int x, int z, boolean forced)
public List<ServerPlayerEntity>
players()
method_18456()
getPlayers()
public void
updatePOIOnBlockStateChange(BlockPos pos, BlockState oldState, BlockState newState)
method_66016(class_2338 arg0, class_2680 arg1, class_2680 arg2)
onBlockStateChanged(BlockPos arg0, BlockState arg1, BlockState arg2)
public PointOfInterestStorage
getPoiManager()
method_19494()
getPointOfInterestStorage()
public boolean
isVillage(BlockPos pos)
method_19500(class_2338 arg0)
isNearOccupiedPointOfInterest(BlockPos pos)
public boolean
isVillage(SectionPos sectionPos)
method_20588(class_4076 arg0)
isNearOccupiedPointOfInterest(ChunkSectionPos sectionPos)
public boolean
isCloseToVillage(BlockPos pos, int sectionDistance)
method_19497(class_2338 arg0, int arg1)
isNearOccupiedPointOfInterest(BlockPos pos, int maxDistance)
public int
sectionsToVillage(SectionPos pos)
method_19498(class_4076 arg0)
getOccupiedPointOfInterestDistance(ChunkSectionPos pos)
public RaidManager
getRaids()
method_19495()
getRaidManager()
public Raid
getRaidAt(BlockPos pos)
method_19502(class_2338 arg0)
getRaidAt(BlockPos pos)
public boolean
isRaided(BlockPos pos)
method_19503(class_2338 arg0)
hasRaidAt(BlockPos pos)
public void
onReputationEvent(ReputationEventType type, Entity source, ReputationEventHandler target)
method_19496(class_4151 arg0, class_1297 arg1, class_4094 arg2)
handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer)
public void
saveDebugReport(Path rootDir)
method_21625(Path arg0)
dump(Path path)
private static void
dumpEntities(Writer output, Iterable<Entity> entities)
method_21624(Writer arg0, Iterable<class_1297> arg1)
dumpEntities(Writer writer, Iterable<Entity> entities)
private void
dumpBlockEntityTickers(Writer output)
method_21626(Writer arg0)
dumpBlockEntities(Writer writer)
public void
clearBlockEvents(BoundingBox bb)
method_23658(class_3341 arg0)
clearUpdatesInArea(BlockBox box)
public Iterable<Entity>
getAllEntities()
method_27909()
iterateEntities()
public boolean
isFlat()
method_28125()
isFlat()
public long
getSeed()
method_8412()
getSeed()
public EnderDragonFight
getDragonFight()
method_29198()
getEnderDragonFight()
public WeatherState
getWeatherData()
method_1_1681()
getWeatherState()
public ServerWorld
getLevel()
method_8410()
toServerWorld()
public String
getWatchdogStats()
method_31268()
getDebugString()
private static <T> String
getTypeCount(Iterable<T> values, Function<T, String> typeGetter)
method_31270(Iterable<T> arg0, Function<T, String> arg1)
getTopFive(Iterable<T> items, Function<T, String> classifier)
protected EntityLookup<Entity>
getEntities()
method_31592()
getEntityLookup()
public void
addLegacyChunkEntities(Stream<Entity> loaded)
method_31423(Stream<class_1297> arg0)
loadEntities(Stream<Entity> entities)
public void
addWorldGenChunkEntities(Stream<Entity> loaded)
method_31426(Stream<class_1297> arg0)
addEntities(Stream<Entity> entities)
public void
startTickingChunk(LevelChunk levelChunk)
method_39223(class_2818 arg0)
disableTickSchedulers(WorldChunk chunk)
public void
onStructureStartsAvailable(ChunkAccess chunk)
method_39778(class_2791 arg0)
cacheStructures(Chunk chunk)
public PathNodeTypeCache
getPathTypeCache()
method_57133()
getPathNodeTypeCache()
public void
waitForEntities(ChunkPos centerChunk, int radius)
method_72270(class_1923 arg0, int arg1)
loadChunks(ChunkPos center, int radius)
public boolean
isSpawningMonsters()
method_74962()
shouldSpawnMonsters()
public void
close()
public String
gatherChunkSourceStats()
method_31419()
asString()
public boolean
areEntitiesLoaded(long chunkKey)
method_37116(long arg0)
isChunkLoaded(long chunkPos)
public boolean
isPositionTickingWithEntitiesLoaded(long key)
method_37117(long arg0)
isTickingFutureReady(long chunkPos)
public boolean
isPositionEntityTicking(BlockPos pos)
method_37118(class_2338 arg0)
shouldTickEntityAt(BlockPos pos)
public boolean
areEntitiesActuallyLoadedAndTicking(ChunkPos pos)
method_66588(class_1923 arg0)
shouldTickTestAt(ChunkPos pos)
public boolean
anyPlayerCloseEnoughForSpawning(BlockPos pos)
method_67506(class_2338 arg0)
shouldTickBlockAt(BlockPos pos)
public boolean
anyPlayerCloseEnoughForSpawning(ChunkPos pos)
method_67504(class_1923 arg0)
shouldTickChunkAt(ChunkPos pos)
public boolean
canSpreadFireAround(BlockPos pos)
method_76058(class_2338 arg0)
canFireSpread(BlockPos pos)
public boolean
canSpawnEntitiesInChunk(ChunkPos pos)
method_67505(class_1923 arg0)
canSpawnEntitiesAt(ChunkPos pos)
public FeatureSet
enabledFeatures()
method_45162()
getEnabledFeatures()
public FuelRegistry
fuelValues()
method_61269()
getFuelRegistry()
public GameRules
getGameRules()
method_64395()
getGameRules()
public CrashReportSection
fillReportDetails(CrashReport report)
method_8538(class_128 arg0)
addDetailsToCrashReport(CrashReport arg0)
public int
getSeaLevel()
method_8615()
getSeaLevel()
public void
onBlockEntityAdded(BlockEntity blockEntity)
method_71970(class_2586 arg0)
loadBlockEntity(BlockEntity arg0)
public SubscriptionTracker
debugSynchronizers()
method_74535()
getSubscriptionTracker()
public boolean
isAllowedToEnterPortal(Level toLevel)
method_75002(class_1937 arg0)
isEnterableWithPortal(World destination)
public boolean
isPvpAllowed()
method_74999()
isPvpEnabled()
public boolean
isCommandBlockEnabled()
method_75000()
areCommandBlocksEnabled()
public boolean
isSpawnerBlockEnabled()
method_75001()
areSpawnerBlocksEnabled()
public ClockQueryable
clockManager()
method_1_839()
getClocks()
public RecipeManager
recipeAccess()
method_8433()
getRecipeManager()
public Scoreboard
getScoreboard()
method_8428()
getScoreboard()
public ChunkManager
getChunkSource()
method_8398()
getChunkManager()
public EnvironmentAttributeAccess
environmentAttributes()
method_75728()
getEnvironmentAttributes()
public QueryableTickScheduler
getFluidTicks()
method_8405()
getFluidTickScheduler()
public QueryableTickScheduler
getBlockTicks()
method_8397()
getBlockTickScheduler()
private String
lambda$fillReportDetails$1(WeatherData arg0)
method_1_1682(class_1_216 arg0)
method_1_1682(WeatherState arg0)
private String
lambda$fillReportDetails$0()
method_54438()
method_54438()
private boolean
lambda$waitForEntities$0(List arg0)
method_72271(List arg0)
method_72271(List arg0)
private void
lambda$onStructureStartsAvailable$0(ChunkAccess arg0)
method_39926(class_2791 arg0)
method_39926(Chunk arg0)
private static String
lambda$getTypeCount$0(it.unimi.dsi.fastutil.objects.Object2IntMap$Entry arg0)
method_31269(it.unimi.dsi.fastutil.objects.Object2IntMap$Entry arg0)
method_31269(it.unimi.dsi.fastutil.objects.Object2IntMap$Entry entry)
private static String
lambda$getWatchdogStats$0(Entity arg0)
method_1_413(class_1297 arg0)
method_1_413(Entity entity)
private static boolean
lambda$clearBlockEvents$0(BoundingBox arg0, BlockEventData arg1)
method_23659(class_3341 arg0, class_1919 arg1)
method_23659(BlockBox arg0, BlockEvent event)
private void
lambda$updatePOIOnBlockStateChange$2(BlockPos arg0, Holder arg1)
method_66017(class_2338 arg0, class_6880 arg1)
method_66017(BlockPos arg0, RegistryEntry newPoiType)
private void
lambda$updatePOIOnBlockStateChange$3(BlockPos arg0, Holder arg1)
method_74536(class_2338 arg0, class_6880 arg1)
method_74536(BlockPos arg0, RegistryEntry arg1)
private void
lambda$updatePOIOnBlockStateChange$0(BlockPos arg0, Holder arg1)
method_66019(class_2338 arg0, class_6880 arg1)
method_66019(BlockPos arg0, RegistryEntry oldPoiType)
private void
lambda$updatePOIOnBlockStateChange$1(BlockPos arg0)
method_74533(class_2338 arg0)
method_74533(BlockPos arg0)
private void
lambda$globalLevelEvent$0(BlockPos arg0, int arg1, int arg2, ServerPlayer arg3)
method_65057(class_2338 arg0, int arg1, int arg2, class_3222 arg3)
method_65057(BlockPos arg0, int arg1, int arg2, ServerPlayerEntity player)
private static NextIteration
lambda$getEntities$0(Predicate arg0, List arg1, int arg2, Entity arg3)
method_47541(Predicate arg0, List arg1, int arg2, class_1297 arg3)
method_47541(Predicate arg0, List arg1, int arg2, Entity entity)
private boolean
lambda$findLightningTargetAround$0(LivingEntity arg0)
method_18199(class_1309 arg0)
method_18199(LivingEntity entity)
private static BlockPos
lambda$findLightningRod$2(BlockPos arg0)
method_34679(class_2338 arg0)
method_34679(BlockPos innerPos)
private boolean
lambda$findLightningRod$1(BlockPos arg0)
method_34680(class_2338 arg0)
method_34680(BlockPos innerPos)
private static boolean
lambda$findLightningRod$0(Holder arg0)
method_31421(class_6880 arg0)
method_31421(RegistryEntry poiType)
private static void
lambda$wakeUpAllPlayers$0(ServerPlayer arg0)
method_18773(class_3222 arg0)
method_18773(ServerPlayerEntity player)
private void
lambda$tick$1(BlockPos arg0)
method_74534(class_2338 arg0)
method_74534(BlockPos pos)
private void
lambda$tick$0(TickRateManager arg0, ProfilerFiller arg1, Entity arg2)
method_31420(class_8921 arg0, class_3695 arg1, class_1297 arg2)
method_31420(TickManager arg0, Profiler arg1, Entity entity)