Tinkers Construct

Tinkers Construct

170M Downloads

Red Sand Cast Pickup recipe doesn't change anything other than JEI

Closed this issue ยท 3 comments

commented

Minecraft Version

1.20.1

Modloader

Forge

Modloader Version

47.3.33

Mantle Version

1.11.63

Tinkers' Construct Version

3.10.1.76

Describe your issue

There is a json file in at the path tconstruct/recipes/smeltery/red_sand_cast_pickup.json. I believe this file is to control what happens when you pick up a red sand cast from a casting table, but it does nothing except change the recipe in JEI. Theoretically I'd like to be able to change this file or replace it with {} to stop red sand casts from being reset when you pick them up.

Steps to reproduce

  1. Change file at tconstruct/recipes/smeltery/red_sand_cast_pickup.json
  2. Reload game
  3. Pick up red sand cast from casting table

Crash Report

No response

Can you reproduce with just Tinkers?

Yes

Performance Enchancers

None of the above

Other mods

None

Searched for known issues?

Checked the in game books, Checked the FAQ, Searched closed issues, Searched open issues, Checked pinned issues

commented

Replacing the casting table fixes the issue. Odd, but it works.

commented

Recipes are often cached in the block for performance. Cache doesn't last past a world reload so I'm not too bothered by the reload command not refreshing it. Crafting any other molding recipe would be enough to clear that recipe from the cache.

Aside, replacing a recipe Json with {} is not how you remove them. That just causes errors in the log due to an invalid JSON. See https://slimeknights.github.io/docs/json/resource-location/#removing-recipes for removing recipes.

commented

Thank you for the note about removing recipes - I was wondering why VS Code was giving me all sorts of errors. And the block caches make total sense, and won't impact gameplay at all. Thanks!