Package net.minecraft.entity.vehicle
Enum Class BoatEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<BoatEntity.Type>,Constable,StringIdentifiable
- Enclosing class:
BoatEntity
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/BoatEntity$Typeintermediary net/minecraft/class_1690$class_1692official coe$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Blockprivate static final IntFunction<BoatEntity.Type> static final StringIdentifiable.EnumCodec<BoatEntity.Type> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()static BoatEntity.TypegetType(int type) static BoatEntity.TypetoString()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 named OAKLnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7727Lnet/minecraft/class_1690$class_1692;field_7727:Lnet/minecraft/class_1690$class_1692;official aLcoe$b;a:Lcoe$b;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector named SPRUCELnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7728Lnet/minecraft/class_1690$class_1692;field_7728:Lnet/minecraft/class_1690$class_1692;official bLcoe$b;b:Lcoe$b;
-
BIRCH
- Mappings:
Namespace Name Mixin selector named BIRCHLnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7729Lnet/minecraft/class_1690$class_1692;field_7729:Lnet/minecraft/class_1690$class_1692;official cLcoe$b;c:Lcoe$b;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector named JUNGLELnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7730Lnet/minecraft/class_1690$class_1692;field_7730:Lnet/minecraft/class_1690$class_1692;official dLcoe$b;d:Lcoe$b;
-
ACACIA
- Mappings:
Namespace Name Mixin selector named ACACIALnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7725Lnet/minecraft/class_1690$class_1692;field_7725:Lnet/minecraft/class_1690$class_1692;official eLcoe$b;e:Lcoe$b;
-
CHERRY
- Mappings:
Namespace Name Mixin selector named CHERRYLnet/minecraft/entity/vehicle/BoatEntity$Type;CHERRY:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_42681Lnet/minecraft/class_1690$class_1692;field_42681:Lnet/minecraft/class_1690$class_1692;official fLcoe$b;f:Lcoe$b;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector named DARK_OAKLnet/minecraft/entity/vehicle/BoatEntity$Type;DARK_OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_7723Lnet/minecraft/class_1690$class_1692;field_7723:Lnet/minecraft/class_1690$class_1692;official gLcoe$b;g:Lcoe$b;
-
MANGROVE
- Mappings:
Namespace Name Mixin selector named MANGROVELnet/minecraft/entity/vehicle/BoatEntity$Type;MANGROVE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_37506Lnet/minecraft/class_1690$class_1692;field_37506:Lnet/minecraft/class_1690$class_1692;official hLcoe$b;h:Lcoe$b;
-
BAMBOO
- Mappings:
Namespace Name Mixin selector named BAMBOOLnet/minecraft/entity/vehicle/BoatEntity$Type;BAMBOO:Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary field_40161Lnet/minecraft/class_1690$class_1692;field_40161:Lnet/minecraft/class_1690$class_1692;official iLcoe$b;i:Lcoe$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/vehicle/BoatEntity$Type;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;intermediary field_41599Lnet/minecraft/class_1690$class_1692;field_41599:Lnet/minecraft/class_3542$class_7292;official jLcoe$b;j:Layz$a;
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/entity/vehicle/BoatEntity$Type;BY_ID:Ljava/util/function/IntFunction;intermediary field_41675Lnet/minecraft/class_1690$class_1692;field_41675:Ljava/util/function/IntFunction;official mLcoe$b;m:Ljava/util/function/IntFunction;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;intermediary field_7726Lnet/minecraft/class_1690$class_1692;field_7726:Ljava/lang/String;official kLcoe$b;k:Ljava/lang/String;
-
baseBlock
- Mappings:
Namespace Name Mixin selector named baseBlockLnet/minecraft/entity/vehicle/BoatEntity$Type;baseBlock:Lnet/minecraft/block/Block;intermediary field_7731Lnet/minecraft/class_1690$class_1692;field_7731:Lnet/minecraft/class_2248;official lLcoe$b;l:Ldff;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/vehicle/BoatEntity$Type;<init>(Ljava/lang/String;ILnet/minecraft/block/Block;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1690$class_1692;<init>(Ljava/lang/String;ILnet/minecraft/class_2248;Ljava/lang/String;)Vofficial <init>Lcoe$b;<init>(Ljava/lang/String;ILdff;Ljava/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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLayz;c()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;intermediary method_7559Lnet/minecraft/class_1690$class_1692;method_7559()Ljava/lang/String;official aLcoe$b;a()Ljava/lang/String;
-
getBaseBlock
- Mappings:
Namespace Name Mixin selector named getBaseBlockLnet/minecraft/entity/vehicle/BoatEntity$Type;getBaseBlock()Lnet/minecraft/block/Block;intermediary method_7560Lnet/minecraft/class_1690$class_1692;method_7560()Lnet/minecraft/class_2248;official bLcoe$b;b()Ldff;
-
toString
- Overrides:
toStringin classEnum<BoatEntity.Type>
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary method_7558Lnet/minecraft/class_1690$class_1692;method_7558(I)Lnet/minecraft/class_1690$class_1692;official aLcoe$b;a(I)Lcoe$b;
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;intermediary method_7561Lnet/minecraft/class_1690$class_1692;method_7561(Ljava/lang/String;)Lnet/minecraft/class_1690$class_1692;official aLcoe$b;a(Ljava/lang/String;)Lcoe$b;
-