Class SectionMeshCache

java.lang.Object
net.lugo.overlaylib.SectionMeshCache

public class SectionMeshCache extends Object
  • Field Details

  • Constructor Details

    • SectionMeshCache

      public SectionMeshCache()
    • SectionMeshCache

      public SectionMeshCache(int maxCacheSize)
  • Method Details

    • isCurrent

      public boolean isCurrent(net.minecraft.core.SectionPos pos, long dataVersion, long frameToken)
    • store

      public void store(net.minecraft.core.SectionPos pos, long dataVersion, long frameToken, com.mojang.blaze3d.vertex.MeshData built)
    • get

      public SectionMeshCache.SectionMesh get(net.minecraft.core.SectionPos pos, long frameToken)
    • remove

      public void remove(net.minecraft.core.SectionPos pos)
    • clearAll

      public void clearAll()