Class OnyxNamespaceImpl
java.lang.Object
com.zombienw.onyxlib.impl.registry.OnyxNamespaceImpl
- All Implemented Interfaces:
OnyxNamespace
-
Constructor Details
-
OnyxNamespaceImpl
-
-
Method Details
-
getKey
Description copied from interface:OnyxNamespaceGets the key associated with this namespace.- Specified by:
getKeyin interfaceOnyxNamespace- Returns:
- The underlying Bukkit NamespacedKey.
-
getPlugin
-
item
Description copied from interface:OnyxNamespaceRetrieves an existing OnyxItem or creates a new one if it doesn't exist.- Specified by:
itemin interfaceOnyxNamespace- Parameters:
id- The unique identifier for the item (e.g., "strawberry").- Returns:
- The OnyxItem configuration and creation wrapper.
-
lock
public void lock() -
getItems
Used for pack generation -
getItem
Used for item search
-