<minecraft:saplin:*> for example, if unclear
I currently working at forestry support in Minetweaker, and there is a bug that some maschines don't accept the Wildcard notation.
My naive line of thought was, that Forge nativly support this Wildcard, is this right?
So i write in the Minetweaker addon (simplyfied Pseudocode):
- : [Select all] [/] [] ()
- @ZenMethod
addRecipe(IItemStack itemInput, otherstuff) {
ModApi.addrecipe(getItemStack(itemInput), otherstuff)
} - GeSHi © Codebox Plus
writing the 'Itemstack.toString' to the log give me,
using the wildcard * in a script
something like this 'internalName@32767'
how has this handle any modcrafting mechanism to work?
I asume that ItemStack1.isItemEqual(ItemStack2) only matches if the datavalues are the same?
Because if use itemstack1.getItemDamage() == Defaults.WILDCARD it seems to work.
Conlusion:
I want to know i (in Modtweaker) have to write something special
or if the modauthor must make their crafting mechanismen aware of damage values.