Uses of Class
wtf.choco.arrows.api.property.ArrowProperty
Package | Description |
---|---|
wtf.choco.arrows.api.property | |
wtf.choco.arrows.arrow |
-
Uses of ArrowProperty in wtf.choco.arrows.api.property
Fields in wtf.choco.arrows.api.property declared as ArrowProperty Modifier and Type Field Description static ArrowProperty
ArrowProperty. ALLOW_INFINITY
A boolean valued property determining whether the infinity enchantment is permitted or not.static ArrowProperty
ArrowProperty. SKELETON_LOOT_WEIGHT
A double valued property determining the weighted chance for an alchemical arrow to drop.static ArrowProperty
ArrowProperty. SKELETONS_CAN_SHOOT
A boolean valued property determining whether skeletons may shoot an arrow or not.Methods in wtf.choco.arrows.api.property that return types with arguments of type ArrowProperty Modifier and Type Method Description @NotNull Set<ArrowProperty>
PropertyMap. getProperties()
Get an immutable set of all properties that have been explicitly set.Methods in wtf.choco.arrows.api.property with parameters of type ArrowProperty Modifier and Type Method Description @NotNull ArrowPropertyValue
PropertyMap. getProperty(@NotNull ArrowProperty property)
Get the value of the specified property.@NotNull ArrowPropertyValue
PropertyMap. getProperty(@NotNull ArrowProperty property, @Nullable Object defaultValue)
Get the value of the specified property.boolean
PropertyMap. hasProperty(@NotNull ArrowProperty property)
Check whether the specified property has been explicitly set or not.void
PropertyMap. removeProperty(@NotNull ArrowProperty property)
Remove a property and its value.void
PropertyMap. setProperty(@NotNull ArrowProperty property, @NotNull Supplier<Object> value)
Set a property's value that is to be recomputed every time it is fetched.void
PropertyMap. setProperty(@NotNull ArrowProperty property, @Nullable Object value)
Set a property's value. -
Uses of ArrowProperty in wtf.choco.arrows.arrow