2020-12-31 09:22:27 -05:00
|
|
|
CLASS net/minecraft/class_5579 net/minecraft/server/world/ServerEntityManager
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT An entity manager for a server environment.
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_27260 LOGGER Lorg/slf4j/Logger;
|
2020-11-05 18:40:31 -05:00
|
|
|
FIELD field_27261 entityUuids Ljava/util/Set;
|
2021-02-10 14:35:29 -05:00
|
|
|
FIELD field_27262 handler Lnet/minecraft/class_5576;
|
|
|
|
FIELD field_27263 dataAccess Lnet/minecraft/class_5571;
|
|
|
|
FIELD field_27264 index Lnet/minecraft/class_5570;
|
|
|
|
FIELD field_27265 cache Lnet/minecraft/class_5573;
|
|
|
|
FIELD field_27266 lookup Lnet/minecraft/class_5577;
|
|
|
|
FIELD field_27267 trackingStatuses Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
|
|
|
FIELD field_27268 managedStatuses Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
|
|
|
FIELD field_27269 pendingUnloads Lit/unimi/dsi/fastutil/longs/LongSet;
|
2020-11-05 18:40:31 -05:00
|
|
|
FIELD field_27270 loadingQueue Ljava/util/Queue;
|
|
|
|
METHOD <init> (Ljava/lang/Class;Lnet/minecraft/class_5576;Lnet/minecraft/class_5571;)V
|
2021-02-10 14:35:29 -05:00
|
|
|
ARG 1 entityClass
|
|
|
|
ARG 2 handler
|
|
|
|
ARG 3 dataAccess
|
|
|
|
METHOD method_31809 tick ()V
|
|
|
|
METHOD method_31810 readIfFresh (J)V
|
|
|
|
ARG 1 chunkPos
|
|
|
|
METHOD method_31811 entityLeftSection (JLnet/minecraft/class_5572;)V
|
|
|
|
ARG 1 sectionPos
|
|
|
|
ARG 3 section
|
|
|
|
METHOD method_31812 trySave (JLjava/util/function/Consumer;)Z
|
|
|
|
COMMENT Tries to save entities in a chunk and performs an {@code action} on each
|
|
|
|
COMMENT saved entity if successful.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>If a chunk is {@link Status#FRESH} or {@link Status#PENDING}, it
|
|
|
|
COMMENT cannot be saved.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return whether the saving is successful
|
|
|
|
ARG 1 chunkPos
|
|
|
|
ARG 3 action
|
|
|
|
COMMENT action performed on each saved entity if saving is successful
|
|
|
|
METHOD method_31813 (Lnet/minecraft/class_4456;J)V
|
|
|
|
ARG 2 chunkPos
|
|
|
|
METHOD method_31814 (Lnet/minecraft/class_4456;Lnet/minecraft/class_5579$class_5581;J)V
|
|
|
|
ARG 3 sectionPos
|
2023-05-10 09:10:04 -04:00
|
|
|
METHOD method_31815 updateTrackingStatus (Lnet/minecraft/class_1923;Lnet/minecraft/class_3194;)V
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT Updates the tracking status of tracking sections in a chunk at {@code
|
|
|
|
COMMENT chunkPos} given the {@code levelType}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see updateTrackingStatus(ChunkPos, EntityTrackingStatus)
|
|
|
|
ARG 1 chunkPos
|
|
|
|
COMMENT the chunk to update
|
|
|
|
ARG 2 levelType
|
|
|
|
COMMENT the updated level type of the chunk
|
|
|
|
METHOD method_31816 updateTrackingStatus (Lnet/minecraft/class_1923;Lnet/minecraft/class_5584;)V
|
|
|
|
COMMENT Updates the {@code trackingStatus} of tracking sections in a chunk
|
|
|
|
COMMENT at {@code chunkPos}.
|
|
|
|
ARG 1 chunkPos
|
|
|
|
COMMENT the chunk to update
|
|
|
|
ARG 2 trackingStatus
|
|
|
|
COMMENT the updated section tracking status
|
2022-01-17 19:52:32 -05:00
|
|
|
METHOD method_31817 (Lnet/minecraft/class_1923;Ljava/lang/Throwable;)Ljava/lang/Void;
|
|
|
|
ARG 1 throwable
|
2020-11-05 18:40:31 -05:00
|
|
|
METHOD method_31818 addEntity (Lnet/minecraft/class_5568;)Z
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT Adds a newly created entity to this manager.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return if the entity was added
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT the newly created entity
|
2020-11-05 18:40:31 -05:00
|
|
|
METHOD method_31820 addEntity (Lnet/minecraft/class_5568;Z)Z
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT Loads or adds an entity to this manager.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return if the entity was loaded or added
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT the entity
|
|
|
|
ARG 2 existing
|
|
|
|
COMMENT whether this entity is loaded from the map than created anew
|
2022-01-17 19:52:32 -05:00
|
|
|
METHOD method_31821 (Lnet/minecraft/class_5572;)Ljava/util/stream/Stream;
|
|
|
|
ARG 0 section
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31825 (Lnet/minecraft/class_5584;Lnet/minecraft/class_5572;)V
|
|
|
|
ARG 2 group
|
|
|
|
METHOD method_31826 dump (Ljava/io/Writer;)V
|
|
|
|
ARG 1 writer
|
|
|
|
METHOD method_31827 has (Ljava/util/UUID;)Z
|
|
|
|
ARG 1 uuid
|
|
|
|
METHOD method_31828 loadEntities (Ljava/util/stream/Stream;)V
|
|
|
|
COMMENT Loads a few entities from disk to this manager.
|
|
|
|
ARG 1 entities
|
|
|
|
METHOD method_31829 save ()V
|
|
|
|
METHOD method_31830 scheduleRead (J)V
|
|
|
|
ARG 1 chunkPos
|
|
|
|
METHOD method_31831 addEntityUuid (Lnet/minecraft/class_5568;)Z
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31832 getNeededLoadStatus (Lnet/minecraft/class_5568;Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
|
|
|
|
ARG 0 entity
|
|
|
|
ARG 1 current
|
|
|
|
METHOD method_31835 addEntities (Ljava/util/stream/Stream;)V
|
|
|
|
COMMENT Adds a few newly created entities to this manager.
|
|
|
|
ARG 1 entities
|
|
|
|
METHOD method_31836 flush ()V
|
|
|
|
METHOD method_31837 unload (J)Z
|
|
|
|
ARG 1 chunkPos
|
|
|
|
METHOD method_31838 startTicking (Lnet/minecraft/class_5568;)V
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31841 getLookup ()Lnet/minecraft/class_5577;
|
|
|
|
METHOD method_31842 (J)Z
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_31843 stopTicking (Lnet/minecraft/class_5568;)V
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2020-12-31 09:22:27 -05:00
|
|
|
METHOD method_31845 getDebugString ()Ljava/lang/String;
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31846 (J)V
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_31847 startTracking (Lnet/minecraft/class_5568;)V
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31849 (J)Z
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_31850 stopTracking (Lnet/minecraft/class_5568;)V
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31851 unloadChunks ()V
|
|
|
|
METHOD method_31852 unload (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_31853 loadChunks ()V
|
2022-01-17 19:52:32 -05:00
|
|
|
METHOD method_31854 (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 0 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31855 getLoadedChunks ()Lit/unimi/dsi/fastutil/longs/LongSet;
|
2022-01-17 19:52:32 -05:00
|
|
|
METHOD method_31856 (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 0 entity
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31857 (Lnet/minecraft/class_5568;)V
|
2020-11-05 18:40:31 -05:00
|
|
|
ARG 1 entity
|
2022-01-17 19:52:32 -05:00
|
|
|
METHOD method_31858 (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 1 entity
|
2021-10-17 09:49:30 -04:00
|
|
|
METHOD method_31859 (Lnet/minecraft/class_5568;)Z
|
|
|
|
ARG 0 entity
|
|
|
|
METHOD method_31860 (Lnet/minecraft/class_5568;)Z
|
|
|
|
ARG 0 entity
|
|
|
|
METHOD method_31861 (Lnet/minecraft/class_5568;)Z
|
|
|
|
ARG 0 entity
|
|
|
|
METHOD method_31862 (Lnet/minecraft/class_5568;)Z
|
|
|
|
ARG 0 entity
|
2020-11-05 18:40:31 -05:00
|
|
|
METHOD method_31863 (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_31864 (Lnet/minecraft/class_5568;)V
|
|
|
|
ARG 1 entity
|
2021-10-17 09:49:30 -04:00
|
|
|
METHOD method_37252 isLoaded (J)Z
|
|
|
|
ARG 1 chunkPos
|
2022-02-09 06:33:27 -05:00
|
|
|
METHOD method_40021 shouldTick (Lnet/minecraft/class_1923;)Z
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_40022 shouldTick (Lnet/minecraft/class_2338;)Z
|
|
|
|
ARG 1 pos
|
2021-02-10 14:35:29 -05:00
|
|
|
CLASS class_5580 Listener
|
|
|
|
FIELD field_27271 manager Lnet/minecraft/class_5579;
|
2020-11-05 18:40:31 -05:00
|
|
|
FIELD field_27272 entity Lnet/minecraft/class_5568;
|
2021-02-10 14:35:29 -05:00
|
|
|
FIELD field_27273 sectionPos J
|
|
|
|
FIELD field_27274 section Lnet/minecraft/class_5572;
|
2021-11-09 11:55:29 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/class_5579;Lnet/minecraft/class_5568;JLnet/minecraft/class_5572;)V
|
|
|
|
ARG 2 entity
|
2022-02-09 11:42:22 -05:00
|
|
|
ARG 3 sectionPos
|
2021-11-09 11:55:29 -05:00
|
|
|
ARG 5 section
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31865 updateLoadStatus (Lnet/minecraft/class_5584;Lnet/minecraft/class_5584;)V
|
|
|
|
ARG 1 oldStatus
|
|
|
|
ARG 2 newStatus
|
|
|
|
CLASS class_5581 Status
|
|
|
|
COMMENT The status of chunks within a server entity manager.
|