Package net.minecraft.entity.projectile
Enum PersistentProjectileEntity.PickupPermission
java.lang.Object
java.lang.Enum<PersistentProjectileEntity.PickupPermission>
net.minecraft.entity.projectile.PersistentProjectileEntity.PickupPermission
- All Implemented Interfaces:
Serializable,Comparable<PersistentProjectileEntity.PickupPermission>,java.lang.constant.Constable
- Enclosing class:
- PersistentProjectileEntity
public static enum PersistentProjectileEntity.PickupPermission extends Enum<PersistentProjectileEntity.PickupPermission>
- Mappings:
Namespace Name official bhp$aintermediary net/minecraft/class_1665$class_1666named net/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWEDCREATIVE_ONLYDISALLOWED -
Constructor Summary
Constructors Modifier Constructor Description privatePickupPermission() -
Method Summary
Modifier and Type Method Description static PersistentProjectileEntity.PickupPermissionfromOrdinal(int ordinal)static PersistentProjectileEntity.PickupPermissionvalueOf(String name)Returns the enum constant of this type with the specified name.static PersistentProjectileEntity.PickupPermission[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DISALLOWED
- Mappings:
Namespace Name Mixin selector official aLbhp$a;a:Lbhp$a;intermediary field_7592Lnet/minecraft/class_1665$class_1666;field_7592:Lnet/minecraft/class_1665$class_1666;named DISALLOWEDLnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;DISALLOWED:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
-
ALLOWED
- Mappings:
Namespace Name Mixin selector official bLbhp$a;b:Lbhp$a;intermediary field_7593Lnet/minecraft/class_1665$class_1666;field_7593:Lnet/minecraft/class_1665$class_1666;named ALLOWEDLnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;ALLOWED:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
-
CREATIVE_ONLY
- Mappings:
Namespace Name Mixin selector official cLbhp$a;c:Lbhp$a;intermediary field_7594Lnet/minecraft/class_1665$class_1666;field_7594:Lnet/minecraft/class_1665$class_1666;named CREATIVE_ONLYLnet/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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
fromOrdinal
- Mappings:
Namespace Name Mixin selector official aLbhp$a;a(I)Lbhp$a;intermediary method_7458Lnet/minecraft/class_1665$class_1666;method_7458(I)Lnet/minecraft/class_1665$class_1666;named fromOrdinalLnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;fromOrdinal(I)Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
-