[Bug] Centrifuge doesn't accept Fuzzy Wildcard
Yulife opened this issue ยท 6 comments
This script would show up in NEI but if you try to put a sapling in, it wouldn't accept it. Removing the ":*" makes it work again.
OK i found something, but don't know if i am stupid or Forestry do something wrong.
@mezz
Compare the matching methods of Centrifuge and Fermenter (are used to check if valid recipe):
https://github.com/ForestryMC/ForestryMC/blob/dev/src/main/java/forestry/factory/gadgets/MachineCentrifuge.java#L75
I changend Centrifuges matches logic to the one used in the Fermenter and now it seems working.
For me it shows it correct in NEI, but the machine does not process it. What exactly (if you use) addon/version have you for NEI Forestry recipes?
I am currently uncertain: can the normal Minecraft Itemstack handle the metadata/Damagevalues wildcard?
Similar behaviour in ThermicFabricator, Carpenter for example accepts wildcard. I assume that i implemented something different than jarred, so that my machines don't accept wildcards
I let print the String interpration of an ItemStack to log '<minecraft:stained_glass:*>' become to 'Input:1xtile.stainedGlass@32767'
is the the correct int value for wildcards?
@jaredlll08 any suggestions?