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