Package net.minecraft.entity.vehicle
Enum BoatEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<BoatEntity.Type>,java.lang.constant.Constable
- Enclosing class:
- BoatEntity
- Mappings:
Namespace Name official blc$bintermediary net/minecraft/class_1690$class_1692named 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.TypetoString()static BoatEntity.TypeReturns the enum constant of this type with the specified name.static BoatEntity.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OAK
- Mappings:
Namespace Name Mixin selector official aLblc$b;a:Lblc$b;intermediary field_7727Lnet/minecraft/class_1690$class_1692;field_7727:Lnet/minecraft/class_1690$class_1692;named OAKLnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector official bLblc$b;b:Lblc$b;intermediary field_7728Lnet/minecraft/class_1690$class_1692;field_7728:Lnet/minecraft/class_1690$class_1692;named SPRUCELnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
BIRCH
- Mappings:
Namespace Name Mixin selector official cLblc$b;c:Lblc$b;intermediary field_7729Lnet/minecraft/class_1690$class_1692;field_7729:Lnet/minecraft/class_1690$class_1692;named BIRCHLnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official dLblc$b;d:Lblc$b;intermediary field_7730Lnet/minecraft/class_1690$class_1692;field_7730:Lnet/minecraft/class_1690$class_1692;named JUNGLELnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
ACACIA
- Mappings:
Namespace Name Mixin selector official eLblc$b;e:Lblc$b;intermediary field_7725Lnet/minecraft/class_1690$class_1692;field_7725:Lnet/minecraft/class_1690$class_1692;named ACACIALnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector official fLblc$b;f:Lblc$b;intermediary field_7723Lnet/minecraft/class_1690$class_1692;field_7723:Lnet/minecraft/class_1690$class_1692;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 gLblc$b;g:Ljava/lang/String;intermediary field_7726Lnet/minecraft/class_1690$class_1692;field_7726:Ljava/lang/String;named nameLnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;
-
baseBlock
- Mappings:
Namespace Name Mixin selector official hLblc$b;h:Lbyw;intermediary field_7731Lnet/minecraft/class_1690$class_1692;field_7731:Lnet/minecraft/class_2248;named baseBlockLnet/minecraft/entity/vehicle/BoatEntity$Type;baseBlock:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lblc$b;<init>(Ljava/lang/String;ILbyw;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1690$class_1692;<init>(Ljava/lang/String;ILnet/minecraft/class_2248;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/entity/vehicle/BoatEntity$Type;<init>(Ljava/lang/String;ILnet/minecraft/block/Block;Ljava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLblc$b;a()Ljava/lang/String;intermediary method_7559Lnet/minecraft/class_1690$class_1692;method_7559()Ljava/lang/String;named getNameLnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;
-
getBaseBlock
- Mappings:
Namespace Name Mixin selector official bLblc$b;b()Lbyw;intermediary method_7560Lnet/minecraft/class_1690$class_1692;method_7560()Lnet/minecraft/class_2248;named getBaseBlockLnet/minecraft/entity/vehicle/BoatEntity$Type;getBaseBlock()Lnet/minecraft/block/Block;
-
toString
- Overrides:
toStringin classEnum<BoatEntity.Type>- Mappings:
Namespace Name Mixin selector official toStringLblc$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1690$class_1692;toString()Ljava/lang/String;named toStringLnet/minecraft/entity/vehicle/BoatEntity$Type;toString()Ljava/lang/String;
-
getType
- Mappings:
Namespace Name Mixin selector official aLblc$b;a(I)Lblc$b;intermediary method_7558Lnet/minecraft/class_1690$class_1692;method_7558(I)Lnet/minecraft/class_1690$class_1692;named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
getType
- Mappings:
Namespace Name Mixin selector official aLblc$b;a(Ljava/lang/String;)Lblc$b;intermediary method_7561Lnet/minecraft/class_1690$class_1692;method_7561(Ljava/lang/String;)Lnet/minecraft/class_1690$class_1692;named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-