getOrNull
Deprecated
Use NovaBlockRegistry and NovaItemRegistry instead.
Gets the NovaMaterial of this id or null if there isn't one.
Return
The NovaMaterial.
Parameters
id
The id of the NovaMaterial in the format namespace:name.
Deprecated
Use NovaBlockRegistry and NovaItemRegistry instead.
Gets the NovaMaterial of this id or null if there isn't one.
Return
The NovaMaterial.
Parameters
id
The id of the NovaMaterial.
Deprecated
Use NovaBlockRegistry and NovaItemRegistry instead.
Gets the NovaMaterial of this ItemStack or null if there isn't one.
Return
The NovaMaterial of this ItemStack.
Parameters
item
The ItemStack to get the NovaMaterial for.