Enum Class BoatEntity.Location

java.lang.Object
java.lang.Enum<BoatEntity.Location>
net.minecraft.entity.vehicle.BoatEntity.Location
All Implemented Interfaces:
Serializable, Comparable<BoatEntity.Location>, Constable
Enclosing class:
BoatEntity

public static enum BoatEntity.Location extends Enum<BoatEntity.Location>
Mappings:
Namespace Name
named net/minecraft/entity/vehicle/BoatEntity$Location
intermediary net/minecraft/class_1690$class_1691
official cow$a
  • Enum Constant Details

    • IN_WATER

      public static final BoatEntity.Location IN_WATER
      Mappings:
      Namespace Name Mixin selector
      named IN_WATER Lnet/minecraft/entity/vehicle/BoatEntity$Location;IN_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
      intermediary field_7718 Lnet/minecraft/class_1690$class_1691;field_7718:Lnet/minecraft/class_1690$class_1691;
      official a Lcow$a;a:Lcow$a;
    • UNDER_WATER

      public static final BoatEntity.Location UNDER_WATER
      Mappings:
      Namespace Name Mixin selector
      named UNDER_WATER Lnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
      intermediary field_7717 Lnet/minecraft/class_1690$class_1691;field_7717:Lnet/minecraft/class_1690$class_1691;
      official b Lcow$a;b:Lcow$a;
    • UNDER_FLOWING_WATER

      public static final BoatEntity.Location UNDER_FLOWING_WATER
      Mappings:
      Namespace Name Mixin selector
      named UNDER_FLOWING_WATER Lnet/minecraft/entity/vehicle/BoatEntity$Location;UNDER_FLOWING_WATER:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
      intermediary field_7716 Lnet/minecraft/class_1690$class_1691;field_7716:Lnet/minecraft/class_1690$class_1691;
      official c Lcow$a;c:Lcow$a;
    • ON_LAND

      public static final BoatEntity.Location ON_LAND
      Mappings:
      Namespace Name Mixin selector
      named ON_LAND Lnet/minecraft/entity/vehicle/BoatEntity$Location;ON_LAND:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
      intermediary field_7719 Lnet/minecraft/class_1690$class_1691;field_7719:Lnet/minecraft/class_1690$class_1691;
      official d Lcow$a;d:Lcow$a;
    • IN_AIR

      public static final BoatEntity.Location IN_AIR
      Mappings:
      Namespace Name Mixin selector
      named IN_AIR Lnet/minecraft/entity/vehicle/BoatEntity$Location;IN_AIR:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
      intermediary field_7720 Lnet/minecraft/class_1690$class_1691;field_7720:Lnet/minecraft/class_1690$class_1691;
      official e Lcow$a;e:Lcow$a;
  • Constructor Details

    • Location

      private Location()
  • Method Details

    • values

      public static BoatEntity.Location[] 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

      public static BoatEntity.Location valueOf(String name)
      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 name
      NullPointerException - if the argument is null