Package net.minecraft

Class class_5570<T extends EntityLike>

java.lang.Object
net.minecraft.class_5570<T>

public class class_5570<T extends EntityLike>
extends Object
Mappings:
Namespace Name
official cld
intermediary net/minecraft/class_5570
named net/minecraft/class_5570
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_27244 Lnet/minecraft/class_5570;field_27244:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/class_5570;LOGGER:Lorg/apache/logging/log4j/Logger;
    • entitiesById

      private final Int2ObjectMap<T extends EntityLike> entitiesById
      Mappings:
      Namespace Name Mixin selector
      official b Lcld;b:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_27245 Lnet/minecraft/class_5570;field_27245:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named entitiesById Lnet/minecraft/class_5570;entitiesById:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • entitiesByUuid

      private final Map<UUID,​T extends EntityLike> entitiesByUuid
      Mappings:
      Namespace Name Mixin selector
      official c Lcld;c:Ljava/util/Map;
      intermediary field_27246 Lnet/minecraft/class_5570;field_27246:Ljava/util/Map;
      named entitiesByUuid Lnet/minecraft/class_5570;entitiesByUuid:Ljava/util/Map;
  • Constructor Details

    • class_5570

      public class_5570()
  • Method Details

    • method_31754

      public <U extends T> void method_31754​(class_5575<T,​U> class_5575, Consumer<U> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a(Lcli;Ljava/util/function/Consumer;)V
      intermediary method_31754 Lnet/minecraft/class_5570;method_31754(Lnet/minecraft/class_5575;Ljava/util/function/Consumer;)V
      named method_31754 Lnet/minecraft/class_5570;method_31754(Lnet/minecraft/class_5575;Ljava/util/function/Consumer;)V
    • method_31751

      public Iterable<T> method_31751()
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a()Ljava/lang/Iterable;
      intermediary method_31751 Lnet/minecraft/class_5570;method_31751()Ljava/lang/Iterable;
      named method_31751 Lnet/minecraft/class_5570;method_31751()Ljava/lang/Iterable;
    • addEntity

      public void addEntity​(T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a(Lclb;)V
      intermediary method_31753 Lnet/minecraft/class_5570;method_31753(Lnet/minecraft/class_5568;)V
      named addEntity Lnet/minecraft/class_5570;addEntity(Lnet/minecraft/entity/EntityLike;)V
    • removeEntity

      public void removeEntity​(T entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcld;b(Lclb;)V
      intermediary method_31757 Lnet/minecraft/class_5570;method_31757(Lnet/minecraft/class_5568;)V
      named removeEntity Lnet/minecraft/class_5570;removeEntity(Lnet/minecraft/entity/EntityLike;)V
    • getEntity

      @Nullable public T getEntity​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a(I)Lclb;
      intermediary method_31752 Lnet/minecraft/class_5570;method_31752(I)Lnet/minecraft/class_5568;
      named getEntity Lnet/minecraft/class_5570;getEntity(I)Lnet/minecraft/entity/EntityLike;
    • getEntity

      @Nullable public T getEntity​(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lcld;a(Ljava/util/UUID;)Lclb;
      intermediary method_31755 Lnet/minecraft/class_5570;method_31755(Ljava/util/UUID;)Lnet/minecraft/class_5568;
      named getEntity Lnet/minecraft/class_5570;getEntity(Ljava/util/UUID;)Lnet/minecraft/entity/EntityLike;
    • getEntityCount

      public int getEntityCount()
      Mappings:
      Namespace Name Mixin selector
      official b Lcld;b()I
      intermediary method_31756 Lnet/minecraft/class_5570;method_31756()I
      named getEntityCount Lnet/minecraft/class_5570;getEntityCount()I