Class PropertyRegistry
java.lang.Object
org.skriptlang.skript.lang.properties.PropertyRegistry
A registry handling
Property
s.
Skript and addons should register any new properties here to avoid conflicts.
If a conflict does occur, your property will fail to register and return false. You should check if your property
has a matching handler with the already registered one. If so, you should be able to use the other property instead of your own.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Unmodifiable Collection
<Property<?>> elements()
Property
<?> boolean
isRegistered
(@NotNull String name) boolean
isRegistered
(@NotNull Property<?> property) boolean
boolean
unregister
(String name) boolean
unregister
(@NotNull Property<?> property) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator