Enum Class ZoomLayer

java.lang.Object
java.lang.Enum<ZoomLayer>
net.minecraft.world.level.newbiome.layer.ZoomLayer
All Implemented Interfaces:
Serializable, Comparable<ZoomLayer>, Constable, LayerBiomes, AreaTransformer1, DimensionTransformer

public enum ZoomLayer extends Enum<ZoomLayer> implements AreaTransformer1
  • Enum Constant Details

    • NORMAL

      public static final ZoomLayer NORMAL
    • FUZZY

      public static final ZoomLayer FUZZY
  • Field Details

  • Constructor Details

    • ZoomLayer

      private ZoomLayer()
  • Method Details

    • values

      public static ZoomLayer[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ZoomLayer valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getParentX

      public int getParentX(int p_76959_)
      Specified by:
      getParentX in interface DimensionTransformer
    • getParentY

      public int getParentY(int p_76971_)
      Specified by:
      getParentY in interface DimensionTransformer
    • applyPixel

      public int applyPixel(BigContext<?> p_76966_, Area p_76967_, int p_76968_, int p_76969_)
      Specified by:
      applyPixel in interface AreaTransformer1
    • modeOrRandom

      protected int modeOrRandom(BigContext<?> p_76960_, int p_76961_, int p_76962_, int p_76963_, int p_76964_)