Class LinearPalette<T>

java.lang.Object
net.minecraft.world.level.chunk.LinearPalette<T>
All Implemented Interfaces:
Palette<T>

public class LinearPalette<T> extends Object implements Palette<T>
  • Field Details

    • registry

      private final IdMap<T> registry
    • values

      private final T[] values
    • resizeHandler

      private final PaletteResize<T> resizeHandler
    • bits

      private final int bits
    • size

      private int size
  • Constructor Details

    • LinearPalette

      private LinearPalette(IdMap<T> p_188015_, int p_188016_, PaletteResize<T> p_188017_, List<T> p_188018_)
    • LinearPalette

      private LinearPalette(IdMap<T> p_199921_, T[] p_199922_, PaletteResize<T> p_199923_, int p_199924_, int p_199925_)
  • Method Details