Enum Class AddSunflowerPlainsLayer

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

public enum AddSunflowerPlainsLayer extends Enum<AddSunflowerPlainsLayer> implements SouthEastSamplingLayer
Mappings:
Namespace Name
official dfx
intermediary net/minecraft/class_3649
named net/minecraft/world/biome/layer/AddSunflowerPlainsLayer
  • Enum Constant Details

    • INSTANCE

      public static final AddSunflowerPlainsLayer INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldfx;a:Ldfx;
      intermediary field_16155 Lnet/minecraft/class_3649;field_16155:Lnet/minecraft/class_3649;
      named INSTANCE Lnet/minecraft/world/biome/layer/AddSunflowerPlainsLayer;INSTANCE:Lnet/minecraft/world/biome/layer/AddSunflowerPlainsLayer;
  • Constructor Details

    • AddSunflowerPlainsLayer

      private AddSunflowerPlainsLayer()
  • Method Details

    • values

      public static AddSunflowerPlainsLayer[] 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 AddSunflowerPlainsLayer 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 se)
      Specified by:
      sample in interface SouthEastSamplingLayer
      Mappings:
      Namespace Name Mixin selector
      official a Ldgm;a(Ldfg;I)I
      intermediary method_15869 Lnet/minecraft/class_3664;method_15869(Lnet/minecraft/class_3630;I)I
      named sample Lnet/minecraft/world/biome/layer/type/SouthEastSamplingLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerRandomnessSource;I)I