Class PropertyRegistry
java.lang.Object
org.skriptlang.skript.lang.properties.PropertyRegistry
A registry handling
Propertys.
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<?> booleanisRegistered(@NotNull String name) booleanisRegistered(@NotNull Property<?> property) booleanbooleanunregister(String name) booleanunregister(@NotNull Property<?> property) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator