Enum OceanTemperatureLayer

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

public enum OceanTemperatureLayer
extends Enum<OceanTemperatureLayer>
implements InitLayer
Mappings:
Namespace Name
official dbn
intermediary net/minecraft/class_3644
named net/minecraft/world/biome/layer/OceanTemperatureLayer
  • Enum Constant Details

    • INSTANCE

      public static final OceanTemperatureLayer INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldbn;a:Ldbn;
      intermediary field_16105 Lnet/minecraft/class_3644;field_16105:Lnet/minecraft/class_3644;
      named INSTANCE Lnet/minecraft/world/biome/layer/OceanTemperatureLayer;INSTANCE:Lnet/minecraft/world/biome/layer/OceanTemperatureLayer;
  • Constructor Details

    • OceanTemperatureLayer

      private OceanTemperatureLayer()
  • Method Details

    • values

      public static OceanTemperatureLayer[] 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 OceanTemperatureLayer 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
    • sample

      public int sample​(LayerRandomnessSource context, int x, int y)
      Specified by:
      sample in interface InitLayer
      Mappings:
      Namespace Name Mixin selector
      official a Ldca;a(Ldaz;II)I
      intermediary method_15855 Lnet/minecraft/class_3658;method_15855(Lnet/minecraft/class_3630;II)I
      named sample Lnet/minecraft/world/biome/layer/type/InitLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerRandomnessSource;II)I