Package com.beansgalaxy.backpacks.entity
Enum Class EntityAbstract.LockedReason
java.lang.Object
java.lang.Enum<EntityAbstract.LockedReason>
com.beansgalaxy.backpacks.entity.EntityAbstract.LockedReason
- All Implemented Interfaces:
Serializable,Comparable<EntityAbstract.LockedReason>,Constable
- Enclosing class:
- EntityAbstract
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(BackData backData, net.minecraft.server.level.ServerLevel player, EntityAbstract backpack) static EntityAbstract.LockedReasonReturns the enum constant of this class with the specified name.static EntityAbstract.LockedReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS_REMOVED
-
ENDER_NO_OWNER
-
NOT_OWNER
-
OWNER_OFFLINE
-
ENDER_OFFLINE
-
-
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 nameNullPointerException- if the argument is null
-
apply
public boolean apply(BackData backData, net.minecraft.server.level.ServerLevel player, EntityAbstract backpack)
-