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 cyr
intermediary net/minecraft/class_5582
named net/minecraft/client/world/ClientEntityManager
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcyr;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 Lcyr;b:Lcyn;
      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 Lcyr;c:Lcyh;
      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 Lcyr;d:Lcyk;
      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 Lcyr;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 Lcyr;f:Lcyo;
      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> Lcyr;<init>(Ljava/lang/Class;Lcyn;)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 Lcyr;a(Lcfh;)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 Lcyr;b(Lcfh;)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 Lcyr;a()Lcyo;
      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 Lcyr;a(Lcyf;)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 Lcyr;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 Lcyr;a(JLcyj;)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 Lcyr;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;