Enum Class FishingBobberEntity.PositionType

java.lang.Object
java.lang.Enum<FishingBobberEntity.PositionType>
net.minecraft.entity.projectile.FishingBobberEntity.PositionType
All Implemented Interfaces:
Serializable, Comparable<FishingBobberEntity.PositionType>, Constable
Enclosing class:
FishingBobberEntity

private static enum FishingBobberEntity.PositionType extends Enum<FishingBobberEntity.PositionType>
Mappings:
Namespace Name
named net/minecraft/entity/projectile/FishingBobberEntity$PositionType
intermediary net/minecraft/class_1536$class_4984
official cnm$b
  • Enum Constant Details

    • ABOVE_WATER

      public static final FishingBobberEntity.PositionType ABOVE_WATER
      Mappings:
      Namespace Name Mixin selector
      named ABOVE_WATER Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;ABOVE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
      intermediary field_23236 Lnet/minecraft/class_1536$class_4984;field_23236:Lnet/minecraft/class_1536$class_4984;
      official a Lcnm$b;a:Lcnm$b;
    • INSIDE_WATER

      public static final FishingBobberEntity.PositionType INSIDE_WATER
      Mappings:
      Namespace Name Mixin selector
      named INSIDE_WATER Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INSIDE_WATER:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
      intermediary field_23237 Lnet/minecraft/class_1536$class_4984;field_23237:Lnet/minecraft/class_1536$class_4984;
      official b Lcnm$b;b:Lcnm$b;
    • INVALID

      public static final FishingBobberEntity.PositionType INVALID
      Mappings:
      Namespace Name Mixin selector
      named INVALID Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INVALID:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
      intermediary field_23238 Lnet/minecraft/class_1536$class_4984;field_23238:Lnet/minecraft/class_1536$class_4984;
      official c Lcnm$b;c:Lcnm$b;
  • Constructor Details

    • PositionType

      private PositionType()
  • Method Details

    • values

      public static FishingBobberEntity.PositionType[] 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 FishingBobberEntity.PositionType 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