Package net.minecraft.entity.projectile
Enum FishingBobberEntity.PositionType
java.lang.Object
java.lang.Enum<FishingBobberEntity.PositionType>
net.minecraft.entity.projectile.FishingBobberEntity.PositionType
- All Implemented Interfaces:
Serializable
,Comparable<FishingBobberEntity.PositionType>
,java.lang.constant.Constable
- Enclosing class:
- FishingBobberEntity
static enum FishingBobberEntity.PositionType extends Enum<FishingBobberEntity.PositionType>
- Mappings:
Namespace Name official bhx$b
intermediary net/minecraft/class_1536$class_4984
named net/minecraft/entity/projectile/FishingBobberEntity$PositionType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOVE_WATER
INSIDE_WATER
INVALID
-
Constructor Summary
Constructors Modifier Constructor Description private
PositionType()
-
Method Summary
Modifier and Type Method Description static FishingBobberEntity.PositionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FishingBobberEntity.PositionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABOVE_WATER
- Mappings:
Namespace Name Mixin selector official a
Lbhx$b;a:Lbhx$b;
intermediary field_23236
Lnet/minecraft/class_1536$class_4984;field_23236:Lnet/minecraft/class_1536$class_4984;
named ABOVE_WATER
Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;ABOVE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
-
INSIDE_WATER
- Mappings:
Namespace Name Mixin selector official b
Lbhx$b;b:Lbhx$b;
intermediary field_23237
Lnet/minecraft/class_1536$class_4984;field_23237:Lnet/minecraft/class_1536$class_4984;
named INSIDE_WATER
Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INSIDE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
-
INVALID
- Mappings:
Namespace Name Mixin selector official c
Lbhx$b;c:Lbhx$b;
intermediary field_23238
Lnet/minecraft/class_1536$class_4984;field_23238:Lnet/minecraft/class_1536$class_4984;
named INVALID
Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INVALID:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
-
-
Constructor Details
-
PositionType
private PositionType()
-
-
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
-