Package net.minecraft.entity.projectile
Enum Class FishingBobberEntity.State
- All Implemented Interfaces:
Serializable
,Comparable<FishingBobberEntity.State>
,Constable
- Enclosing class:
- FishingBobberEntity
- Mappings:
Namespace Name official bnw$a
intermediary net/minecraft/class_1536$class_1537
named net/minecraft/entity/projectile/FishingBobberEntity$State
-
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 TypeMethodDescriptionstatic FishingBobberEntity.State
Returns the enum constant of this class with the specified name.static FishingBobberEntity.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLYING
- Mappings:
Namespace Name Mixin selector official a
Lbnw$a;a:Lbnw$a;
intermediary field_7180
Lnet/minecraft/class_1536$class_1537;field_7180:Lnet/minecraft/class_1536$class_1537;
named FLYING
Lnet/minecraft/entity/projectile/FishingBobberEntity$State;FLYING:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
-
HOOKED_IN_ENTITY
- Mappings:
Namespace Name Mixin selector official b
Lbnw$a;b:Lbnw$a;
intermediary field_7178
Lnet/minecraft/class_1536$class_1537;field_7178:Lnet/minecraft/class_1536$class_1537;
named HOOKED_IN_ENTITY
Lnet/minecraft/entity/projectile/FishingBobberEntity$State;HOOKED_IN_ENTITY:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
-
BOBBING
- Mappings:
Namespace Name Mixin selector official c
Lbnw$a;c:Lbnw$a;
intermediary field_7179
Lnet/minecraft/class_1536$class_1537;field_7179:Lnet/minecraft/class_1536$class_1537;
named BOBBING
Lnet/minecraft/entity/projectile/FishingBobberEntity$State;BOBBING:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
-
-
Constructor Details
-
State
private State()
-
-
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
-