Enum Class TrackerUpdateAction.None
- All Implemented Interfaces:
Serializable, Comparable<TrackerUpdateAction.None>, Constable, BiPredicate<RenderedBone, BonePredicate>, TrackerUpdateAction
- Enclosing interface:
TrackerUpdateAction
public static enum TrackerUpdateAction.None
extends Enum<TrackerUpdateAction.None>
implements TrackerUpdateAction
No-op action.
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface 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 TypeMethodDescription@NotNull Stream<TrackerUpdateAction> stream()Returns a stream of actions (useful for flattening composites).booleantest(@NotNull RenderedBone bone, @NotNull BonePredicate predicate) Applies the action to a bone if it matches the predicate.static TrackerUpdateAction.NoneReturns the enum constant of this class with the specified name.static TrackerUpdateAction.None[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface BiPredicate
and, negate, orMethods inherited from interface TrackerUpdateAction
then
-
Enum Constant Details
-
INSTANCE
-
-
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
-
stream
Description copied from interface:TrackerUpdateActionReturns a stream of actions (useful for flattening composites).- Specified by:
streamin interfaceTrackerUpdateAction- Returns:
- the stream
-