UEAPIRegistry
This is the registry class. This class is used to register triggers, placeholders, and many other things. It is also used to retrieve them.
Note that this class should only ever be implemented by UnderscoreEnchants.
See also
Properties
An immutable copy of all registered actions.
An immutable copy of all registered activation indicators.
An immutable copy of all registered applicables.
An immutable copy of all registered conditions.
An immutable copy of all registered enchantments.
An immutable copy of all registered enchantment seekers.
An immutable copy of all registered enchantment placeholders.
An immutable copy of all registered triggers.
Functions
This method finds an action by its name (alias).
This method finds all actions by a plugin that has registered it. Note that the list may be empty.
This method finds an applicable by its name (alias).
This method finds all applicables by a plugin that has registered it. Note that the list may be empty.
This method finds a condition by its name (alias).
This method finds all conditions by a plugin that has registered it. Note that the list may be empty.
This method finds an enchantment by its name (alias).
Finds an enchantment by a NamespacedKey.
Finds an enchantment by its keyString (e.g. "test_enchantment" in "underscore:test_enchantment"). Returns null if none is found.
This method finds an enchantment pack by its name. While an enchantment pack is not a registrable object, it is a container for registrable enchantments, and as such is stored inside the registry for convenience.
This method finds all enchantments by a plugin that has registered it. Note that the list may be empty.
This method finds an activation indicator by its name (alias).
This method finds all activation indicators by plugin plugin that has registered it. Note that the list may be empty.
This method finds a placeholder by its name (alias).
This method finds all placeholders by a plugin that has registered it. Note that the list may be empty.
This method finds an enchantment seeker by its name (alias).
This method finds all enchantment seekers by plugin plugin that has registered it. Note that the list may be empty.
This method finds a trigger by its name (alias).
This method finds all triggers by a plugin that has registered it. Note that the list may be empty.
Provides a RegistrablesProvider to the API to register new items.