Enum Class ContinentLayer

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

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

    • INSTANCE

      public static final ContinentLayer INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldfq;a:Ldfq;
      intermediary field_16103 Lnet/minecraft/class_3643;field_16103:Lnet/minecraft/class_3643;
      named INSTANCE Lnet/minecraft/world/biome/layer/ContinentLayer;INSTANCE:Lnet/minecraft/world/biome/layer/ContinentLayer;
  • Constructor Details

    • ContinentLayer

      private ContinentLayer()
  • Method Details

    • values

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

      public int sample(LayerRandomnessSource context, int x, int y)
      Specified by:
      sample in interface InitLayer
      Mappings:
      Namespace Name Mixin selector
      official a Ldgh;a(Ldfg;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