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$bintermediary net/minecraft/class_1536$class_4984named 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_WATERINSIDE_WATERINVALID -
Constructor Summary
Constructors Modifier Constructor Description privatePositionType() -
Method Summary
Modifier and Type Method Description static FishingBobberEntity.PositionTypevalueOf(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 aLbhx$b;a:Lbhx$b;intermediary field_23236Lnet/minecraft/class_1536$class_4984;field_23236:Lnet/minecraft/class_1536$class_4984;named ABOVE_WATERLnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;ABOVE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
-
INSIDE_WATER
- Mappings:
Namespace Name Mixin selector official bLbhx$b;b:Lbhx$b;intermediary field_23237Lnet/minecraft/class_1536$class_4984;field_23237:Lnet/minecraft/class_1536$class_4984;named INSIDE_WATERLnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INSIDE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
-
INVALID
- Mappings:
Namespace Name Mixin selector official cLbhx$b;c:Lbhx$b;intermediary field_23238Lnet/minecraft/class_1536$class_4984;field_23238:Lnet/minecraft/class_1536$class_4984;named INVALIDLnet/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
-