Package net.minecraft.entity.vehicle
Enum Class AbstractBoatEntity.Location
java.lang.Object
java.lang.Enum<AbstractBoatEntity.Location>
net.minecraft.entity.vehicle.AbstractBoatEntity.Location
- All Implemented Interfaces:
Serializable,Comparable<AbstractBoatEntity.Location>,Constable
- Enclosing class:
AbstractBoatEntity
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/AbstractBoatEntity$Locationintermediary net/minecraft/class_10255$class_1691official cut$a
-
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 AbstractBoatEntity.LocationReturns the enum constant of this class with the specified name.static AbstractBoatEntity.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 named IN_WATERLnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;IN_WATER:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_7718Lnet/minecraft/class_10255$class_1691;field_7718:Lnet/minecraft/class_10255$class_1691;official aLcut$a;a:Lcut$a;
-
UNDER_WATER
- Mappings:
Namespace Name Mixin selector named UNDER_WATERLnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;UNDER_WATER:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_7717Lnet/minecraft/class_10255$class_1691;field_7717:Lnet/minecraft/class_10255$class_1691;official bLcut$a;b:Lcut$a;
-
UNDER_FLOWING_WATER
- Mappings:
Namespace Name Mixin selector named UNDER_FLOWING_WATERLnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;UNDER_FLOWING_WATER:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_7716Lnet/minecraft/class_10255$class_1691;field_7716:Lnet/minecraft/class_10255$class_1691;official cLcut$a;c:Lcut$a;
-
ON_LAND
- Mappings:
Namespace Name Mixin selector named ON_LANDLnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;ON_LAND:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_7719Lnet/minecraft/class_10255$class_1691;field_7719:Lnet/minecraft/class_10255$class_1691;official dLcut$a;d:Lcut$a;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector named IN_AIRLnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;IN_AIR:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_7720Lnet/minecraft/class_10255$class_1691;field_7720:Lnet/minecraft/class_10255$class_1691;official eLcut$a;e:Lcut$a;
-
-
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
-