public interface IResourceInfo
OreRegistryApi.info.| Modifier and Type | Method and Description |
|---|---|
IProductInfo |
getProductInfo(net.minecraft.item.ItemStack product)
Get information about a registered product.
|
net.minecraft.item.ItemStack |
tryUnifyItem(net.minecraft.item.ItemStack itemStack)
Tries to unify a item.
|
@Nullable IProductInfo getProductInfo(net.minecraft.item.ItemStack product)
net.minecraft.item.ItemStack tryUnifyItem(net.minecraft.item.ItemStack itemStack)
Returns an empty ItemStack if the item is already unified or if the item is not a variant of a registered product.