Package net.minecraft.client.world
Class ClientEntityManager<T extends EntityLike>
java.lang.Object
net.minecraft.client.world.ClientEntityManager<T>
@Environment(CLIENT) public class ClientEntityManager<T extends EntityLike> extends Object
- Mappings:
Namespace Name official cmj
intermediary net/minecraft/class_5582
named net/minecraft/client/world/ClientEntityManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ClientEntityManager.Listener
-
Field Summary
Fields Modifier and Type Field Description private SectionedEntityCache<T>
cache
private EntityHandler<T>
handler
private EntityIndex<T>
index
private static Logger
LOGGER
private EntityLookup<T>
lookup
private LongSet
tickingChunkSections
-
Constructor Summary
Constructors Constructor Description ClientEntityManager(Class<T> entityClass, EntityHandler<T> handler)
-
Method Summary
Modifier and Type Method Description void
addEntity(T entity)
String
getDebugString()
int
getEntityCount()
EntityLookup<T>
getLookup()
private void
removeIfEmpty(long packedChunkSection, EntityTrackingSection<T> entities)
void
startTicking(ChunkPos pos)
void
stopTicking(ChunkPos pos)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a:Lorg/apache/logging/log4j/Logger;
intermediary field_27279
Lnet/minecraft/class_5582;field_27279:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/world/ClientEntityManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
handler
- Mappings:
Namespace Name Mixin selector official b
Lcmj;b:Lcmf;
intermediary field_27280
Lnet/minecraft/class_5582;field_27280:Lnet/minecraft/class_5576;
named handler
Lnet/minecraft/client/world/ClientEntityManager;handler:Lnet/minecraft/world/entity/EntityHandler;
-
index
- Mappings:
Namespace Name Mixin selector official c
Lcmj;c:Lclz;
intermediary field_27281
Lnet/minecraft/class_5582;field_27281:Lnet/minecraft/class_5570;
named index
Lnet/minecraft/client/world/ClientEntityManager;index:Lnet/minecraft/world/entity/EntityIndex;
-
cache
- Mappings:
Namespace Name Mixin selector official d
Lcmj;d:Lcmc;
intermediary field_27282
Lnet/minecraft/class_5582;field_27282:Lnet/minecraft/class_5573;
named cache
Lnet/minecraft/client/world/ClientEntityManager;cache:Lnet/minecraft/world/entity/SectionedEntityCache;
-
tickingChunkSections
- Mappings:
Namespace Name Mixin selector official e
Lcmj;e:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_27283
Lnet/minecraft/class_5582;field_27283:Lit/unimi/dsi/fastutil/longs/LongSet;
named tickingChunkSections
Lnet/minecraft/client/world/ClientEntityManager;tickingChunkSections:Lit/unimi/dsi/fastutil/longs/LongSet;
-
lookup
- Mappings:
Namespace Name Mixin selector official f
Lcmj;f:Lcmg;
intermediary field_27284
Lnet/minecraft/class_5582;field_27284:Lnet/minecraft/class_5577;
named lookup
Lnet/minecraft/client/world/ClientEntityManager;lookup:Lnet/minecraft/world/entity/EntityLookup;
-
-
Constructor Details
-
ClientEntityManager
- Mappings:
Namespace Name Mixin selector official <init>
Lcmj;<init>(Ljava/lang/Class;Lcmf;)V
intermediary <init>
Lnet/minecraft/class_5582;<init>(Ljava/lang/Class;Lnet/minecraft/class_5576;)V
named <init>
Lnet/minecraft/client/world/ClientEntityManager;<init>(Ljava/lang/Class;Lnet/minecraft/world/entity/EntityHandler;)V
-
-
Method Details
-
startTicking
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a(Lbtv;)V
intermediary method_31869
Lnet/minecraft/class_5582;method_31869(Lnet/minecraft/class_1923;)V
named startTicking
Lnet/minecraft/client/world/ClientEntityManager;startTicking(Lnet/minecraft/util/math/ChunkPos;)V
-
stopTicking
- Mappings:
Namespace Name Mixin selector official b
Lcmj;b(Lbtv;)V
intermediary method_31875
Lnet/minecraft/class_5582;method_31875(Lnet/minecraft/class_1923;)V
named stopTicking
Lnet/minecraft/client/world/ClientEntityManager;stopTicking(Lnet/minecraft/util/math/ChunkPos;)V
-
getLookup
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a()Lcmg;
intermediary method_31866
Lnet/minecraft/class_5582;method_31866()Lnet/minecraft/class_5577;
named getLookup
Lnet/minecraft/client/world/ClientEntityManager;getLookup()Lnet/minecraft/world/entity/EntityLookup;
-
addEntity
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a(Lclx;)V
intermediary method_31870
Lnet/minecraft/class_5582;method_31870(Lnet/minecraft/class_5568;)V
named addEntity
Lnet/minecraft/client/world/ClientEntityManager;addEntity(Lnet/minecraft/world/entity/EntityLike;)V
-
getEntityCount
public int getEntityCount()- Mappings:
Namespace Name Mixin selector official b
Lcmj;b()I
intermediary method_31874
Lnet/minecraft/class_5582;method_31874()I
named getEntityCount
Lnet/minecraft/client/world/ClientEntityManager;getEntityCount()I
-
removeIfEmpty
- Mappings:
Namespace Name Mixin selector official a
Lcmj;a(JLcmb;)V
intermediary method_31868
Lnet/minecraft/class_5582;method_31868(JLnet/minecraft/class_5572;)V
named removeIfEmpty
Lnet/minecraft/client/world/ClientEntityManager;removeIfEmpty(JLnet/minecraft/world/entity/EntityTrackingSection;)V
-
getDebugString
- Mappings:
Namespace Name Mixin selector official c
Lcmj;c()Ljava/lang/String;
intermediary method_31879
Lnet/minecraft/class_5582;method_31879()Ljava/lang/String;
named getDebugString
Lnet/minecraft/client/world/ClientEntityManager;getDebugString()Ljava/lang/String;
-