DevOnTheRocks / RockyTweaks

A Minecraft Forge mod that adds additional functionality to other mods.
GNU General Public License v3.0
5 stars 2 forks source link

Meta is ignored #18

Closed Laike-Endaril closed 5 years ago

Laike-Endaril commented 5 years ago

Eg. if you create the following recipe...

mods.rockycore.Anvil.addRecipe(, , , 1);

It will let you use any dye, whereas it should require an ink sac (dye:0). My actual usage was for thermal foundation alloying (copper + tin = bronze, etc). Since all thermal foundation ingots are the same item with different meta, it ends up creating quite a mess.

Notably, the JEI recipes display correctly, despite this behavior.

Laike-Endaril commented 5 years ago

It looks like the "matches()" method simply doesn't check meta, currently

https://github.com/DevOnTheRocks/RockyCore/blob/0e853f130f0b27dbd84f431ba10633977e8870e6/src/main/java/rocks/gameonthe/rockycore/crafttweaker/anvil/AnvilListener.java#L57