Enum Class OreVeinSampler.VeinType

java.lang.Object
java.lang.Enum<OreVeinSampler.VeinType>
net.minecraft.world.gen.OreVeinSampler.VeinType
All Implemented Interfaces:
Serializable, Comparable<OreVeinSampler.VeinType>, Constable
Enclosing class:
OreVeinSampler

protected static enum OreVeinSampler.VeinType extends Enum<OreVeinSampler.VeinType>
Mappings:
Namespace Name
named net/minecraft/world/gen/OreVeinSampler$VeinType
intermediary net/minecraft/class_6955$class_6354
official dyq$a
  • Enum Constant Details

    • COPPER

      public static final OreVeinSampler.VeinType COPPER
      Mappings:
      Namespace Name Mixin selector
      named COPPER Lnet/minecraft/world/gen/OreVeinSampler$VeinType;COPPER:Lnet/minecraft/world/gen/OreVeinSampler$VeinType;
      intermediary field_33603 Lnet/minecraft/class_6955$class_6354;field_33603:Lnet/minecraft/class_6955$class_6354;
      official a Ldyq$a;a:Ldyq$a;
    • IRON

      public static final OreVeinSampler.VeinType IRON
      Mappings:
      Namespace Name Mixin selector
      named IRON Lnet/minecraft/world/gen/OreVeinSampler$VeinType;IRON:Lnet/minecraft/world/gen/OreVeinSampler$VeinType;
      intermediary field_33604 Lnet/minecraft/class_6955$class_6354;field_33604:Lnet/minecraft/class_6955$class_6354;
      official b Ldyq$a;b:Ldyq$a;
  • Field Details

    • ore

      final BlockState ore
      Mappings:
      Namespace Name Mixin selector
      named ore Lnet/minecraft/world/gen/OreVeinSampler$VeinType;ore:Lnet/minecraft/block/BlockState;
      intermediary field_33605 Lnet/minecraft/class_6955$class_6354;field_33605:Lnet/minecraft/class_2680;
      official e Ldyq$a;e:Ldsl;
    • rawOreBlock

      final BlockState rawOreBlock
      Mappings:
      Namespace Name Mixin selector
      named rawOreBlock Lnet/minecraft/world/gen/OreVeinSampler$VeinType;rawOreBlock:Lnet/minecraft/block/BlockState;
      intermediary field_33668 Lnet/minecraft/class_6955$class_6354;field_33668:Lnet/minecraft/class_2680;
      official f Ldyq$a;f:Ldsl;
    • stone

      final BlockState stone
      Mappings:
      Namespace Name Mixin selector
      named stone Lnet/minecraft/world/gen/OreVeinSampler$VeinType;stone:Lnet/minecraft/block/BlockState;
      intermediary field_33606 Lnet/minecraft/class_6955$class_6354;field_33606:Lnet/minecraft/class_2680;
      official g Ldyq$a;g:Ldsl;
    • minY

      protected final int minY
      Mappings:
      Namespace Name Mixin selector
      named minY Lnet/minecraft/world/gen/OreVeinSampler$VeinType;minY:I
      intermediary field_33607 Lnet/minecraft/class_6955$class_6354;field_33607:I
      official c Ldyq$a;c:I
    • maxY

      protected final int maxY
      Mappings:
      Namespace Name Mixin selector
      named maxY Lnet/minecraft/world/gen/OreVeinSampler$VeinType;maxY:I
      intermediary field_33608 Lnet/minecraft/class_6955$class_6354;field_33608:I
      official d Ldyq$a;d:I
  • Constructor Details

    • VeinType

      private VeinType(BlockState ore, BlockState rawOreBlock, BlockState stone, int minY, int maxY)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/OreVeinSampler$VeinType;<init>(Ljava/lang/String;ILnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;II)V
      intermediary <init> Lnet/minecraft/class_6955$class_6354;<init>(Ljava/lang/String;ILnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;II)V
      official <init> Ldyq$a;<init>(Ljava/lang/String;ILdsl;Ldsl;Ldsl;II)V
  • Method Details

    • values

      public static OreVeinSampler.VeinType[] 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 OreVeinSampler.VeinType 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