Class ClientEntityManager<T extends EntityLike>

java.lang.Object
net.minecraft.client.world.ClientEntityManager<T>

public class ClientEntityManager<T extends EntityLike> extends Object
Mappings:
Namespace Name
official dcv
intermediary net/minecraft/class_5582
named net/minecraft/client/world/ClientEntityManager
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldcv;a:Lorg/slf4j/Logger;
      intermediary field_27279 Lnet/minecraft/class_5582;field_27279:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/world/ClientEntityManager;LOGGER:Lorg/slf4j/Logger;
    • handler

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

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

      final SectionedEntityCache<T extends EntityLike> cache
      Mappings:
      Namespace Name Mixin selector
      official d Ldcv;d:Ldco;
      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 Ldcv;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 Ldcv;f:Ldcs;
      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

      public ClientEntityManager(Class<T> entityClass, EntityHandler<T> handler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcv;<init>(Ljava/lang/Class;Ldcr;)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

      public void startTicking(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcv;a(Lcjd;)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 Ldcv;b(Lcjd;)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 Ldcv;a()Ldcs;
      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 Ldcv;a(Ldcj;)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 Ldcv;b()I
      intermediary method_31874 Lnet/minecraft/class_5582;method_31874()I
      named getEntityCount Lnet/minecraft/client/world/ClientEntityManager;getEntityCount()I
    • removeIfEmpty

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