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
official bnw$b
intermediary net/minecraft/class_1536$class_4984
named net/minecraft/entity/projectile/FishingBobberEntity$PositionType
  • Enum Constant Details

    • ABOVE_WATER

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

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

      public static final FishingBobberEntity.PositionType INVALID
      Mappings:
      Namespace Name Mixin selector
      official c Lbnw$b;c:Lbnw$b;
      intermediary field_23238 Lnet/minecraft/class_1536$class_4984;field_23238:Lnet/minecraft/class_1536$class_4984;
      named INVALID Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;INVALID:Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
  • 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