Class LazyArea

java.lang.Object
net.minecraft.world.gen.area.LazyArea
All Implemented Interfaces:
IArea

public final class LazyArea extends Object implements IArea
  • Field Details

    • transformer

      private final IPixelTransformer 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_i51286_1_, int p_i51286_2_, IPixelTransformer p_i51286_3_)
  • Method Details

    • get

      public int get(int p_202678_1_, int p_202678_2_)
      Specified by:
      get in interface IArea
    • getMaxCache

      public int getMaxCache()