Class EntityList

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

public class EntityList
extends Object
  • Field Details

  • Constructor Details

    • EntityList

      public EntityList()
  • Method Details

    • method_31789

      private void method_31789()
    • addEntity

      public void addEntity​(Entity entity)
    • removeEntity

      public void removeEntity​(Entity entity)
    • hasEntity

      public boolean hasEntity​(Entity entity)
    • 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