Class CachedOverlayManager

java.lang.Object
net.lugo.overlaylib.managers.CachedOverlayManager
All Implemented Interfaces:
OverlayManager

public class CachedOverlayManager extends Object implements OverlayManager
  • Constructor Details

  • Method Details

    • prepareSection

      public void prepareSection(net.minecraft.core.SectionPos sectionPos)
      Specified by:
      prepareSection in interface OverlayManager
    • getSectionBlocks

      public OverlayRendererBlockData[] getSectionBlocks(net.minecraft.core.SectionPos sectionPos)
      Specified by:
      getSectionBlocks in interface OverlayManager
    • getSectionBlocks

      public OverlayRendererBlockData[] getSectionBlocks(int sectionX, int sectionY, int sectionZ)
      Specified by:
      getSectionBlocks in interface OverlayManager
    • processQueue

      public void processQueue()
    • setActive

      public void setActive(boolean active)
      Specified by:
      setActive in interface OverlayManager
    • setChunkScanRadius

      public void setChunkScanRadius(int radius)
      Specified by:
      setChunkScanRadius in interface OverlayManager
    • setChunkScanRadiusVertical

      public void setChunkScanRadiusVertical(int radius)
      Specified by:
      setChunkScanRadiusVertical in interface OverlayManager
    • setMaxComputationsPerTick

      public void setMaxComputationsPerTick(int maxComputationsPerTick)
    • updateMaxCacheSize

      public void updateMaxCacheSize(int newMaxCacheSize)
    • removeOldEntries

      public void removeOldEntries()
    • removeOldEntries

      public void removeOldEntries(int targetSize)
    • clear

      public boolean clear(net.minecraft.core.SectionPos sectionPos)
    • refresh

      public void refresh(net.minecraft.core.SectionPos sectionPos)
    • clear

      public boolean clear(net.minecraft.core.BlockPos blockPos)
    • refresh

      public void refresh(net.minecraft.core.BlockPos blockPos)
    • clearAll

      public void clearAll()