2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|
|
|
FIELD field_13948 idleTimeout I
|
2021-10-27 13:08:35 -04:00
|
|
|
FIELD field_13949 blockTickScheduler Lnet/minecraft/class_6757;
|
2020-05-02 16:29:07 -04:00
|
|
|
FIELD field_13950 syncedBlockEventQueue Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
|
2021-10-27 13:08:35 -04:00
|
|
|
FIELD field_13951 fluidTickScheduler Lnet/minecraft/class_6757;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_13952 LOGGER Lorg/slf4j/Logger;
|
2020-04-06 19:29:55 -04:00
|
|
|
FIELD field_13953 inBlockTick Z
|
2019-06-28 17:55:20 -04:00
|
|
|
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;
|
2020-04-04 16:19:01 -04:00
|
|
|
FIELD field_23787 structureAccessor Lnet/minecraft/class_5138;
|
2020-07-09 13:43:08 -04:00
|
|
|
FIELD field_24456 worldProperties Lnet/minecraft/class_5268;
|
2021-06-28 10:22:10 -04:00
|
|
|
FIELD field_24624 chunkManager Lnet/minecraft/class_3215;
|
2020-07-07 17:52:20 -04:00
|
|
|
FIELD field_25141 spawners Ljava/util/List;
|
2020-05-20 16:29:52 -04:00
|
|
|
FIELD field_25142 enderDragonFight Lnet/minecraft/class_2881;
|
2020-10-13 03:54:19 -04:00
|
|
|
FIELD field_25143 shouldTickTime Z
|
2020-06-18 15:16:49 -04:00
|
|
|
FIELD field_25144 END_SPAWN_POS Lnet/minecraft/class_2338;
|
2021-02-10 14:35:29 -05:00
|
|
|
FIELD field_26932 loadedMobs Ljava/util/Set;
|
2020-11-05 18:40:31 -05:00
|
|
|
FIELD field_26933 dragonParts Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
|
|
|
|
FIELD field_26934 entityList Lnet/minecraft/class_5574;
|
2020-12-31 09:22:27 -05:00
|
|
|
FIELD field_26935 entityManager Lnet/minecraft/class_5579;
|
2021-02-27 05:56:42 -05:00
|
|
|
FIELD field_28859 sleepManager Lnet/minecraft/class_5838;
|
2021-04-08 05:41:09 -04:00
|
|
|
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.
|
2021-11-03 13:59:35 -04:00
|
|
|
FIELD field_35441 MAX_TICKS I
|
2021-11-09 11:55:29 -05:00
|
|
|
FIELD field_35565 blockEventQueue Ljava/util/List;
|
2021-11-22 11:08:36 -05:00
|
|
|
FIELD field_36208 structureLocator Lnet/minecraft/class_6832;
|
2021-12-03 20:55:07 -05:00
|
|
|
FIELD field_36317 duringListenerUpdate Z
|
2022-10-22 09:46:38 -04:00
|
|
|
FIELD field_39984 gameEventDispatchManager Lnet/minecraft/class_7719;
|
2023-01-20 01:31:03 -05:00
|
|
|
FIELD field_41748 CLEAR_THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
|
|
|
FIELD field_41749 CLEAR_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
|
|
|
FIELD field_41750 RAIN_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
|
|
|
FIELD field_41751 THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
2023-05-11 12:22:00 -04:00
|
|
|
FIELD field_44857 randomSequences Lnet/minecraft/class_8565;
|
2023-05-16 10:06:26 -04:00
|
|
|
METHOD <init> (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_5363;Lnet/minecraft/class_3949;ZJLjava/util/List;ZLnet/minecraft/class_8565;)V
|
2020-06-01 17:36:30 -04:00
|
|
|
ARG 1 server
|
|
|
|
ARG 2 workerExecutor
|
|
|
|
ARG 3 session
|
|
|
|
ARG 4 properties
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 5 worldKey
|
2022-03-30 05:10:15 -04:00
|
|
|
ARG 6 dimensionOptions
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 7 worldGenerationProgressListener
|
2022-03-30 05:10:15 -04:00
|
|
|
ARG 8 debugWorld
|
|
|
|
ARG 9 seed
|
|
|
|
ARG 11 spawners
|
|
|
|
ARG 12 shouldTickTime
|
2023-05-18 07:15:52 -04:00
|
|
|
ARG 13 randomSequencesState
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14166 spawnParticles (Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
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)
|
2019-03-31 07:34:42 -04:00
|
|
|
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
|
2021-10-27 13:08:35 -04:00
|
|
|
METHOD method_14171 tickFluid (Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)V
|
2021-11-03 13:59:35 -04:00
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 fluid
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14173 getPortalForcer ()Lnet/minecraft/class_1946;
|
2020-05-02 16:29:07 -04:00
|
|
|
METHOD method_14174 processBlockEvent (Lnet/minecraft/class_1919;)Z
|
|
|
|
ARG 1 event
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14175 addEntity (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_14176 save (Lnet/minecraft/class_3536;ZZ)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Saves the world.
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 progressListener
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the listener for the saving process, or {@code null} to specify none
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 flush
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT if it should immediately write all data to storage device
|
2021-11-23 12:20:47 -05:00
|
|
|
ARG 3 savingDisabled
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT whether to return early without doing anything
|
2020-04-06 19:29:55 -04:00
|
|
|
METHOD method_14177 isInBlockTick ()Z
|
2022-06-01 11:07:00 -04:00
|
|
|
METHOD method_14183 getStructureTemplateManager ()Lnet/minecraft/class_3485;
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14188 saveLevel ()V
|
2021-10-27 13:08:35 -04:00
|
|
|
METHOD method_14189 tickBlock (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
|
2021-11-03 13:59:35 -04:00
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 block
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14190 getEntity (Ljava/util/UUID;)Lnet/minecraft/class_1297;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return the entity using the UUID, or {@code null} if none was found}
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see World#getEntityById
|
2020-12-31 09:22:27 -05:00
|
|
|
ARG 1 uuid
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14191 sendToPlayerIfNearby (Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
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}.
|
2019-03-31 07:34:42 -04:00
|
|
|
ARG 1 player
|
|
|
|
ARG 2 force
|
|
|
|
ARG 3 x
|
|
|
|
ARG 5 y
|
|
|
|
ARG 7 z
|
|
|
|
ARG 9 packet
|
2020-05-02 16:29:07 -04:00
|
|
|
METHOD method_14192 processSyncedBlockEvents ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14195 resetWeather ()V
|
|
|
|
METHOD method_14197 resetIdleTimeout ()V
|
|
|
|
METHOD method_14199 spawnParticles (Lnet/minecraft/class_2394;DDDIDDDD)I
|
2022-02-09 06:36:29 -05:00
|
|
|
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)
|
2019-06-28 17:55:20 -04:00
|
|
|
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;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return the set that contains {@link ChunkPos} of forced chunks serialized as a long}
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17988 setChunkForced (IIZ)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Sets the forced status of the chunk.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Forced chunks are created in-game using the
|
|
|
|
COMMENT {@linkplain net.minecraft.server.command.ForceLoadCommand {@code /forceload} command}.
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 x
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the chunk's X coordinate
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the chunk's Z coordinate
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 3 forced
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT whether to mark the chunk as forced
|
2020-11-04 15:44:22 -05:00
|
|
|
METHOD method_18198 getEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;)Ljava/util/List;
|
2020-07-16 11:08:44 -04:00
|
|
|
COMMENT Computes a list of entities of the given type.
|
|
|
|
COMMENT
|
2021-01-21 13:44:55 -05:00
|
|
|
COMMENT <strong>Warning:</strong> If {@code null} is passed as the entity type filter, care should be
|
2020-07-16 11:08:44 -04:00
|
|
|
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
|
2021-11-19 05:48:47 -05:00
|
|
|
ARG 1 filter
|
2020-07-16 11:08:44 -04:00
|
|
|
ARG 2 predicate
|
|
|
|
COMMENT a predicate which returned entities must satisfy
|
2020-07-10 08:00:14 -04:00
|
|
|
METHOD method_18199 (Lnet/minecraft/class_1309;)Z
|
|
|
|
ARG 1 entity
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18203 tickChunk (Lnet/minecraft/class_2818;I)V
|
|
|
|
ARG 1 chunk
|
|
|
|
ARG 2 randomTickSpeed
|
2019-12-05 18:28:21 -05:00
|
|
|
METHOD method_18207 onPlayerTeleport (Lnet/minecraft/class_3222;)V
|
2022-02-09 06:36:29 -05:00
|
|
|
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
|
2019-12-05 18:28:21 -05:00
|
|
|
ARG 1 player
|
2021-12-03 10:07:09 -05:00
|
|
|
METHOD method_18210 getLightningPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
|
2019-07-08 12:09:22 -04:00
|
|
|
ARG 1 pos
|
2019-12-05 18:28:21 -05:00
|
|
|
METHOD method_18211 onPlayerChangeDimension (Lnet/minecraft/class_3222;)V
|
2022-02-09 06:36:29 -05:00
|
|
|
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
|
2019-12-05 18:28:21 -05:00
|
|
|
ARG 1 player
|
|
|
|
METHOD method_18213 onPlayerConnected (Lnet/minecraft/class_3222;)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Called on the player's world when the player connected to the server and spawned.
|
2019-12-05 18:28:21 -05:00
|
|
|
ARG 1 player
|
|
|
|
METHOD method_18215 onPlayerRespawned (Lnet/minecraft/class_3222;)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Called on the world that has the player's respawn point when the player respawned.
|
2019-12-05 18:28:21 -05:00
|
|
|
ARG 1 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18762 tickEntity (Lnet/minecraft/class_1297;)V
|
2020-06-01 17:36:30 -04:00
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_18763 tickPassenger (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 1 vehicle
|
|
|
|
ARG 2 passenger
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18764 unloadEntities (Lnet/minecraft/class_2818;)V
|
|
|
|
ARG 1 chunk
|
|
|
|
METHOD method_18765 tick (Ljava/util/function/BooleanSupplier;)V
|
2020-01-11 10:59:41 -05:00
|
|
|
ARG 1 shouldKeepTicking
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18766 getPlayers (Ljava/util/function/Predicate;)Ljava/util/List;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return the list of players filtered using {@code predicate}}
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 predicate
|
2019-12-05 18:28:21 -05:00
|
|
|
METHOD method_18768 tryLoadEntity (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_18769 onDimensionChanged (Lnet/minecraft/class_1297;)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Called on the destination world when an entity changed the dimension.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>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
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 1 entity
|
2020-11-04 15:44:22 -05:00
|
|
|
METHOD method_18770 removePlayer (Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)V
|
2019-03-31 07:15:05 -04:00
|
|
|
ARG 1 player
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 2 reason
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18771 addPlayer (Lnet/minecraft/class_3222;)V
|
|
|
|
ARG 1 player
|
2020-07-10 08:00:14 -04:00
|
|
|
METHOD method_18773 (Lnet/minecraft/class_3222;)V
|
|
|
|
ARG 0 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18776 getAliveEnderDragons ()Ljava/util/List;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return the list of alive ender dragons in the world}
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18779 getRandomAlivePlayer ()Lnet/minecraft/class_3222;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return a randomly selected alive player, or {@code null} if there is none}
|
2019-06-28 17:55:20 -04:00
|
|
|
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
|
2020-03-20 14:16:55 -04:00
|
|
|
ARG 2 entity
|
2019-06-28 17:55:20 -04:00
|
|
|
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;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return the raid occurring within 96 block radius, or {@code null} if there is none}
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_19503 hasRaidAt (Lnet/minecraft/class_2338;)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return {@code true} if a raid exists within 96 block radius of {@code pos}}
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pos
|
2022-10-24 10:23:16 -04:00
|
|
|
METHOD method_19535 (Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)V
|
|
|
|
ARG 2 newPoiType
|
|
|
|
METHOD method_19536 (Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)V
|
|
|
|
ARG 2 oldPoiType
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_20588 isNearOccupiedPointOfInterest (Lnet/minecraft/class_4076;)Z
|
2020-03-20 14:16:55 -04:00
|
|
|
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
|
2021-05-25 23:35:43 -04:00
|
|
|
ARG 1 path
|
2020-03-20 14:16:55 -04:00
|
|
|
METHOD method_21626 dumpBlockEntities (Ljava/io/Writer;)V
|
|
|
|
ARG 1 writer
|
|
|
|
METHOD method_23658 clearUpdatesInArea (Lnet/minecraft/class_3341;)V
|
|
|
|
ARG 1 box
|
2021-11-19 05:48:47 -05:00
|
|
|
METHOD method_23659 (Lnet/minecraft/class_3341;Lnet/minecraft/class_1919;)Z
|
|
|
|
ARG 1 event
|
2020-03-20 14:16:55 -04:00
|
|
|
METHOD method_23660 wakeSleepingPlayers ()V
|
2020-04-04 16:19:01 -04:00
|
|
|
METHOD method_27056 getStructureAccessor ()Lnet/minecraft/class_5138;
|
2020-05-02 08:31:15 -04:00
|
|
|
METHOD method_27909 iterateEntities ()Ljava/lang/Iterable;
|
2020-07-09 13:43:08 -04:00
|
|
|
METHOD method_27910 setWeather (IIZZ)V
|
2022-02-09 06:36:29 -05:00
|
|
|
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
|
2020-07-09 13:43:08 -04:00
|
|
|
ARG 1 clearDuration
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT how long the clear weather should last, in seconds
|
2020-07-09 13:43:08 -04:00
|
|
|
ARG 2 rainDuration
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT how long the rain or the thunderstorm should last, in seconds
|
2020-07-09 13:43:08 -04:00
|
|
|
ARG 3 raining
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT whether a rain is ongoing
|
2020-07-09 13:43:08 -04:00
|
|
|
ARG 4 thundering
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT whether a thunderstorm is ongoing
|
2020-06-18 15:16:49 -04:00
|
|
|
METHOD method_28125 isFlat ()Z
|
|
|
|
METHOD method_29198 getEnderDragonFight ()Lnet/minecraft/class_2881;
|
2020-07-09 13:43:08 -04:00
|
|
|
METHOD method_29199 setTimeOfDay (J)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Sets the time of day.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>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
|
2020-07-09 13:43:08 -04:00
|
|
|
ARG 1 timeOfDay
|
2020-06-18 15:16:49 -04:00
|
|
|
METHOD method_29200 createEndSpawnPlatform (Lnet/minecraft/class_3218;)V
|
|
|
|
ARG 0 world
|
2021-11-19 05:48:47 -05:00
|
|
|
METHOD method_29201 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
|
|
|
|
ARG 1 pos
|
2020-07-07 17:52:20 -04:00
|
|
|
METHOD method_29202 tickSpawners (ZZ)V
|
|
|
|
ARG 1 spawnMonsters
|
|
|
|
ARG 2 spawnAnimals
|
2020-06-07 10:20:57 -04:00
|
|
|
METHOD method_29203 tickTime ()V
|
2021-11-19 05:48:47 -05:00
|
|
|
METHOD method_29204 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
|
|
|
|
ARG 1 pos
|
2021-11-24 15:18:33 -05:00
|
|
|
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
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 1 entity
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_31268 getDebugString ()Ljava/lang/String;
|
2021-02-10 14:35:29 -05:00
|
|
|
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
|
2021-05-25 23:35:43 -04:00
|
|
|
METHOD method_31418 getLightningRodPos (Lnet/minecraft/class_2338;)Ljava/util/Optional;
|
|
|
|
ARG 1 pos
|
2020-11-05 18:40:31 -05:00
|
|
|
METHOD method_31420 (Lnet/minecraft/class_3695;Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 2 entity
|
2022-11-12 10:09:15 -05:00
|
|
|
METHOD method_31421 (Lnet/minecraft/class_6880;)Z
|
|
|
|
ARG 0 poiType
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31423 loadEntities (Ljava/util/stream/Stream;)V
|
|
|
|
ARG 1 entities
|
2021-03-10 13:34:17 -05:00
|
|
|
METHOD method_31424 getDragonPart (I)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 id
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31426 addEntities (Ljava/util/stream/Stream;)V
|
|
|
|
ARG 1 entities
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_31430 shouldCancelSpawn (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 1 entity
|
2022-11-12 10:09:15 -05:00
|
|
|
METHOD method_31431 (Lnet/minecraft/class_1297;)Ljava/lang/String;
|
|
|
|
ARG 0 entity
|
2021-10-27 13:08:35 -04:00
|
|
|
METHOD method_32819 getLogicalHeight ()I
|
2021-09-20 11:52:01 -04:00
|
|
|
METHOD method_33143 sendSleepingStatus ()V
|
|
|
|
COMMENT Sends sleeping status action bar messages to players in this world.
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_33144 isSleepingEnabled ()Z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return whether sleeping can cause the night to skip}
|
2021-05-25 23:35:43 -04:00
|
|
|
METHOD method_34679 (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
|
2023-06-20 18:11:48 -04:00
|
|
|
ARG 0 innerPos
|
2021-05-25 23:35:43 -04:00
|
|
|
METHOD method_34680 (Lnet/minecraft/class_2338;)Z
|
2023-06-20 18:11:48 -04:00
|
|
|
ARG 1 innerPos
|
2021-10-17 09:49:30 -04:00
|
|
|
METHOD method_37116 isChunkLoaded (J)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return {@code true} if the chunk {@code chunkPos} is loaded}
|
2021-10-17 09:49:30 -04:00
|
|
|
ARG 1 chunkPos
|
2021-10-27 13:08:35 -04:00
|
|
|
METHOD method_37117 isTickingFutureReady (J)Z
|
2021-11-03 13:59:35 -04:00
|
|
|
ARG 1 chunkPos
|
2021-10-17 09:49:30 -04:00
|
|
|
METHOD method_37118 shouldTickEntity (Lnet/minecraft/class_2338;)Z
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT {@return whether to tick entities at {@code pos}}
|
2021-10-17 09:49:30 -04:00
|
|
|
ARG 1 pos
|
2021-11-03 13:59:35 -04:00
|
|
|
METHOD method_39223 disableTickSchedulers (Lnet/minecraft/class_2818;)V
|
|
|
|
ARG 1 chunk
|
2021-11-13 08:54:41 -05:00
|
|
|
METHOD method_39501 tickWeather ()V
|
2021-11-23 12:24:16 -05:00
|
|
|
METHOD method_39778 cacheStructures (Lnet/minecraft/class_2791;)V
|
|
|
|
ARG 1 chunk
|
2022-02-09 06:33:27 -05:00
|
|
|
METHOD method_39998 shouldTick (Lnet/minecraft/class_1923;)Z
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_39999 shouldTick (Lnet/minecraft/class_2338;)Z
|
|
|
|
ARG 1 pos
|
2022-03-30 05:48:16 -04:00
|
|
|
METHOD method_42108 locateBiome (Ljava/util/function/Predicate;Lnet/minecraft/class_2338;III)Lcom/mojang/datafixers/util/Pair;
|
|
|
|
ARG 1 predicate
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 radius
|
|
|
|
ARG 4 horizontalBlockCheckInterval
|
|
|
|
ARG 5 verticalBlockCheckInterval
|
2022-11-18 12:15:10 -05:00
|
|
|
METHOD method_47538 collectEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;)V
|
|
|
|
ARG 1 filter
|
|
|
|
ARG 2 predicate
|
|
|
|
ARG 3 result
|
|
|
|
METHOD method_47539 collectEntitiesByType (Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;I)V
|
|
|
|
COMMENT Collects entities of the given type, up to {@code limit}. Using this can improve
|
|
|
|
COMMENT performance, especially if {@code limit} is small.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #getEntitiesByType
|
|
|
|
ARG 1 filter
|
|
|
|
ARG 2 predicate
|
|
|
|
ARG 3 result
|
|
|
|
ARG 4 limit
|
|
|
|
METHOD method_47540 getPlayers (Ljava/util/function/Predicate;I)Ljava/util/List;
|
|
|
|
COMMENT {@return the list of players filtered using {@code predicate}, up to {@code limit}}
|
|
|
|
ARG 1 predicate
|
|
|
|
ARG 2 limit
|
|
|
|
METHOD method_47541 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/class_1297;)Lnet/minecraft/class_7927$class_7928;
|
|
|
|
ARG 3 entity
|
2023-05-11 12:22:00 -04:00
|
|
|
METHOD method_51836 getOrCreateRandom (Lnet/minecraft/class_2960;)Lnet/minecraft/class_5819;
|
|
|
|
ARG 1 id
|
|
|
|
METHOD method_51837 setEnderDragonFight (Lnet/minecraft/class_2881;)V
|
|
|
|
ARG 1 enderDragonFight
|
2023-05-18 07:15:52 -04:00
|
|
|
METHOD method_52168 getRandomSequences ()Lnet/minecraft/class_8565;
|
2023-08-03 00:44:06 -04:00
|
|
|
METHOD method_52370 tickIceAndSnow (ZLnet/minecraft/class_2338;)V
|
|
|
|
ARG 1 raining
|
|
|
|
ARG 2 pos
|
2020-03-11 12:17:29 -04:00
|
|
|
METHOD method_8448 updateSleepingPlayers ()V
|
2022-02-18 12:15:29 -05:00
|
|
|
METHOD method_8487 locateStructure (Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Tries to find the closest structure of a given type near a given block.
|
|
|
|
COMMENT <p>
|
|
|
|
COMMENT New chunks will only be generated up to the {@link net.minecraft.world.chunk.ChunkStatus#STRUCTURE_STARTS} phase by this method.
|
|
|
|
COMMENT <p>
|
|
|
|
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
|
2022-05-30 10:51:30 -04:00
|
|
|
COMMENT @see net.minecraft.world.gen.chunk.ChunkGenerator#locateStructure(ServerWorld, RegistryEntryList, BlockPos, int, boolean)
|
2022-02-22 12:00:35 -05:00
|
|
|
ARG 1 structureTag
|
2020-06-07 11:01:40 -04:00
|
|
|
ARG 2 pos
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the position to start the searching at
|
2020-06-07 11:01:40 -04:00
|
|
|
ARG 3 radius
|
2022-02-09 06:36:29 -05:00
|
|
|
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
|
2022-05-30 10:51:30 -04:00
|
|
|
ARG 4 skipReferencedStructures
|
|
|
|
COMMENT whether to exclude structures that were previously located (has positive
|
|
|
|
COMMENT {@link net.minecraft.structure.StructureStart#references})
|
2020-07-15 12:04:53 -04:00
|
|
|
METHOD method_8554 setSpawnPos (Lnet/minecraft/class_2338;F)V
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT Sets the world spawn point.
|
2020-06-07 11:01:40 -04:00
|
|
|
ARG 1 pos
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the position of the spawn point
|
2020-07-16 10:46:34 -04:00
|
|
|
ARG 2 angle
|
2022-02-09 06:36:29 -05:00
|
|
|
COMMENT the angle of the spawned entity
|
2021-02-10 14:35:29 -05:00
|
|
|
CLASS class_5526 ServerEntityHandler
|