Tinkers Construct

Tinkers Construct

160M Downloads

`add_tool_data` can't find any material

Insane96 opened this issue ยท 2 comments

commented

Minecraft Version

1.18.2

Forge Version

40.1.68

Mantle Version

1.9.27

Tinkers' Construct Version

3.5.1.31

Describe your issue

Changing the bastion_bridge loot table to the following, the pickaxes generated are "blank".

Log: https://gist.github.com/Insane96/f17f3ed63696e1437abf8779c4ad93eb
DataPack:
tinker_create.zip

{
    "type": "minecraft:chest",
    "pools": [
        {
            "rolls": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 2.0
            },
            "bonus_rolls": 0.0,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "tconstruct:pickaxe",
                    "functions": [
                        {
                            "function": "tconstruct:add_tool_data",
                            "materials": [
                                {
                                    "type": "tconstruct:random",
                                    "stat_type": "tconstruct:head",
                                    "min_tier": 1
                                },
                                {
                                    "type": "tconstruct:random",
                                    "stat_type": "tconstruct:handle",
                                    "min_tier": 1
                                },
                                {
                                    "type": "tconstruct:random",
                                    "stat_type": "tconstruct:extra",
                                    "min_tier": 1
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

image

Crash Report

No response

Other mods

None

Tried reproducing with just Tinkers?

Yes

Performance Enchancers

None of the above

Searched for known issues?

I did not search

commented

Stat types are prefixed with tconstruct, like tconstruct:head

commented

Yep, that was it. Thanks