CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld FIELD field_13948 idleTimeout I FIELD field_13949 blockTickScheduler Lnet/minecraft/class_6757; FIELD field_13950 syncedBlockEventQueue Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet; FIELD field_13951 fluidTickScheduler Lnet/minecraft/class_6757; FIELD field_13952 LOGGER Lorg/slf4j/Logger; FIELD field_13953 inBlockTick Z FIELD field_13956 portalForcer Lnet/minecraft/class_1946; FIELD field_13957 savingDisabled Z FIELD field_13959 server Lnet/minecraft/server/MinecraftServer; FIELD field_18261 players Ljava/util/List; FIELD field_18811 raidManager Lnet/minecraft/class_3767; FIELD field_23787 structureAccessor Lnet/minecraft/class_5138; FIELD field_24456 worldProperties Lnet/minecraft/class_5268; FIELD field_24624 chunkManager Lnet/minecraft/class_3215; FIELD field_25141 spawners Ljava/util/List; FIELD field_25142 enderDragonFight Lnet/minecraft/class_2881; FIELD field_25143 shouldTickTime Z FIELD field_25144 END_SPAWN_POS Lnet/minecraft/class_2338; FIELD field_26932 loadedMobs Ljava/util/Set; FIELD field_26933 dragonParts Lit/unimi/dsi/fastutil/ints/Int2ObjectMap; FIELD field_26934 entityList Lnet/minecraft/class_5574; FIELD field_26935 entityManager Lnet/minecraft/class_5579; FIELD field_28859 sleepManager Lnet/minecraft/class_5838; FIELD field_29768 SERVER_IDLE_COOLDOWN I COMMENT The number of ticks ({@value}) the world will continue to tick entities after COMMENT all players have left and the world does not contain any forced chunks. FIELD field_35441 MAX_TICKS I FIELD field_35565 blockEventQueue Ljava/util/List; FIELD field_36208 structureLocator Lnet/minecraft/class_6832; FIELD field_36317 duringListenerUpdate Z METHOD (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;Lnet/minecraft/class_3949;Lnet/minecraft/class_2794;ZJLjava/util/List;Z)V ARG 1 server ARG 2 workerExecutor ARG 3 session ARG 4 properties ARG 5 worldKey ARG 7 worldGenerationProgressListener ARG 8 chunkGenerator ARG 9 debugWorld ARG 10 seed ARG 12 spawners ARG 13 shouldTickTime METHOD method_14166 spawnParticles (Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z COMMENT Spawns a particle visible to {@code viewer}, if the viewer is near the provided COMMENT coordinates. COMMENT COMMENT @return whether the particle packet was sent COMMENT COMMENT @see #spawnParticles(ParticleEffect, double, double, double, int, double, double, double, double) ARG 1 viewer ARG 2 particle ARG 3 force ARG 4 x ARG 6 y ARG 8 z ARG 10 count ARG 11 deltaX ARG 13 deltaY ARG 15 deltaZ ARG 17 speed METHOD method_14171 tickFluid (Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)V ARG 1 pos ARG 2 fluid METHOD method_14173 getPortalForcer ()Lnet/minecraft/class_1946; METHOD method_14174 processBlockEvent (Lnet/minecraft/class_1919;)Z ARG 1 event METHOD method_14175 addEntity (Lnet/minecraft/class_1297;)Z ARG 1 entity METHOD method_14176 save (Lnet/minecraft/class_3536;ZZ)V COMMENT Saves the world. ARG 1 progressListener COMMENT the listener for the saving process, or {@code null} to specify none ARG 2 flush COMMENT if it should immediately write all data to storage device ARG 3 savingDisabled COMMENT whether to return early without doing anything METHOD method_14177 isInBlockTick ()Z METHOD method_14183 getStructureManager ()Lnet/minecraft/class_3485; METHOD method_14188 saveLevel ()V METHOD method_14189 tickBlock (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V ARG 1 pos ARG 2 block METHOD method_14190 getEntity (Ljava/util/UUID;)Lnet/minecraft/class_1297; COMMENT {@return the entity using the UUID, or {@code null} if none was found} COMMENT COMMENT @see World#getEntityById ARG 1 uuid METHOD method_14191 sendToPlayerIfNearby (Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Z COMMENT Sends the {@code packet} to {@code player} if the player COMMENT is near the provided coordinates. COMMENT COMMENT @return whether the packet was sent COMMENT COMMENT @implNote The threshold is 32 blocks if {@code force} is {@code false}, and COMMENT 512 blocks if {@code force} is {@code true}. ARG 1 player ARG 2 force ARG 3 x ARG 5 y ARG 7 z ARG 9 packet METHOD method_14192 processSyncedBlockEvents ()V METHOD method_14195 resetWeather ()V METHOD method_14197 resetIdleTimeout ()V METHOD method_14199 spawnParticles (Lnet/minecraft/class_2394;DDDIDDDD)I COMMENT Spawns a particle visible to nearby players. COMMENT COMMENT @return the number of players the particle packet was sent to COMMENT COMMENT @see #spawnParticles(ServerPlayerEntity, ParticleEffect, boolean, double, double, double, int, double, double, double, double) ARG 1 particle ARG 2 x ARG 4 y ARG 6 z ARG 8 count ARG 9 deltaX ARG 11 deltaY ARG 13 deltaZ ARG 15 speed METHOD method_17983 getPersistentStateManager ()Lnet/minecraft/class_26; METHOD method_17984 getForcedChunks ()Lit/unimi/dsi/fastutil/longs/LongSet; COMMENT {@return the set that contains {@link ChunkPos} of forced chunks serialized as a long} METHOD method_17988 setChunkForced (IIZ)Z COMMENT Sets the forced status of the chunk. COMMENT COMMENT

Forced chunks are created in-game using the COMMENT {@linkplain net.minecraft.server.command.ForceLoadCommand {@code /forceload} command}. ARG 1 x COMMENT the chunk's X coordinate ARG 2 z COMMENT the chunk's Z coordinate ARG 3 forced COMMENT whether to mark the chunk as forced METHOD method_18198 getEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;)Ljava/util/List; COMMENT Computes a list of entities of the given type. COMMENT COMMENT Warning: If {@code null} is passed as the entity type filter, care should be COMMENT taken that the type argument {@code T} is set to {@link Entity}, otherwise heap pollution COMMENT in the returned list or {@link ClassCastException} can occur. COMMENT COMMENT @return a list of entities of the given type ARG 1 filter ARG 2 predicate COMMENT a predicate which returned entities must satisfy METHOD method_18199 (Lnet/minecraft/class_1309;)Z ARG 1 entity METHOD method_18203 tickChunk (Lnet/minecraft/class_2818;I)V ARG 1 chunk ARG 2 randomTickSpeed METHOD method_18207 onPlayerTeleport (Lnet/minecraft/class_3222;)V COMMENT Called on the destination world when a player changed the dimension COMMENT by teleportation. COMMENT COMMENT @see ServerPlayerEntity#moveToWorld COMMENT @see #onDimensionChanged COMMENT @see #onPlayerChangeDimension ARG 1 player METHOD method_18210 getLightningPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338; ARG 1 pos METHOD method_18211 onPlayerChangeDimension (Lnet/minecraft/class_3222;)V COMMENT Called on the destination world when a player changed the dimension using portals. COMMENT COMMENT @see ServerPlayerEntity#moveToWorld COMMENT @see #onDimensionChanged COMMENT @see #onPlayerTeleport ARG 1 player METHOD method_18213 onPlayerConnected (Lnet/minecraft/class_3222;)V COMMENT Called on the player's world when the player connected to the server and spawned. ARG 1 player METHOD method_18215 onPlayerRespawned (Lnet/minecraft/class_3222;)V COMMENT Called on the world that has the player's respawn point when the player respawned. ARG 1 player METHOD method_18762 tickEntity (Lnet/minecraft/class_1297;)V ARG 1 entity METHOD method_18763 tickPassenger (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V ARG 1 vehicle ARG 2 passenger METHOD method_18764 unloadEntities (Lnet/minecraft/class_2818;)V ARG 1 chunk METHOD method_18765 tick (Ljava/util/function/BooleanSupplier;)V ARG 1 shouldKeepTicking METHOD method_18766 getPlayers (Ljava/util/function/Predicate;)Ljava/util/List; COMMENT {@return the list of players filtered using {@code predicate}} ARG 1 predicate METHOD method_18768 tryLoadEntity (Lnet/minecraft/class_1297;)Z ARG 1 entity METHOD method_18769 onDimensionChanged (Lnet/minecraft/class_1297;)V COMMENT Called on the destination world when an entity changed the dimension. COMMENT COMMENT

This does not get called for players changing dimensions. COMMENT Use {@link #onPlayerChangeDimension} (for portals) or COMMENT {@link #onPlayerTeleport} (for teleportation) instead. COMMENT COMMENT @see Entity#moveToWorld COMMENT @see #onPlayerTeleport COMMENT @see #onPlayerChangeDimension ARG 1 entity METHOD method_18770 removePlayer (Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)V ARG 1 player ARG 2 reason METHOD method_18771 addPlayer (Lnet/minecraft/class_3222;)V ARG 1 player METHOD method_18773 (Lnet/minecraft/class_3222;)V ARG 0 player METHOD method_18776 getAliveEnderDragons ()Ljava/util/List; COMMENT {@return the list of alive ender dragons in the world} METHOD method_18779 getRandomAlivePlayer ()Lnet/minecraft/class_3222; COMMENT {@return a randomly selected alive player, or {@code null} if there is none} METHOD method_19494 getPointOfInterestStorage ()Lnet/minecraft/class_4153; METHOD method_19495 getRaidManager ()Lnet/minecraft/class_3767; METHOD method_19496 handleInteraction (Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;Lnet/minecraft/class_4094;)V ARG 1 interaction ARG 2 entity ARG 3 observer METHOD method_19497 isNearOccupiedPointOfInterest (Lnet/minecraft/class_2338;I)Z ARG 1 pos ARG 2 maxDistance METHOD method_19498 getOccupiedPointOfInterestDistance (Lnet/minecraft/class_4076;)I ARG 1 pos METHOD method_19500 isNearOccupiedPointOfInterest (Lnet/minecraft/class_2338;)Z ARG 1 pos METHOD method_19502 getRaidAt (Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765; COMMENT {@return the raid occurring within 96 block radius, or {@code null} if there is none} ARG 1 pos METHOD method_19503 hasRaidAt (Lnet/minecraft/class_2338;)Z COMMENT {@return {@code true} if a raid exists within 96 block radius of {@code pos}} ARG 1 pos METHOD method_19535 (Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)V ARG 2 poiType METHOD method_19536 (Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)V ARG 2 poiType METHOD method_20588 isNearOccupiedPointOfInterest (Lnet/minecraft/class_4076;)Z ARG 1 sectionPos METHOD method_21624 dumpEntities (Ljava/io/Writer;Ljava/lang/Iterable;)V ARG 0 writer ARG 1 entities METHOD method_21625 dump (Ljava/nio/file/Path;)V ARG 1 path METHOD method_21626 dumpBlockEntities (Ljava/io/Writer;)V ARG 1 writer METHOD method_23658 clearUpdatesInArea (Lnet/minecraft/class_3341;)V ARG 1 box METHOD method_23659 (Lnet/minecraft/class_3341;Lnet/minecraft/class_1919;)Z ARG 1 event METHOD method_23660 wakeSleepingPlayers ()V METHOD method_24500 locateBiome (Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;II)Lnet/minecraft/class_2338; ARG 1 biomeKey ARG 2 pos ARG 3 radius ARG 4 blockCheckInterval METHOD method_27056 getStructureAccessor ()Lnet/minecraft/class_5138; METHOD method_27909 iterateEntities ()Ljava/lang/Iterable; METHOD method_27910 setWeather (IIZZ)V COMMENT Sets the current weather, as well as how long it should last. COMMENT COMMENT @see ServerWorldProperties#setClearWeatherTime COMMENT @see ServerWorldProperties#setRainTime COMMENT @see ServerWorldProperties#setThunderTime COMMENT @see ServerWorldProperties#setRaining COMMENT @see ServerWorldProperties#setThundering ARG 1 clearDuration COMMENT how long the clear weather should last, in seconds ARG 2 rainDuration COMMENT how long the rain or the thunderstorm should last, in seconds ARG 3 raining COMMENT whether a rain is ongoing ARG 4 thundering COMMENT whether a thunderstorm is ongoing METHOD method_27911 getSpawnPos ()Lnet/minecraft/class_2338; COMMENT {@return the world spawn point} COMMENT COMMENT @implNote If it is outside the world border, this returns the position of the COMMENT highest {@linkplain Heightmap.Type#MOTION_BLOCKING motion-blocking} block at the center of the world border. METHOD method_28125 isFlat ()Z METHOD method_29198 getEnderDragonFight ()Lnet/minecraft/class_2881; METHOD method_29199 setTimeOfDay (J)V COMMENT Sets the time of day. COMMENT COMMENT

Time of day is different to "time", which is incremented on every tick and COMMENT cannot be modified; Time of day affects the day-night cycle, can be changed using COMMENT {@link net.minecraft.server.command.TimeCommand /time command}, and can be frozen COMMENT if {@link net.minecraft.world.GameRules#DO_DAYLIGHT_CYCLE doDaylightCycle} gamerule is turned off. COMMENT Time is used to track scheduled ticks and cannot be modified or frozen. COMMENT COMMENT @see net.minecraft.world.level.ServerWorldProperties#setTimeOfDay ARG 1 timeOfDay METHOD method_29200 createEndSpawnPlatform (Lnet/minecraft/class_3218;)V ARG 0 world METHOD method_29201 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V ARG 1 pos METHOD method_29202 tickSpawners (ZZ)V ARG 1 spawnMonsters ARG 2 spawnAnimals METHOD method_29203 tickTime ()V METHOD method_29204 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V ARG 1 pos METHOD method_30630 getSpawnAngle ()F METHOD method_30736 spawnNewEntityAndPassengers (Lnet/minecraft/class_1297;)Z COMMENT Checks whether any of the entity and its passengers already exist COMMENT in the world, and if not, spawns the entity with its passengers. COMMENT COMMENT @return {@code true} if the spawning was successful, otherwise {@code false} COMMENT COMMENT @see net.minecraft.world.ServerWorldAccess#spawnEntityAndPassengers ARG 1 entity METHOD method_31071 (Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;)Z ARG 1 entry METHOD method_31268 getDebugString ()Ljava/lang/String; METHOD method_31270 getTopFive (Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String; COMMENT Categories {@code items} with the {@code classifier} and reports a message COMMENT indicating the top five biggest categories. ARG 0 items COMMENT the items to classify ARG 1 classifier COMMENT the classifier that determines the category of any item METHOD method_31418 getLightningRodPos (Lnet/minecraft/class_2338;)Ljava/util/Optional; ARG 1 pos METHOD method_31420 (Lnet/minecraft/class_3695;Lnet/minecraft/class_1297;)V ARG 2 entity METHOD method_31421 (Lnet/minecraft/class_4158;)Z ARG 0 poiType METHOD method_31422 (Ljava/util/function/Predicate;Ljava/util/List;Lnet/minecraft/class_1297;)V ARG 2 entity METHOD method_31423 loadEntities (Ljava/util/stream/Stream;)V ARG 1 entities METHOD method_31424 getDragonPart (I)Lnet/minecraft/class_1297; ARG 1 id METHOD method_31426 addEntities (Ljava/util/stream/Stream;)V ARG 1 entities METHOD method_31430 shouldCancelSpawn (Lnet/minecraft/class_1297;)Z ARG 1 entity METHOD method_32310 (Lnet/minecraft/class_2487;)Lnet/minecraft/class_3767; ARG 1 nbt METHOD method_32817 sendVibrationPacket (Lnet/minecraft/class_5720;)V ARG 1 vibration METHOD method_32818 (Lnet/minecraft/class_2338;Lnet/minecraft/class_5747;Lnet/minecraft/class_3222;)V ARG 3 player METHOD method_32819 getLogicalHeight ()I METHOD method_33143 sendSleepingStatus ()V COMMENT Sends sleeping status action bar messages to players in this world. METHOD method_33144 isSleepingEnabled ()Z COMMENT {@return whether sleeping can cause the night to skip} METHOD method_34679 (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338; ARG 0 pos METHOD method_34680 (Lnet/minecraft/class_2338;)Z ARG 1 pos METHOD method_37116 isChunkLoaded (J)Z COMMENT {@return {@code true} if the chunk {@code chunkPos} is loaded} ARG 1 chunkPos METHOD method_37117 isTickingFutureReady (J)Z ARG 1 chunkPos METHOD method_37118 shouldTickEntity (Lnet/minecraft/class_2338;)Z COMMENT {@return whether to tick entities at {@code pos}} ARG 1 pos METHOD method_39223 disableTickSchedulers (Lnet/minecraft/class_2818;)V ARG 1 chunk METHOD method_39501 tickWeather ()V METHOD method_39778 cacheStructures (Lnet/minecraft/class_2791;)V ARG 1 chunk METHOD method_39998 shouldTick (Lnet/minecraft/class_1923;)Z ARG 1 pos METHOD method_39999 shouldTick (Lnet/minecraft/class_2338;)Z ARG 1 pos METHOD method_8448 updateSleepingPlayers ()V METHOD method_8487 locateStructure (Lnet/minecraft/class_3195;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338; COMMENT Tries to find the closest structure of a given type near a given block. COMMENT

COMMENT New chunks will only be generated up to the {@link net.minecraft.world.chunk.ChunkStatus#STRUCTURE_STARTS} phase by this method. COMMENT

COMMENT The radius is ignored for strongholds. COMMENT COMMENT @return the position of the structure, or {@code null} if no structure could be found within the given search radius COMMENT COMMENT @see ChunkGenerator#locateStructure ARG 1 feature COMMENT the structure feature to search for ARG 2 pos COMMENT the position to start the searching at ARG 3 radius COMMENT the search radius in chunks around the chunk the given block position is in; a radius of 0 will only search in the given chunk ARG 4 skipExistingChunks COMMENT whether only structures that are not referenced by generated chunks (chunks past the {@code STRUCTURE_STARTS} stage) are returned, excluding strongholds METHOD method_8554 setSpawnPos (Lnet/minecraft/class_2338;F)V COMMENT Sets the world spawn point. ARG 1 pos COMMENT the position of the spawn point ARG 2 angle COMMENT the angle of the spawned entity CLASS class_5526 ServerEntityHandler