Integrated Dynamics

Integrated Dynamics

63M Downloads

"Anvil combination result" operator

SharkWipf opened this issue · 1 comments

commented

Issue type:

  • ➕ Feature request

Short description:

I'd like to have an operator exposing the projected results of 2 items combined in an anvil as an item.
Think of the item preview shown when using an anvil manually, except exposed through Integrated Dynamics.
This would allow for things like automatically checking if 2 items can be combined at all, and if the result is as desired.

A practical example would be EnderIO loot capacitors. These can be combined in an anvil to get new, improved stats, but not every 2 capacitors are worth combining.
Whether a capacitor is worth combining is in part determined by the random "seed" for the capacitors I believe, and cannot realistically be tested with NBT data alone.
With an "anvil result" operator that takes 2 items and spits out a 3rd, one could simply compare the new item to the 2 inputs and decide if it's worth combining this way, and move the items along accordingly.

commented

Optional name could be Anvil Merge, with signature Item -> Item -> Item.
This should not allow renaming an item, as the naming of an item is a different function that the anvil simply does in one go.