#Please help me in compiling my mod
33 messages · Page 1 of 1 (latest)
why can't you compile it yourself?
also what are the odds of this being a hack/cheat? 👀
no
i am a begineer
i am also dont cheat or hack
please @serene valley can you help me
!!export
Exporting your mod as a JAR: run in a terminal from the same directory as the mod project directory ./gradlew build on GNU/Linux and Mac, or gradlew build on Windows. Alternatively, in IntelliJ IDEA, open the Gradle tab on the right and execute build under tasks. The JARs should appear in ${projectDir}/build/libs. Use the one with the shortest name outside development.
how did you write the code but couldn't compile it?
i used ai
and how do you know it works? why couldn't your AI compile it for you lmao?
idk
@serene valley do you know anyone who can help bcuz i am stuck on .gradlew build
the likelihood of you getting help from this server is 0
obligatory !!llm
Whilst LLMs (Large Language Models) like ChatGPT and Gemini are impressive tools, **they are not recommended for first-time Fabric mod developers due to their inconsistency and potential for generating inaccurate code. **
LLMs may generate incorrect code that:
- Targets the wrong Minecraft version, leading to outdated or incompatible features.
- Uses incorrect mappings, causing errors or unexpected behavior.
- Is designed for the wrong loader (NeoForge vs. Fabric), resulting in incompatibility.
- Relies on non-existent Fabric API modules, creating code that references features that don't exist (called LLM hallucinations)
It's crucial to remember that LLMs should be seen as problem-solving aids, not code-generating machines. The output they provide often requires significant modification and understanding of Java before it can be implemented as a functional mod.
Therefore, learning Java is an absolute necessity before attempting to use any LLM-generated code in your mod. Knowing how the generated code works is key to using it effectively and fixing any problems that may arise.

ohh
it means the code can be wrong
ohh thanks
it means i wasted my entire weak
well yeah, llms aren’t magic things that do everything perfectly
you need to learn java like everyone else
they’re especially bad at minecraft modding due to being trained on multiple mappings and versions without really being able to tell them apart
you can't fast track learning lol. ofc it will take time
you can compile it into github if you want!! @placid juniper
nah i am good