Package net.minecraft.entity.vehicle
Enum BoatEntity.Location
- All Implemented Interfaces:
Serializable
,Comparable<BoatEntity.Location>
,java.lang.constant.Constable
- Enclosing class:
- BoatEntity
public static enum BoatEntity.Location extends Enum<BoatEntity.Location>
- Mappings:
Namespace Name official bjc$a
intermediary net/minecraft/class_1690$class_1691
named net/minecraft/entity/vehicle/BoatEntity$Location
-
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 IN_AIR
IN_WATER
ON_LAND
UNDER_FLOWING_WATER
UNDER_WATER
-
Constructor Summary
Constructors Modifier Constructor Description private
Location()
-
Method Summary
Modifier and Type Method Description static BoatEntity.Location
valueOf(String name)
Returns the enum constant of this type with the specified name.static BoatEntity.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IN_WATER
- Mappings:
Namespace Name Mixin selector official a
Lbjc$a;a:Lbjc$a;
intermediary field_7718
Lnet/minecraft/class_1690$class_1691;field_7718:Lnet/minecraft/class_1690$class_1691;
named IN_WATER
Lnet/minecraft/entity/vehicle/BoatEntity$Location;IN_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
UNDER_WATER
- Mappings:
Namespace Name Mixin selector official b
Lbjc$a;b:Lbjc$a;
intermediary field_7717
Lnet/minecraft/class_1690$class_1691;field_7717:Lnet/minecraft/class_1690$class_1691;
named UNDER_WATER
Lnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
UNDER_FLOWING_WATER
- Mappings:
Namespace Name Mixin selector official c
Lbjc$a;c:Lbjc$a;
intermediary field_7716
Lnet/minecraft/class_1690$class_1691;field_7716:Lnet/minecraft/class_1690$class_1691;
named UNDER_FLOWING_WATER
Lnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_FLOWING_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
ON_LAND
- Mappings:
Namespace Name Mixin selector official d
Lbjc$a;d:Lbjc$a;
intermediary field_7719
Lnet/minecraft/class_1690$class_1691;field_7719:Lnet/minecraft/class_1690$class_1691;
named ON_LAND
Lnet/minecraft/entity/vehicle/BoatEntity$Location;ON_LAND:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector official e
Lbjc$a;e:Lbjc$a;
intermediary field_7720
Lnet/minecraft/class_1690$class_1691;field_7720:Lnet/minecraft/class_1690$class_1691;
named IN_AIR
Lnet/minecraft/entity/vehicle/BoatEntity$Location;IN_AIR:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
-
Constructor Details
-
Location
private Location()
-
-
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
-