[Request/Question] Need a method to retrieve specific IItemStack from registered materials
wormzjl opened this issue ยท 5 comments
When testing, I have observed that removing and readding material definition scripts could cause a change in item meta, which means using expressions like <contenttweaker:material_part:meta>
will break existing scripts if something goes wrong.
This makes things complicated when using them in crafting recipes, one can use oredict entries as ingredients, but not as products.
The only method I've found so far is to use firstItem in crafttweaker.oredict.IOreDictEntry, but it's not guaranteed to return a item from CoT. So I wonder if there is such method available, if not, is it possible to add one?