Package kr.toxicity.model.api.tracker
Enum Class TrackerUpdateAction.Glow
- All Implemented Interfaces:
Serializable,Comparable<TrackerUpdateAction.Glow>,Constable,BiPredicate<RenderedBone,,BonePredicate> TrackerUpdateAction
- Enclosing interface:
TrackerUpdateAction
public static enum TrackerUpdateAction.Glow
extends Enum<TrackerUpdateAction.Glow>
implements TrackerUpdateAction
Action to update glow status.
- Since:
- 1.15.2
-
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.Composite, TrackerUpdateAction.Enchant, TrackerUpdateAction.Glow, TrackerUpdateAction.GlowColor, TrackerUpdateAction.ItemMapping, TrackerUpdateAction.ItemStack, TrackerUpdateAction.MoveDuration, TrackerUpdateAction.None, TrackerUpdateAction.PerBone, TrackerUpdateAction.PreviousTint, TrackerUpdateAction.Tint, TrackerUpdateAction.TogglePart, TrackerUpdateAction.ViewRange -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(@NotNull RenderedBone bone, @NotNull BonePredicate predicate) Applies the action to a bone if it matches the predicate.static TrackerUpdateAction.GlowReturns the enum constant of this class with the specified name.static TrackerUpdateAction.Glow[]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, orMethods inherited from interface kr.toxicity.model.api.tracker.TrackerUpdateAction
stream, then
-
Enum Constant Details
-
TRUE
Enable glow.- Since:
- 1.15.2
-
FALSE
Disable glow.- Since:
- 1.15.2
-
-
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
Description copied from interface:TrackerUpdateActionApplies the action to a bone if it matches the predicate.- Specified by:
testin interfaceBiPredicate<RenderedBone,BonePredicate> - Specified by:
testin interfaceTrackerUpdateAction- Parameters:
bone- the target bonepredicate- the predicate to check against- Returns:
- true if the bone was updated
-