Package net.minecraft.entity.vehicle
Enum Class BoatEntity.Type
- All Implemented Interfaces:
Serializable
,Comparable<BoatEntity.Type>
,Constable
,StringIdentifiable
- Enclosing class:
BoatEntity
- Mappings:
Namespace Name official cab$b
intermediary net/minecraft/class_1690$class_1692
named net/minecraft/entity/vehicle/BoatEntity$Type
-
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.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
private static final IntFunction<BoatEntity.Type>
static final StringIdentifiable.Codec<BoatEntity.Type>
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.getName()
static BoatEntity.Type
getType
(int type) static BoatEntity.Type
toString()
static BoatEntity.Type
Returns 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 a
Lcab$b;a:Lcab$b;
intermediary field_7727
Lnet/minecraft/class_1690$class_1692;field_7727:Lnet/minecraft/class_1690$class_1692;
named OAK
Lnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
SPRUCE
- Mappings:
Namespace Name Mixin selector official b
Lcab$b;b:Lcab$b;
intermediary field_7728
Lnet/minecraft/class_1690$class_1692;field_7728:Lnet/minecraft/class_1690$class_1692;
named SPRUCE
Lnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
BIRCH
- Mappings:
Namespace Name Mixin selector official c
Lcab$b;c:Lcab$b;
intermediary field_7729
Lnet/minecraft/class_1690$class_1692;field_7729:Lnet/minecraft/class_1690$class_1692;
named BIRCH
Lnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official d
Lcab$b;d:Lcab$b;
intermediary field_7730
Lnet/minecraft/class_1690$class_1692;field_7730:Lnet/minecraft/class_1690$class_1692;
named JUNGLE
Lnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
ACACIA
- Mappings:
Namespace Name Mixin selector official e
Lcab$b;e:Lcab$b;
intermediary field_7725
Lnet/minecraft/class_1690$class_1692;field_7725:Lnet/minecraft/class_1690$class_1692;
named ACACIA
Lnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
CHERRY
- Mappings:
Namespace Name Mixin selector official f
Lcab$b;f:Lcab$b;
intermediary field_42681
Lnet/minecraft/class_1690$class_1692;field_42681:Lnet/minecraft/class_1690$class_1692;
named CHERRY
Lnet/minecraft/entity/vehicle/BoatEntity$Type;CHERRY:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
DARK_OAK
- Mappings:
Namespace Name Mixin selector official g
Lcab$b;g:Lcab$b;
intermediary field_7723
Lnet/minecraft/class_1690$class_1692;field_7723:Lnet/minecraft/class_1690$class_1692;
named DARK_OAK
Lnet/minecraft/entity/vehicle/BoatEntity$Type;DARK_OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
MANGROVE
- Mappings:
Namespace Name Mixin selector official h
Lcab$b;h:Lcab$b;
intermediary field_37506
Lnet/minecraft/class_1690$class_1692;field_37506:Lnet/minecraft/class_1690$class_1692;
named MANGROVE
Lnet/minecraft/entity/vehicle/BoatEntity$Type;MANGROVE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
BAMBOO
- Mappings:
Namespace Name Mixin selector official i
Lcab$b;i:Lcab$b;
intermediary field_40161
Lnet/minecraft/class_1690$class_1692;field_40161:Lnet/minecraft/class_1690$class_1692;
named BAMBOO
Lnet/minecraft/entity/vehicle/BoatEntity$Type;BAMBOO:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official j
Lcab$b;j:Lapp$a;
intermediary field_41599
Lnet/minecraft/class_1690$class_1692;field_41599:Lnet/minecraft/class_3542$class_7292;
named CODEC
Lnet/minecraft/entity/vehicle/BoatEntity$Type;CODEC:Lnet/minecraft/util/StringIdentifiable$Codec;
-
BY_ID
- Mappings:
Namespace Name Mixin selector official m
Lcab$b;m:Ljava/util/function/IntFunction;
intermediary field_41675
Lnet/minecraft/class_1690$class_1692;field_41675:Ljava/util/function/IntFunction;
named BY_ID
Lnet/minecraft/entity/vehicle/BoatEntity$Type;BY_ID:Ljava/util/function/IntFunction;
-
name
- Mappings:
Namespace Name Mixin selector official k
Lcab$b;k:Ljava/lang/String;
intermediary field_7726
Lnet/minecraft/class_1690$class_1692;field_7726:Ljava/lang/String;
named name
Lnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;
-
baseBlock
- Mappings:
Namespace Name Mixin selector official l
Lcab$b;l:Lcpg;
intermediary field_7731
Lnet/minecraft/class_1690$class_1692;field_7731:Lnet/minecraft/class_2248;
named baseBlock
Lnet/minecraft/entity/vehicle/BoatEntity$Type;baseBlock:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lcab$b;<init>(Ljava/lang/String;ILcpg;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1690$class_1692;<init>(Ljava/lang/String;ILnet/minecraft/class_2248;Ljava/lang/String;)V
named <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 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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lapp;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official a
Lcab$b;a()Ljava/lang/String;
intermediary method_7559
Lnet/minecraft/class_1690$class_1692;method_7559()Ljava/lang/String;
named getName
Lnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;
-
getBaseBlock
- Mappings:
Namespace Name Mixin selector official b
Lcab$b;b()Lcpg;
intermediary method_7560
Lnet/minecraft/class_1690$class_1692;method_7560()Lnet/minecraft/class_2248;
named getBaseBlock
Lnet/minecraft/entity/vehicle/BoatEntity$Type;getBaseBlock()Lnet/minecraft/block/Block;
-
toString
- Overrides:
toString
in classEnum<BoatEntity.Type>
-
getType
- Mappings:
Namespace Name Mixin selector official a
Lcab$b;a(I)Lcab$b;
intermediary method_7558
Lnet/minecraft/class_1690$class_1692;method_7558(I)Lnet/minecraft/class_1690$class_1692;
named getType
Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
getType
- Mappings:
Namespace Name Mixin selector official a
Lcab$b;a(Ljava/lang/String;)Lcab$b;
intermediary method_7561
Lnet/minecraft/class_1690$class_1692;method_7561(Ljava/lang/String;)Lnet/minecraft/class_1690$class_1692;
named getType
Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-