Package net.minecraft.entity.vehicle
Enum Class BoatEntity.Location
- All Implemented Interfaces:
Serializable,Comparable<BoatEntity.Location>,Constable
- Enclosing class:
- BoatEntity
- Mappings:
Namespace Name official aag$aintermediary net/minecraft/class_962$class_2676named 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BoatEntity.LocationReturns the enum constant of this class with the specified name.static BoatEntity.Location[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_WATER
- Mappings:
Namespace Name Mixin selector official aLaag$a;a:Laag$a;intermediary field_12235Lnet/minecraft/class_962$class_2676;field_12235:Lnet/minecraft/class_962$class_2676;named IN_WATERLnet/minecraft/entity/vehicle/BoatEntity$Location;IN_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
UNDER_WATER
- Mappings:
Namespace Name Mixin selector official bLaag$a;b:Laag$a;intermediary field_12236Lnet/minecraft/class_962$class_2676;field_12236:Lnet/minecraft/class_962$class_2676;named UNDER_WATERLnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
UNDER_FLOWING_WATER
- Mappings:
Namespace Name Mixin selector official cLaag$a;c:Laag$a;intermediary field_12237Lnet/minecraft/class_962$class_2676;field_12237:Lnet/minecraft/class_962$class_2676;named UNDER_FLOWING_WATERLnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_FLOWING_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
ON_LAND
- Mappings:
Namespace Name Mixin selector official dLaag$a;d:Laag$a;intermediary field_12238Lnet/minecraft/class_962$class_2676;field_12238:Lnet/minecraft/class_962$class_2676;named ON_LANDLnet/minecraft/entity/vehicle/BoatEntity$Location;ON_LAND:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector official eLaag$a;e:Laag$a;intermediary field_12239Lnet/minecraft/class_962$class_2676;field_12239:Lnet/minecraft/class_962$class_2676;named IN_AIRLnet/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 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
-