Enum Class BoatEntity.Type

java.lang.Object
java.lang.Enum<BoatEntity.Type>
net.minecraft.entity.vehicle.BoatEntity.Type
All Implemented Interfaces:
Serializable, Comparable<BoatEntity.Type>, Constable
Enclosing class:
BoatEntity

public static enum BoatEntity.Type extends Enum<BoatEntity.Type>
Mappings:
Namespace Name
official abx$b
intermediary net/minecraft/class_962$class_2677
named net/minecraft/entity/vehicle/BoatEntity$Type
  • Enum Constant Details

    • OAK

      public static final BoatEntity.Type OAK
      Mappings:
      Namespace Name Mixin selector
      official a Labx$b;a:Labx$b;
      intermediary field_12241 Lnet/minecraft/class_962$class_2677;field_12241:Lnet/minecraft/class_962$class_2677;
      named OAK Lnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • SPRUCE

      public static final BoatEntity.Type SPRUCE
      Mappings:
      Namespace Name Mixin selector
      official b Labx$b;b:Labx$b;
      intermediary field_12242 Lnet/minecraft/class_962$class_2677;field_12242:Lnet/minecraft/class_962$class_2677;
      named SPRUCE Lnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • BIRCH

      public static final BoatEntity.Type BIRCH
      Mappings:
      Namespace Name Mixin selector
      official c Labx$b;c:Labx$b;
      intermediary field_12243 Lnet/minecraft/class_962$class_2677;field_12243:Lnet/minecraft/class_962$class_2677;
      named BIRCH Lnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • JUNGLE

      public static final BoatEntity.Type JUNGLE
      Mappings:
      Namespace Name Mixin selector
      official d Labx$b;d:Labx$b;
      intermediary field_12244 Lnet/minecraft/class_962$class_2677;field_12244:Lnet/minecraft/class_962$class_2677;
      named JUNGLE Lnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • ACACIA

      public static final BoatEntity.Type ACACIA
      Mappings:
      Namespace Name Mixin selector
      official e Labx$b;e:Labx$b;
      intermediary field_12245 Lnet/minecraft/class_962$class_2677;field_12245:Lnet/minecraft/class_962$class_2677;
      named ACACIA Lnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • DARK_OAK

      public static final BoatEntity.Type DARK_OAK
      Mappings:
      Namespace Name Mixin selector
      official f Labx$b;f:Labx$b;
      intermediary field_12246 Lnet/minecraft/class_962$class_2677;field_12246:Lnet/minecraft/class_962$class_2677;
      named DARK_OAK Lnet/minecraft/entity/vehicle/BoatEntity$Type;DARK_OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official g Labx$b;g:Ljava/lang/String;
      intermediary field_12247 Lnet/minecraft/class_962$class_2677;field_12247:Ljava/lang/String;
      named name Lnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;
    • woodType

      private final int woodType
      Mappings:
      Namespace Name Mixin selector
      official h Labx$b;h:I
      intermediary field_12248 Lnet/minecraft/class_962$class_2677;field_12248:I
      named woodType Lnet/minecraft/entity/vehicle/BoatEntity$Type;woodType:I
  • Constructor Details

    • Type

      private Type(int woodType, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labx$b;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_962$class_2677;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/entity/vehicle/BoatEntity$Type;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static BoatEntity.Type[] 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 BoatEntity.Type 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Labx$b;a()Ljava/lang/String;
      intermediary method_11341 Lnet/minecraft/class_962$class_2677;method_11341()Ljava/lang/String;
      named getName Lnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;
    • getWoodType

      public int getWoodType()
      Mappings:
      Namespace Name Mixin selector
      official b Labx$b;b()I
      intermediary method_11344 Lnet/minecraft/class_962$class_2677;method_11344()I
      named getWoodType Lnet/minecraft/entity/vehicle/BoatEntity$Type;getWoodType()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BoatEntity.Type>
      Mappings:
      Namespace Name Mixin selector
      official toString Labx$b;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_962$class_2677;toString()Ljava/lang/String;
      named toString Lnet/minecraft/entity/vehicle/BoatEntity$Type;toString()Ljava/lang/String;
    • getType

      public static BoatEntity.Type getType(int type)
      Mappings:
      Namespace Name Mixin selector
      official a Labx$b;a(I)Labx$b;
      intermediary method_11342 Lnet/minecraft/class_962$class_2677;method_11342(I)Lnet/minecraft/class_962$class_2677;
      named getType Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
    • getType

      public static BoatEntity.Type getType(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Labx$b;a(Ljava/lang/String;)Labx$b;
      intermediary method_11343 Lnet/minecraft/class_962$class_2677;method_11343(Ljava/lang/String;)Lnet/minecraft/class_962$class_2677;
      named getType Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;