KubeJS

KubeJS

61M Downloads

replace individual item replaces every recipe where it exists including all tags

DelviousCrafts opened this issue ยท 0 comments

commented

Minecraft Version

1.19.2

KubeJS Version

1902.6.1-build.337

Rhino Version

1902.2.2-build.268

Architectury Version

6.5.85

Forge/Fabric Version

Forge 43.2.21

Describe your issue

Using the replace code to replace an individual item now replaces every instance where that item exists, including those in which the item is within a tag.

For example:
event.replaceInput({input: 'minecraft:dark_oak_planks'}, 'minecraft:dark_oak_planks', '#minecraft:planks/dark_oak')
will also replace the recipes for beds which require a tag and not just the instance of dark oak planks

This may be related to my previous report #612

This did not occur in version 6.0-build 140 and prior

Crash report/logs

No response