Package net.minecraft.entity.vehicle
Enum Class BoatEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<BoatEntity.Type>,Constable
- Enclosing class:
- BoatEntity
- Mappings:
Namespace Name official afd$bintermediary net/minecraft/class_962$class_2677named net/minecraft/entity/vehicle/BoatEntity$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static BoatEntity.TypegetType(int type) static BoatEntity.TypeinttoString()static BoatEntity.TypeReturns the enum constant of this class with the specified name.static BoatEntity.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OAK
- Mappings:
Namespace Name Mixin selector official aLafd$b;a:Lafd$b;intermediary field_12241Lnet/minecraft/class_962$class_2677;field_12241:Lnet/minecraft/class_962$class_2677;named OAKLnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector official bLafd$b;b:Lafd$b;intermediary field_12242Lnet/minecraft/class_962$class_2677;field_12242:Lnet/minecraft/class_962$class_2677;named SPRUCELnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
BIRCH
- Mappings:
Namespace Name Mixin selector official cLafd$b;c:Lafd$b;intermediary field_12243Lnet/minecraft/class_962$class_2677;field_12243:Lnet/minecraft/class_962$class_2677;named BIRCHLnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official dLafd$b;d:Lafd$b;intermediary field_12244Lnet/minecraft/class_962$class_2677;field_12244:Lnet/minecraft/class_962$class_2677;named JUNGLELnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
ACACIA
- Mappings:
Namespace Name Mixin selector official eLafd$b;e:Lafd$b;intermediary field_12245Lnet/minecraft/class_962$class_2677;field_12245:Lnet/minecraft/class_962$class_2677;named ACACIALnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector official fLafd$b;f:Lafd$b;intermediary field_12246Lnet/minecraft/class_962$class_2677;field_12246:Lnet/minecraft/class_962$class_2677;named DARK_OAKLnet/minecraft/entity/vehicle/BoatEntity$Type;DARK_OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official gLafd$b;g:Ljava/lang/String;intermediary field_12247Lnet/minecraft/class_962$class_2677;field_12247:Ljava/lang/String;named nameLnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;
-
woodType
private final int woodType- Mappings:
Namespace Name Mixin selector official hLafd$b;h:Iintermediary field_12248Lnet/minecraft/class_962$class_2677;field_12248:Inamed woodTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;woodType:I
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lafd$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_962$class_2677;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/entity/vehicle/BoatEntity$Type;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLafd$b;a()Ljava/lang/String;intermediary method_11341Lnet/minecraft/class_962$class_2677;method_11341()Ljava/lang/String;named getNameLnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;
-
getWoodType
public int getWoodType()- Mappings:
Namespace Name Mixin selector official bLafd$b;b()Iintermediary method_11344Lnet/minecraft/class_962$class_2677;method_11344()Inamed getWoodTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getWoodType()I
-
toString
- Overrides:
toStringin classEnum<BoatEntity.Type>- Mappings:
Namespace Name Mixin selector official toStringLafd$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_962$class_2677;toString()Ljava/lang/String;named toStringLnet/minecraft/entity/vehicle/BoatEntity$Type;toString()Ljava/lang/String;
-
getType
- Mappings:
Namespace Name Mixin selector official aLafd$b;a(I)Lafd$b;intermediary method_11342Lnet/minecraft/class_962$class_2677;method_11342(I)Lnet/minecraft/class_962$class_2677;named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
getType
- Mappings:
Namespace Name Mixin selector official aLafd$b;a(Ljava/lang/String;)Lafd$b;intermediary method_11343Lnet/minecraft/class_962$class_2677;method_11343(Ljava/lang/String;)Lnet/minecraft/class_962$class_2677;named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-