simibubi / Above-and-Beyond

[Forge Modpack] Create's official Challenge-pack
141 stars 49 forks source link

Incorrect Smithing table recipe #247

Closed NerdySpider closed 2 years ago

NerdySpider commented 2 years ago

hey there! just was looking through some recipes and I happened to spot a incorrect recipe. I'm not too sure why, but using a piece of netherite on this hammer seems to downgrade it to diamond, haha! image

The item in question is the "Netherite Blacksmith Gavel" and the "Diamond Blacksmith Gavel" From forbidden and Arcanus!

quietust commented 2 years ago

This is a bug in Forbidden & Arcanus itself, and it was apparently fixed in version 1.18.1-2.0.1. Unfortunately, I don't know if there are any plans to backport it to 1.16.5, so it might be necessary to fix it within this pack using KubeJS.

Fortunately, it's pretty easy to fix - just add the following code to kubejs/server_scripts/recipes.js in a convenient function (I used glitch which was otherwise empty):

    event.remove({ id: 'forbidden_arcanus:smithing/obsidian_blacksmith_gavel' })
    event.smithing('forbidden_arcanus:netherite_blacksmith_gavel', 'forbidden_arcanus:diamond_blacksmith_gavel', 'minecraft:netherite_ingot')