fabric-modding-wiki icon indicating copy to clipboard operation
fabric-modding-wiki copied to clipboard

Guide - DataGen

Open Bawnorton opened this issue 2 years ago • 3 comments

What do you want to see added?

The fabric wiki data gen documentation is out of date. I'm unfamiliar with it so an up-to-date guide would be great.

TODO

  • [x] Setup
  • [ ] Block Model Provider
  • [x] Translation Provider
  • [ ] Codec Provider
  • [ ] Recipe Provider
  • [x] Loot Table Provider
  • [x] Tag Provider

Bawnorton avatar Mar 16 '23 01:03 Bawnorton

This is being worked on.

IMB11 avatar May 02 '23 18:05 IMB11

could it be that in the setup part, some part is missing. in the official fabric wiki

sourceSets {
    main {
        resources {
            srcDirs += [
                    'src/main/generated'
            ]
        }
    }
}

they added this part to the build.gradle which is missing in the tutorial and the reference-mod

only after adding this it worked for me locally

or did I miss some other change?

ToBinio avatar Aug 22 '23 13:08 ToBinio

Good spot, i'll push it later today with some other datagen pages.

IMB11 avatar Aug 22 '23 13:08 IMB11