Quantumshark / TestMod

mod for minecraft, adding various interesting minerals, machines and equipment
Other
0 stars 0 forks source link

Handle item tags in recipes #18

Closed digit1729 closed 4 years ago

digit1729 commented 4 years ago

Add a tag match to recipe capability In this case we want to treat tag as a bitwise field Input will specify the bit is set to zero Output will specify that the bit should be set to one Other bits should be maintained

digit1729 commented 4 years ago

Note: the recipe can probably include NBT tags required using a standard format (in the item stack). Make sure we can specifically match no tag (perhaps using zero as a default?) Putting NBT tags in the output stack will create an item with those tags but ... ... need to add a function to tell the machine to combine tags for a given output slot with those read from a given input slot (numbered based on recipe in each case).