Enum Class BiomeEdgeLayer

java.lang.Object
java.lang.Enum<BiomeEdgeLayer>
net.minecraft.world.level.newbiome.layer.BiomeEdgeLayer
All Implemented Interfaces:
Serializable, Comparable<BiomeEdgeLayer>, Constable, LayerBiomes, AreaTransformer1, CastleTransformer, DimensionOffset1Transformer, DimensionTransformer

public enum BiomeEdgeLayer extends Enum<BiomeEdgeLayer> implements CastleTransformer
  • Enum Constant Details

  • Constructor Details

    • BiomeEdgeLayer

      private BiomeEdgeLayer()
  • Method Details

    • values

      public static BiomeEdgeLayer[] 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 BiomeEdgeLayer 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
    • apply

      public int apply(Context p_76664_, int p_76665_, int p_76666_, int p_76667_, int p_76668_, int p_76669_)
      Specified by:
      apply in interface CastleTransformer
    • checkEdge

      private boolean checkEdge(int[] p_76671_, int p_76672_)
    • checkEdgeStrict

      private boolean checkEdgeStrict(int[] p_76674_, int p_76675_, int p_76676_, int p_76677_, int p_76678_, int p_76679_, int p_76680_, int p_76681_)