Alpha-s-Stuff / TinkersConstruct

Tinker a little, build a little, tinker a little more...
MIT License
84 stars 29 forks source link

Raw Cobalt Ore melting recipe references nonexistent tag #130

Open unilock opened 3 months ago

unilock commented 3 months ago

Minecraft Version

1.20.1

Fabric Version

0.15.11

Fabric API Version

0.92.1+1.20.1

Hephaestus Version

1.20.1-3.6.4.273

Describe your issue

https://github.com/Alpha-s-Stuff/TinkersConstruct/blob/9558310d9a3980052924d2f25715f038496a6357/src/generated/resources/data/tconstruct/recipes/smeltery/melting/metal/cobalt/raw.json#L9-L11

#c:raw_cobalt_ores does not exist. I'm guessing it's supposed to be #c:raw_materials/cobalt? (or that tag should be renamed)

Crash Report

N/A

Other mods

Tried reproducing with just Tinkers?

Yes

Performance Enchancers

None of the above

Searched for known issues?

Checked pinned issues, Searched open issues, Searched closed issues, Checked the FAQ

sarim commented 3 months ago

There's several tags mismatched. I wrote this kubejs script to fix most of them.

ServerEvents.tags('item', event => {
    event.add('c:raw_ores', 'tconstruct:raw_cobalt');
    event.add('c:raw_cobalt_ores', 'tconstruct:raw_cobalt');
    event.add('c:raw_cobalt_blocks', 'tconstruct:raw_cobalt_block');
    event.add('c:storage_blocks', 'tconstruct:raw_cobalt_block');

    const gems = ['emerald', 'diamond', 'quartz'];
    gems.forEach(g => event.add('c:' + g + '_gems', 'minecraft:' + g));

    const metals = [
        'iron',
        'gold',
        'copper',
        'cobalt',
        'slimesteel',
        'amethyst_bronze',
        'rose_gold',
        'pig_iron',
        'manyullyn',
        'hepatizon',
        'queens_slime',
        'netherite',
        // 'knightslime'
        // 'soulsteel'
    ];
    metals.forEach(m => event.add('c:nuggets/' + m, '#c:' + m + '_nuggets'));
});