Package net.minecraft.server.world
Class ServerEntityManager<T extends EntityLike>
java.lang.Object
net.minecraft.server.world.ServerEntityManager<T>
- All Implemented Interfaces:
AutoCloseable
public class ServerEntityManager<T extends EntityLike> extends Object implements AutoCloseable
- Mappings:
Namespace Name official clm
intermediary net/minecraft/class_5579
named net/minecraft/server/world/ServerEntityManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ServerEntityManager.class_5580
(package private) static class
ServerEntityManager.class_5581
-
Field Summary
Fields Modifier and Type Field Description private EntityLoader<T>
entityLoader
private Set<UUID>
entityUuids
private class_5571<T>
field_27263
private class_5573<T>
field_27265
private class_5577<T>
field_27266
private Long2ObjectMap<class_5584>
field_27267
private Long2ObjectMap<ServerEntityManager.class_5581>
field_27268
private LongSet
field_27269
private Queue<class_5566<T>>
loadingQueue
private static Logger
LOGGER
private class_5570<T>
trackedEntities
-
Constructor Summary
Constructors Constructor Description ServerEntityManager(Class<T> class2, EntityLoader<T> entityLoader, class_5571<T> class_5571)
-
Method Summary
Modifier and Type Method Description boolean
addEntity(T entity)
private boolean
addEntity(T entity, boolean bool)
private boolean
canAddEntity(T entity)
void
close()
String
getDebugString()
void
method_31809()
private void
method_31810(long long2)
private void
method_31811(long long2, class_5572<T> class_5572)
private boolean
method_31812(long long2, Consumer<T> consumer)
void
method_31815(ChunkPos chunkPos, ChunkHolder.LevelType levelType)
void
method_31816(ChunkPos chunkPos, class_5584 class_5584)
void
method_31826(Writer writer)
boolean
method_31827(UUID uUID)
void
method_31828(Stream<T> stream)
void
method_31829()
private void
method_31830(long long2)
private static <T extends EntityLike>
class_5584method_31832(T t, class_5584 class_5584)
void
method_31835(Stream<T> stream)
void
method_31836()
private boolean
method_31837(long long2)
private void
method_31838(T entity)
class_5577<T>
method_31841()
private void
method_31847(T entity)
private void
method_31850(T entity)
private void
method_31851()
private void
method_31852(EntityLike entity)
private void
method_31853()
private LongSet
method_31855()
private void
removeEntity(T entity)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lclm;a:Lorg/apache/logging/log4j/Logger;
intermediary field_27260
Lnet/minecraft/class_5579;field_27260:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/world/ServerEntityManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
entityUuids
- Mappings:
Namespace Name Mixin selector official b
Lclm;b:Ljava/util/Set;
intermediary field_27261
Lnet/minecraft/class_5579;field_27261:Ljava/util/Set;
named entityUuids
Lnet/minecraft/server/world/ServerEntityManager;entityUuids:Ljava/util/Set;
-
entityLoader
- Mappings:
Namespace Name Mixin selector official c
Lclm;c:Lclj;
intermediary field_27262
Lnet/minecraft/class_5579;field_27262:Lnet/minecraft/class_5576;
named entityLoader
Lnet/minecraft/server/world/ServerEntityManager;entityLoader:Lnet/minecraft/world/EntityLoader;
-
field_27263
- Mappings:
Namespace Name Mixin selector official d
Lclm;d:Lcle;
intermediary field_27263
Lnet/minecraft/class_5579;field_27263:Lnet/minecraft/class_5571;
named field_27263
Lnet/minecraft/server/world/ServerEntityManager;field_27263:Lnet/minecraft/class_5571;
-
trackedEntities
- Mappings:
Namespace Name Mixin selector official e
Lclm;e:Lcld;
intermediary field_27264
Lnet/minecraft/class_5579;field_27264:Lnet/minecraft/class_5570;
named trackedEntities
Lnet/minecraft/server/world/ServerEntityManager;trackedEntities:Lnet/minecraft/class_5570;
-
field_27265
- Mappings:
Namespace Name Mixin selector official f
Lclm;f:Lclg;
intermediary field_27265
Lnet/minecraft/class_5579;field_27265:Lnet/minecraft/class_5573;
named field_27265
Lnet/minecraft/server/world/ServerEntityManager;field_27265:Lnet/minecraft/class_5573;
-
field_27266
- Mappings:
Namespace Name Mixin selector official g
Lclm;g:Lclk;
intermediary field_27266
Lnet/minecraft/class_5579;field_27266:Lnet/minecraft/class_5577;
named field_27266
Lnet/minecraft/server/world/ServerEntityManager;field_27266:Lnet/minecraft/class_5577;
-
field_27267
- Mappings:
Namespace Name Mixin selector official h
Lclm;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_27267
Lnet/minecraft/class_5579;field_27267:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
named field_27267
Lnet/minecraft/server/world/ServerEntityManager;field_27267:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
field_27268
- Mappings:
Namespace Name Mixin selector official i
Lclm;i:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_27268
Lnet/minecraft/class_5579;field_27268:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
named field_27268
Lnet/minecraft/server/world/ServerEntityManager;field_27268:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
field_27269
- Mappings:
Namespace Name Mixin selector official j
Lclm;j:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_27269
Lnet/minecraft/class_5579;field_27269:Lit/unimi/dsi/fastutil/longs/LongSet;
named field_27269
Lnet/minecraft/server/world/ServerEntityManager;field_27269:Lit/unimi/dsi/fastutil/longs/LongSet;
-
loadingQueue
- Mappings:
Namespace Name Mixin selector official k
Lclm;k:Ljava/util/Queue;
intermediary field_27270
Lnet/minecraft/class_5579;field_27270:Ljava/util/Queue;
named loadingQueue
Lnet/minecraft/server/world/ServerEntityManager;loadingQueue:Ljava/util/Queue;
-
-
Constructor Details
-
ServerEntityManager
public ServerEntityManager(Class<T> class2, EntityLoader<T> entityLoader, class_5571<T> class_5571)- Mappings:
Namespace Name Mixin selector official <init>
Lclm;<init>(Ljava/lang/Class;Lclj;Lcle;)V
intermediary <init>
Lnet/minecraft/class_5579;<init>(Ljava/lang/Class;Lnet/minecraft/class_5576;Lnet/minecraft/class_5571;)V
named <init>
Lnet/minecraft/server/world/ServerEntityManager;<init>(Ljava/lang/Class;Lnet/minecraft/world/EntityLoader;Lnet/minecraft/class_5571;)V
-
-
Method Details
-
method_31811
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(JLclf;)V
intermediary method_31811
Lnet/minecraft/class_5579;method_31811(JLnet/minecraft/class_5572;)V
named method_31811
Lnet/minecraft/server/world/ServerEntityManager;method_31811(JLnet/minecraft/class_5572;)V
-
canAddEntity
- Mappings:
Namespace Name Mixin selector official b
Lclm;b(Lclb;)Z
intermediary method_31831
Lnet/minecraft/class_5579;method_31831(Lnet/minecraft/class_5568;)Z
named canAddEntity
Lnet/minecraft/server/world/ServerEntityManager;canAddEntity(Lnet/minecraft/entity/EntityLike;)Z
-
addEntity
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Lclb;)Z
intermediary method_31818
Lnet/minecraft/class_5579;method_31818(Lnet/minecraft/class_5568;)Z
named addEntity
Lnet/minecraft/server/world/ServerEntityManager;addEntity(Lnet/minecraft/entity/EntityLike;)Z
-
addEntity
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Lclb;Z)Z
intermediary method_31820
Lnet/minecraft/class_5579;method_31820(Lnet/minecraft/class_5568;Z)Z
named addEntity
Lnet/minecraft/server/world/ServerEntityManager;addEntity(Lnet/minecraft/entity/EntityLike;Z)Z
-
method_31832
- Mappings:
Namespace Name Mixin selector official b
Lclm;b(Lclb;Lclo;)Lclo;
intermediary method_31832
Lnet/minecraft/class_5579;method_31832(Lnet/minecraft/class_5568;Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
named method_31832
Lnet/minecraft/server/world/ServerEntityManager;method_31832(Lnet/minecraft/entity/EntityLike;Lnet/minecraft/class_5584;)Lnet/minecraft/class_5584;
-
method_31828
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Ljava/util/stream/Stream;)V
intermediary method_31828
Lnet/minecraft/class_5579;method_31828(Ljava/util/stream/Stream;)V
named method_31828
Lnet/minecraft/server/world/ServerEntityManager;method_31828(Ljava/util/stream/Stream;)V
-
method_31835
- Mappings:
Namespace Name Mixin selector official b
Lclm;b(Ljava/util/stream/Stream;)V
intermediary method_31835
Lnet/minecraft/class_5579;method_31835(Ljava/util/stream/Stream;)V
named method_31835
Lnet/minecraft/server/world/ServerEntityManager;method_31835(Ljava/util/stream/Stream;)V
-
method_31838
- Mappings:
Namespace Name Mixin selector official c
Lclm;c(Lclb;)V
intermediary method_31838
Lnet/minecraft/class_5579;method_31838(Lnet/minecraft/class_5568;)V
named method_31838
Lnet/minecraft/server/world/ServerEntityManager;method_31838(Lnet/minecraft/entity/EntityLike;)V
-
removeEntity
- Mappings:
Namespace Name Mixin selector official d
Lclm;d(Lclb;)V
intermediary method_31843
Lnet/minecraft/class_5579;method_31843(Lnet/minecraft/class_5568;)V
named removeEntity
Lnet/minecraft/server/world/ServerEntityManager;removeEntity(Lnet/minecraft/entity/EntityLike;)V
-
method_31847
- Mappings:
Namespace Name Mixin selector official e
Lclm;e(Lclb;)V
intermediary method_31847
Lnet/minecraft/class_5579;method_31847(Lnet/minecraft/class_5568;)V
named method_31847
Lnet/minecraft/server/world/ServerEntityManager;method_31847(Lnet/minecraft/entity/EntityLike;)V
-
method_31850
- Mappings:
Namespace Name Mixin selector official f
Lclm;f(Lclb;)V
intermediary method_31850
Lnet/minecraft/class_5579;method_31850(Lnet/minecraft/class_5568;)V
named method_31850
Lnet/minecraft/server/world/ServerEntityManager;method_31850(Lnet/minecraft/entity/EntityLike;)V
-
method_31815
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Lbta;Laah$b;)V
intermediary method_31815
Lnet/minecraft/class_5579;method_31815(Lnet/minecraft/class_1923;Lnet/minecraft/class_3193$class_3194;)V
named method_31815
Lnet/minecraft/server/world/ServerEntityManager;method_31815(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/server/world/ChunkHolder$LevelType;)V
-
method_31816
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Lbta;Lclo;)V
intermediary method_31816
Lnet/minecraft/class_5579;method_31816(Lnet/minecraft/class_1923;Lnet/minecraft/class_5584;)V
named method_31816
Lnet/minecraft/server/world/ServerEntityManager;method_31816(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/class_5584;)V
-
method_31810
private void method_31810(long long2)- Mappings:
Namespace Name Mixin selector official a
Lclm;a(J)V
intermediary method_31810
Lnet/minecraft/class_5579;method_31810(J)V
named method_31810
Lnet/minecraft/server/world/ServerEntityManager;method_31810(J)V
-
method_31812
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(JLjava/util/function/Consumer;)Z
intermediary method_31812
Lnet/minecraft/class_5579;method_31812(JLjava/util/function/Consumer;)Z
named method_31812
Lnet/minecraft/server/world/ServerEntityManager;method_31812(JLjava/util/function/Consumer;)Z
-
method_31830
private void method_31830(long long2)- Mappings:
Namespace Name Mixin selector official b
Lclm;b(J)V
intermediary method_31830
Lnet/minecraft/class_5579;method_31830(J)V
named method_31830
Lnet/minecraft/server/world/ServerEntityManager;method_31830(J)V
-
method_31837
private boolean method_31837(long long2)- Mappings:
Namespace Name Mixin selector official c
Lclm;c(J)Z
intermediary method_31837
Lnet/minecraft/class_5579;method_31837(J)Z
named method_31837
Lnet/minecraft/server/world/ServerEntityManager;method_31837(J)Z
-
method_31852
- Mappings:
Namespace Name Mixin selector official g
Lclm;g(Lclb;)V
intermediary method_31852
Lnet/minecraft/class_5579;method_31852(Lnet/minecraft/class_5568;)V
named method_31852
Lnet/minecraft/server/world/ServerEntityManager;method_31852(Lnet/minecraft/entity/EntityLike;)V
-
method_31851
private void method_31851()- Mappings:
Namespace Name Mixin selector official g
Lclm;g()V
intermediary method_31851
Lnet/minecraft/class_5579;method_31851()V
named method_31851
Lnet/minecraft/server/world/ServerEntityManager;method_31851()V
-
method_31853
private void method_31853()- Mappings:
Namespace Name Mixin selector official h
Lclm;h()V
intermediary method_31853
Lnet/minecraft/class_5579;method_31853()V
named method_31853
Lnet/minecraft/server/world/ServerEntityManager;method_31853()V
-
method_31809
public void method_31809()- Mappings:
Namespace Name Mixin selector official a
Lclm;a()V
intermediary method_31809
Lnet/minecraft/class_5579;method_31809()V
named method_31809
Lnet/minecraft/server/world/ServerEntityManager;method_31809()V
-
method_31855
- Mappings:
Namespace Name Mixin selector official i
Lclm;i()Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary method_31855
Lnet/minecraft/class_5579;method_31855()Lit/unimi/dsi/fastutil/longs/LongSet;
named method_31855
Lnet/minecraft/server/world/ServerEntityManager;method_31855()Lit/unimi/dsi/fastutil/longs/LongSet;
-
method_31829
public void method_31829()- Mappings:
Namespace Name Mixin selector official b
Lclm;b()V
intermediary method_31829
Lnet/minecraft/class_5579;method_31829()V
named method_31829
Lnet/minecraft/server/world/ServerEntityManager;method_31829()V
-
method_31836
public void method_31836()- Mappings:
Namespace Name Mixin selector official c
Lclm;c()V
intermediary method_31836
Lnet/minecraft/class_5579;method_31836()V
named method_31836
Lnet/minecraft/server/world/ServerEntityManager;method_31836()V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official close
Lclm;close()V
intermediary close
Lnet/minecraft/class_5579;close()V
named close
Lnet/minecraft/server/world/ServerEntityManager;close()V
-
method_31827
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Ljava/util/UUID;)Z
intermediary method_31827
Lnet/minecraft/class_5579;method_31827(Ljava/util/UUID;)Z
named method_31827
Lnet/minecraft/server/world/ServerEntityManager;method_31827(Ljava/util/UUID;)Z
-
method_31841
- Mappings:
Namespace Name Mixin selector official d
Lclm;d()Lclk;
intermediary method_31841
Lnet/minecraft/class_5579;method_31841()Lnet/minecraft/class_5577;
named method_31841
Lnet/minecraft/server/world/ServerEntityManager;method_31841()Lnet/minecraft/class_5577;
-
method_31826
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lclm;a(Ljava/io/Writer;)V
intermediary method_31826
Lnet/minecraft/class_5579;method_31826(Ljava/io/Writer;)V
named method_31826
Lnet/minecraft/server/world/ServerEntityManager;method_31826(Ljava/io/Writer;)V
-
getDebugString
- Mappings:
Namespace Name Mixin selector official e
Lclm;e()Ljava/lang/String;
intermediary method_31845
Lnet/minecraft/class_5579;method_31845()Ljava/lang/String;
named getDebugString
Lnet/minecraft/server/world/ServerEntityManager;getDebugString()Ljava/lang/String;
-