Skip to content

Loot Table Datagen Issue #13

@HyperionDash

Description

@HyperionDash

after updating my project to 1.21.3+ and not changing anything about "ModLootTableProvider" , it broke and after adding new blocks to the list the datagen generates "(mymodid).json" in the minecraft loot table folder with the last item on the list as the dropped item, instead of generating a file for each block in the (my modid) loot table folder, causing everything to drop the same thing for some reason, no idea why it did that but i might aswell ask to try to fix it so i dont have to do it manually :P

edit: i think i know why, it seems that from 1.21.2+ the game thinks that all the custom blocks in the mod should all use the loottable "minecraft:blocks/(my modid).json" :) why why why im going crazy i just wanna make a mod please help me

Image

(heres the github repo if that helps) https://github.com/HyperionDash/Chiseled/tree/master
(versions are split up into branches so probably check 1.21 and 1.21.3)

(the git repo has the intended behaviour but if you remove those files and then re-run datagen it causes the issue)
Intended Behaviour:
Image

What Happens:
Image
(ik one is in Git and the other is in intellij but im working on things so i cant switch to 1.21 in intellij rn)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions