Class EntityList

java.lang.Object
net.minecraft.world.EntityList

public class EntityList
extends Object
Mappings:
Namespace Name
official clh
intermediary net/minecraft/class_5574
named net/minecraft/world/EntityList
  • Field Details

    • entities

      private Int2ObjectMap<Entity> entities
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_27254 Lnet/minecraft/class_5574;field_27254:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named entities Lnet/minecraft/world/EntityList;entities:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • field_27255

      private Int2ObjectMap<Entity> field_27255
      Mappings:
      Namespace Name Mixin selector
      official b Lclh;b:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_27255 Lnet/minecraft/class_5574;field_27255:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named field_27255 Lnet/minecraft/world/EntityList;field_27255:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • cachedEntityList

      @Nullable private Int2ObjectMap<Entity> cachedEntityList
      Mappings:
      Namespace Name Mixin selector
      official c Lclh;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_27256 Lnet/minecraft/class_5574;field_27256:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named cachedEntityList Lnet/minecraft/world/EntityList;cachedEntityList:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • EntityList

      public EntityList()
  • Method Details

    • method_31789

      private void method_31789()
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a()V
      intermediary method_31789 Lnet/minecraft/class_5574;method_31789()V
      named method_31789 Lnet/minecraft/world/EntityList;method_31789()V
    • addEntity

      public void addEntity​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Laqv;)V
      intermediary method_31790 Lnet/minecraft/class_5574;method_31790(Lnet/minecraft/class_1297;)V
      named addEntity Lnet/minecraft/world/EntityList;addEntity(Lnet/minecraft/entity/Entity;)V
    • removeEntity

      public void removeEntity​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lclh;b(Laqv;)V
      intermediary method_31792 Lnet/minecraft/class_5574;method_31792(Lnet/minecraft/class_1297;)V
      named removeEntity Lnet/minecraft/world/EntityList;removeEntity(Lnet/minecraft/entity/Entity;)V
    • hasEntity

      public boolean hasEntity​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official c Lclh;c(Laqv;)Z
      intermediary method_31793 Lnet/minecraft/class_5574;method_31793(Lnet/minecraft/class_1297;)Z
      named hasEntity Lnet/minecraft/world/EntityList;hasEntity(Lnet/minecraft/entity/Entity;)Z
    • forEachEntity

      public void forEachEntity​(Consumer<Entity> action)
      Runs an action on every single entity.
      Throws:
      UnsupportedOperationException - if there is an attempt to have more than one concurrent iteration
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Ljava/util/function/Consumer;)V
      intermediary method_31791 Lnet/minecraft/class_5574;method_31791(Ljava/util/function/Consumer;)V
      named forEachEntity Lnet/minecraft/world/EntityList;forEachEntity(Ljava/util/function/Consumer;)V