#Can someone give me some pointers on my mod?

14 messages · Page 1 of 1 (latest)

nimble grail
#

Do know that AI is incredibly bad at writing Minecraft mods. Like, it's bad at most coding, but Minecraft is even worse (!!llm for why, once @spiral pier is back online).

Your config system probably works, but you could pull in a dependency like YACL to do the heavy lifting. Your git repository should also include all source files - that includes the build.gradle, gradle.properties, settings.gradle, probably the LICENSE... anything the template generator got started for you should probably be in there. If your computer goes kaput, it'll be annoying to get those back. Them being there also makes it possible for others to reproduce your builds and stuff.

solemn kayak
#

i'd also suggest not branding your mod as a "client"

hardy hamlet
hardy hamlet
#

its meant to be a fully personalized implementation of all the useful mods i like

nimble grail
# hardy hamlet it didnt really do like specific miencraft stuff. it was more like learning java...

It can be helpful, yes. It's just really freaking bad at Minecraft. It's helped me solve a few bugs, but is nearly always wrong on Minecraft things.
Minecraft is closed source, so it (theoretically) can't actually see the code you're interacting with. There's also a few different sets of mappings, so it doesn't know what names to use for methods. On top of that, there's many versions, each with their own subtle differences - it can't differentiate between those very well. It ends up being a gigantic mess xd
As long as you understand that, it's fine. I was just warning you in case you didn't.

hardy hamlet
#

speaking of mappings is that just up to personal prefernce or are there advantages to some? im pretty sure im using yarn (whatever the fabric template mod defaults to).

nimble grail
# hardy hamlet speaking of mappings is that just up to personal prefernce or are there advantag...

Yarn then. There are some advantages and disadvantages.
Yarn is open-source and has a free-for-all type licence.
MojMap is... weird. There's licencing concerns with it. Afaik, there's never been any fights over it, but it's a little weird about what you can and can't do.
Some things in mojank are named weird, and ya kinda just have to deal with it. 🧶 has some weird names in some places too, but at least you can ask for them to be fixed.

#

mojank is always completely mapped, whereas 🧶 is occasionally missing a mapping

#

Other build systems (not loom) only work with MojMap

#

And MojMap doesn't provide names for method parameters

#

So you layer parchment on top. I don't know much about parchment.

#

Also basically every tutorial for fabric is in yarn, so that's a thing.