Enum Class PersistentProjectileEntity.PickupPermission

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

public static enum PersistentProjectileEntity.PickupPermission extends Enum<PersistentProjectileEntity.PickupPermission>
Mappings:
Namespace Name
official bno$a
intermediary net/minecraft/class_1665$class_1666
named net/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission
  • Enum Constant Details

    • DISALLOWED

      public static final PersistentProjectileEntity.PickupPermission DISALLOWED
      Mappings:
      Namespace Name Mixin selector
      official a Lbno$a;a:Lbno$a;
      intermediary field_7592 Lnet/minecraft/class_1665$class_1666;field_7592:Lnet/minecraft/class_1665$class_1666;
      named DISALLOWED Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;DISALLOWED:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
    • ALLOWED

      public static final PersistentProjectileEntity.PickupPermission ALLOWED
      Mappings:
      Namespace Name Mixin selector
      official b Lbno$a;b:Lbno$a;
      intermediary field_7593 Lnet/minecraft/class_1665$class_1666;field_7593:Lnet/minecraft/class_1665$class_1666;
      named ALLOWED Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;ALLOWED:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
    • CREATIVE_ONLY

      public static final PersistentProjectileEntity.PickupPermission CREATIVE_ONLY
      Mappings:
      Namespace Name Mixin selector
      official c Lbno$a;c:Lbno$a;
      intermediary field_7594 Lnet/minecraft/class_1665$class_1666;field_7594:Lnet/minecraft/class_1665$class_1666;
      named CREATIVE_ONLY Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;CREATIVE_ONLY:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
  • Constructor Details

    • PickupPermission

      private PickupPermission()
  • 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 name
      NullPointerException - if the argument is null
    • fromOrdinal

      public static PersistentProjectileEntity.PickupPermission fromOrdinal(int ordinal)
      Mappings:
      Namespace Name Mixin selector
      official a Lbno$a;a(I)Lbno$a;
      intermediary method_7458 Lnet/minecraft/class_1665$class_1666;method_7458(I)Lnet/minecraft/class_1665$class_1666;
      named fromOrdinal Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;fromOrdinal(I)Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;