Enum MobEntity.Location

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

public static enum MobEntity.Location
extends Enum<MobEntity.Location>
Mappings:
Namespace Name
official ps$a
intermediary net/minecraft/class_1753$class_1754
named net/minecraft/entity/mob/MobEntity$Location
  • Enum Constant Details

    • ON_GROUND

      public static final MobEntity.Location ON_GROUND
      Mappings:
      Namespace Name Mixin selector
      official a Lps$a;a:Lps$a;
      intermediary field_7510 Lnet/minecraft/class_1753$class_1754;field_7510:Lnet/minecraft/class_1753$class_1754;
      named ON_GROUND Lnet/minecraft/entity/mob/MobEntity$Location;ON_GROUND:Lnet/minecraft/entity/mob/MobEntity$Location;
    • IN_AIR

      public static final MobEntity.Location IN_AIR
      Mappings:
      Namespace Name Mixin selector
      official b Lps$a;b:Lps$a;
      intermediary field_7511 Lnet/minecraft/class_1753$class_1754;field_7511:Lnet/minecraft/class_1753$class_1754;
      named IN_AIR Lnet/minecraft/entity/mob/MobEntity$Location;IN_AIR:Lnet/minecraft/entity/mob/MobEntity$Location;
    • IN_WATER

      public static final MobEntity.Location IN_WATER
      Mappings:
      Namespace Name Mixin selector
      official c Lps$a;c:Lps$a;
      intermediary field_7512 Lnet/minecraft/class_1753$class_1754;field_7512:Lnet/minecraft/class_1753$class_1754;
      named IN_WATER Lnet/minecraft/entity/mob/MobEntity$Location;IN_WATER:Lnet/minecraft/entity/mob/MobEntity$Location;
  • Constructor Details

    • Location

      private Location()
  • Method Details

    • values

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

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