Package net.minecraft.entity.projectile
Enum FishingBobberEntity.State
- All Implemented Interfaces:
Serializable
,Comparable<FishingBobberEntity.State>
,java.lang.constant.Constable
- Enclosing class:
- FishingBobberEntity
static enum FishingBobberEntity.State extends Enum<FishingBobberEntity.State>
- Mappings:
Namespace Name official bhx$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
Enum Constants Enum Constant Description BOBBING
FLYING
HOOKED_IN_ENTITY
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
Modifier and Type Method Description static FishingBobberEntity.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static FishingBobberEntity.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLYING
- Mappings:
Namespace Name Mixin selector official a
Lbhx$a;a:Lbhx$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
Lbhx$a;b:Lbhx$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
Lbhx$a;c:Lbhx$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 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
-