类 ClientEntityManager<T extends EntityLike>


  • public class ClientEntityManager<T extends EntityLike>
    extends Object
    Mappings:
    Namespace Name
    official cnn
    intermediary net/minecraft/class_5582
    named net/minecraft/client/world/ClientEntityManager
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lcnn;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

        private final EntityHandler<T extends EntityLike> handler
        Mappings:
        Namespace Name Mixin selector
        official b Lcnn;b:Lcnj;
        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

        private final EntityIndex<T extends EntityLike> index
        Mappings:
        Namespace Name Mixin selector
        official c Lcnn;c:Lcnd;
        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

        private final SectionedEntityCache<T extends EntityLike> cache
        Mappings:
        Namespace Name Mixin selector
        official d Lcnn;d:Lcng;
        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

        private final LongSet tickingChunkSections
        Mappings:
        Namespace Name Mixin selector
        official e Lcnn;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

        private final EntityLookup<T extends EntityLike> lookup
        Mappings:
        Namespace Name Mixin selector
        official f Lcnn;f:Lcnk;
        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;
    • 构造器详细资料

      • ClientEntityManager

        public ClientEntityManager​(Class<T> entityClass,
                                   EntityHandler<T> handler)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcnn;<init>(Ljava/lang/Class;Lcnj;)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
    • 方法详细资料

      • startTicking

        public void startTicking​(ChunkPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcnn;a(Lbuw;)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

        public void stopTicking​(ChunkPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Lcnn;b(Lbuw;)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

        public EntityLookup<T> getLookup()
        Mappings:
        Namespace Name Mixin selector
        official a Lcnn;a()Lcnk;
        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

        public void addEntity​(T entity)
        Mappings:
        Namespace Name Mixin selector
        official a Lcnn;a(Lcnb;)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 Lcnn;b()I
        intermediary method_31874 Lnet/minecraft/class_5582;method_31874()I
        named getEntityCount Lnet/minecraft/client/world/ClientEntityManager;getEntityCount()I
      • removeIfEmpty

        private void removeIfEmpty​(long packedChunkSection,
                                   EntityTrackingSection<T> entities)
        Mappings:
        Namespace Name Mixin selector
        official a Lcnn;a(JLcnf;)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

        public String getDebugString()
        Mappings:
        Namespace Name Mixin selector
        official c Lcnn;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;