Interface OnyxNamespace
- All Known Implementing Classes:
OnyxNamespaceImpl
public interface OnyxNamespace
The root containers/registries for all custom content.
They manage scope, id's, and interact with the resource pack generator.
-
Method Summary
Modifier and TypeMethodDescriptionCreates or looks up an OnyxBlock.getKey()Gets the key associated with this namespace.Creates or looks up an OnyxItem.matchBlock(Block block) Checks the given block to determine if it is tracking an OnyxBlock.Checks the given ItemStack and matches it to a registered OnyxItem if it exists.
-
Method Details
-
getKey
NamespacedKey getKey()Gets the key associated with this namespace.- Returns:
- The underlying Bukkit NamespacedKey.
-
item
-
matchItem
-
block
-
matchBlock
-