Package kr.toxicity.model.api.tracker
Enum Class TrackerUpdateAction.Enchant
java.lang.Object
java.lang.Enum<TrackerUpdateAction.Enchant>
kr.toxicity.model.api.tracker.TrackerUpdateAction.Enchant
- All Implemented Interfaces:
Serializable,Comparable<TrackerUpdateAction.Enchant>,Constable,BiPredicate<RenderedBone,,BonePredicate> TrackerUpdateAction
- Enclosing interface:
TrackerUpdateAction
public static enum TrackerUpdateAction.Enchant
extends Enum<TrackerUpdateAction.Enchant>
implements TrackerUpdateAction
Enchant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface kr.toxicity.model.api.tracker.TrackerUpdateAction
TrackerUpdateAction.Billboard, TrackerUpdateAction.Brightness, TrackerUpdateAction.Enchant, TrackerUpdateAction.Glow, TrackerUpdateAction.GlowColor, TrackerUpdateAction.ItemStack, TrackerUpdateAction.Tint, TrackerUpdateAction.TogglePart -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(@NotNull RenderedBone bone, @NotNull BonePredicate predicate) static TrackerUpdateAction.EnchantReturns the enum constant of this class with the specified name.static TrackerUpdateAction.Enchant[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Enum Constant Details
-
TRUE
True -
FALSE
False
-
-
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
-
test
- Specified by:
testin interfaceBiPredicate<RenderedBone,BonePredicate> - Specified by:
testin interfaceTrackerUpdateAction
-