Enum Class RangeDispatchPredicate.Property
java.lang.Object
java.lang.Enum<RangeDispatchPredicate.Property>
org.geysermc.geyser.api.predicate.item.RangeDispatchPredicate.Property
- All Implemented Interfaces:
Serializable,Comparable<RangeDispatchPredicate.Property>,Constable
- Enclosing interface:
RangeDispatchPredicate
The different properties available to check the range of
- Since:
- 2.9.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChecks the bundle's fullnessChecks the amount of items in the item stackChecks the floats list in the custom model data componentChecks the damage of the item -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RangeDispatchPredicate.Property[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUNDLE_FULLNESS
Checks the bundle's fullness- Since:
- 2.9.3
-
DAMAGE
Checks the damage of the item- Since:
- 2.9.3
-
COUNT
Checks the amount of items in the item stack- Since:
- 2.9.3
-
CUSTOM_MODEL_DATA
Checks the floats list in the custom model data component- Since:
- 2.9.3
-
-
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
-