Class EntitySection<T extends EntityAccess>

java.lang.Object
net.minecraft.world.level.entity.EntitySection<T>

public class EntitySection<T extends EntityAccess> extends Object
  • Field Details

  • Constructor Details

    • EntitySection

      public EntitySection(Class<T> p_156831_, Visibility p_156832_)
  • Method Details

    • add

      public void add(T p_188347_)
    • remove

      public boolean remove(T p_188356_)
    • getEntities

      public void getEntities(AABB p_188353_, Consumer<T> p_188354_)
    • getEntities

      public <U extends T> void getEntities(EntityTypeTest<T,U> p_188349_, AABB p_188350_, Consumer<? super U> p_188351_)
    • isEmpty

      public boolean isEmpty()
    • getEntities

      public Stream<T> getEntities()
    • getStatus

      public Visibility getStatus()
    • updateChunkStatus

      public Visibility updateChunkStatus(Visibility p_156839_)
    • size

      public int size()