Class TransientEntitySectionManager<T extends EntityAccess>

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

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

  • Constructor Details

    • TransientEntitySectionManager

      public TransientEntitySectionManager(Class<T> p_157643_, LevelCallback<T> p_157644_)
  • Method Details

    • startTicking

      public void startTicking(ChunkPos p_157652_)
    • stopTicking

      public void stopTicking(ChunkPos p_157659_)
    • getEntityGetter

      public LevelEntityGetter<T> getEntityGetter()
    • addEntity

      public void addEntity(T p_157654_)
    • count

      public int count()
    • removeSectionIfEmpty

      void removeSectionIfEmpty(long p_157649_, EntitySection<T> p_157650_)
    • gatherStats

      public String gatherStats()