Interface Palette.Factory

Enclosing interface:
Palette<T>

public static interface Palette.Factory
An interface for easy creation of palettes.
Mappings:
Namespace Name
named net/minecraft/world/chunk/Palette$Factory
intermediary net/minecraft/class_2837$class_6559
official emb$a
  • Method Summary

    Modifier and Type
    Method
    Description
    <A> Palette<A>
    create(int bits, List<A> values)
    Creates a palette.
  • Method Details

    • create

      <A> Palette<A> create(int bits, List<A> values)
      Creates a palette.
      Parameters:
      bits - the number of bits each entry uses in the storage
      Returns:
      the created new palette
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/world/chunk/Palette$Factory;create(ILjava/util/List;)Lnet/minecraft/world/chunk/Palette;
      intermediary create Lnet/minecraft/class_2837$class_6559;create(ILjava/util/List;)Lnet/minecraft/class_2837;
      official create Lemb$a;create(ILjava/util/List;)Lemb;