Class LazyArea

java.lang.Object
net.minecraft.world.level.newbiome.area.LazyArea
All Implemented Interfaces:
Area

public final class LazyArea extends Object implements Area
  • Field Details

    • transformer

      private final PixelTransformer transformer
    • cache

      private final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap cache
    • maxCache

      private final int maxCache
  • Constructor Details

    • LazyArea

      public LazyArea(it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap p_76493_, int p_76494_, PixelTransformer p_76495_)
  • Method Details

    • get

      public int get(int p_76498_, int p_76499_)
      Specified by:
      get in interface Area
    • getMaxCache

      public int getMaxCache()