Package net.minecraft.entity.vehicle
Enum Class BoatEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<BoatEntity.Type>,Constable
- Enclosing class:
- BoatEntity
- Mappings:
Namespace Name official aap$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 aLaap$b;a:Laap$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 bLaap$b;b:Laap$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 cLaap$b;c:Laap$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 dLaap$b;d:Laap$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 eLaap$b;e:Laap$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 fLaap$b;f:Laap$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 gLaap$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 hLaap$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>Laap$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 aLaap$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 bLaap$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 toStringLaap$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 aLaap$b;a(I)Laap$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 aLaap$b;a(Ljava/lang/String;)Laap$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;
-