Enum Class ScaleLayer

java.lang.Object
java.lang.Enum<ScaleLayer>
net.minecraft.world.biome.layer.ScaleLayer
All Implemented Interfaces:
Serializable, Comparable<ScaleLayer>, Constable, BiomeIds, ParentedLayer, CoordinateTransformer

public enum ScaleLayer extends Enum<ScaleLayer> implements ParentedLayer
Mappings:
Namespace Name
official dgf
intermediary net/minecraft/class_3656
named net/minecraft/world/biome/layer/ScaleLayer
  • Enum Constant Details

    • NORMAL

      public static final ScaleLayer NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;a:Ldgf;
      intermediary field_16196 Lnet/minecraft/class_3656;field_16196:Lnet/minecraft/class_3656;
      named NORMAL Lnet/minecraft/world/biome/layer/ScaleLayer;NORMAL:Lnet/minecraft/world/biome/layer/ScaleLayer;
    • FUZZY

      public static final ScaleLayer FUZZY
      Mappings:
      Namespace Name Mixin selector
      official ar Ldgf;ar:Ldgf;
      intermediary field_16198 Lnet/minecraft/class_3656;field_16198:Lnet/minecraft/class_3656;
      named FUZZY Lnet/minecraft/world/biome/layer/ScaleLayer;FUZZY:Lnet/minecraft/world/biome/layer/ScaleLayer;
  • Field Details

    • field_31805

      private static final int field_31805
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official as Ldgf;as:I
      intermediary field_31805 Lnet/minecraft/class_3656;field_31805:I
      named field_31805 Lnet/minecraft/world/biome/layer/ScaleLayer;field_31805:I
    • field_31806

      private static final int field_31806
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official at Ldgf;at:I
      intermediary field_31806 Lnet/minecraft/class_3656;field_31806:I
      named field_31806 Lnet/minecraft/world/biome/layer/ScaleLayer;field_31806:I
  • Constructor Details

    • ScaleLayer

      private ScaleLayer()
  • Method Details

    • values

      public static ScaleLayer[] 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 ScaleLayer 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
    • transformX

      public int transformX(int x)
      Specified by:
      transformX in interface CoordinateTransformer
      Mappings:
      Namespace Name Mixin selector
      official a Ldgq;a(I)I
      intermediary method_16342 Lnet/minecraft/class_3741;method_16342(I)I
      named transformX Lnet/minecraft/world/biome/layer/util/CoordinateTransformer;transformX(I)I
    • transformZ

      public int transformZ(int y)
      Specified by:
      transformZ in interface CoordinateTransformer
      Mappings:
      Namespace Name Mixin selector
      official b Ldgq;b(I)I
      intermediary method_16343 Lnet/minecraft/class_3741;method_16343(I)I
      named transformZ Lnet/minecraft/world/biome/layer/util/CoordinateTransformer;transformZ(I)I
    • sample

      public int sample(LayerSampleContext<?> context, LayerSampler parent, int x, int z)
      Specified by:
      sample in interface ParentedLayer
      Mappings:
      Namespace Name Mixin selector
      official a Ldgi;a(Ldff;Ldfb;II)I
      intermediary method_15863 Lnet/minecraft/class_3660;method_15863(Lnet/minecraft/class_3628;Lnet/minecraft/class_3625;II)I
      named sample Lnet/minecraft/world/biome/layer/type/ParentedLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerSampleContext;Lnet/minecraft/world/biome/layer/util/LayerSampler;II)I
    • sample

      protected int sample(LayerSampleContext<?> context, int tl, int tr, int bl, int br)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;a(Ldff;IIII)I
      intermediary method_15853 Lnet/minecraft/class_3656;method_15853(Lnet/minecraft/class_3628;IIII)I
      named sample Lnet/minecraft/world/biome/layer/ScaleLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerSampleContext;IIII)I