Package ch.njol.skript.bukkitutil
Class RegistryUtils
java.lang.Object
ch.njol.skript.bukkitutil.RegistryUtils
Utility class relating to
Registry
and RegistryKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get a String of all registy keys for docsstatic Class
<?> getRegistryClass
(RegistryKey<?> key) static @Nullable RegistryKey
<?> getRegistryKey
(String key) static @Nullable RegistryKey
<?> getRegistryKeyByName
(String name) static Supplier
<Iterator<RegistryKey>> Get a supplier forClassInfo
registrationstatic String
toString
(RegistryKey<?> registryKey)
-
Constructor Details
-
RegistryUtils
public RegistryUtils()
-
-
Method Details
-
getRegistryKey
-
getRegistryKeyByName
-
getRegistryClass
-
toString
-
getAllNames
Get a String of all registy keys for docs- Returns:
- Separated string of names for docs
-
getSupplier
Get a supplier forClassInfo
registration- Returns:
- Supplier for class info
-