Enum ScaleLayer

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

public enum ScaleLayer
extends Enum<ScaleLayer>
implements ParentedLayer
Mappings:
Namespace Name
official dby
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 Ldby;a:Ldby;
      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 b Ldby;b:Ldby;
      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;
  • Constructor Details

    • ScaleLayer

      private ScaleLayer()
  • Method Details

    • values

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

      public static ScaleLayer valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 Ldcj;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 Ldcj;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 Ldcb;a(Lday;Ldau;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 Ldby;a(Lday;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