#Please help me in compiling my mod

33 messages · Page 1 of 1 (latest)

serene valley
#

no

#

why can't you compile it yourself?

#

also what are the odds of this being a hack/cheat? 👀

placid juniper
#

no

#

i am a begineer

#

i am also dont cheat or hack

#

please @serene valley can you help me

kindred zealot
#

!!export

radiant sapphireBOT
#

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.

serene valley
#

how did you write the code but couldn't compile it?

placid juniper
#

i used ai

serene valley
#

and how do you know it works? why couldn't your AI compile it for you lmao?

placid juniper
#

idk

#

@serene valley do you know anyone who can help bcuz i am stuck on .gradlew build

serene valley
#

the likelihood of you getting help from this server is 0

kindred zealot
#

obligatory !!llm

radiant sapphireBOT
#

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.

serene valley
placid juniper
#

ohh

#

it means the code can be wrong

#

ohh thanks

#

it means i wasted my entire weak

kindred zealot
#

well yeah, llms aren’t magic things that do everything perfectly

serene valley
#

you need to learn java like everyone else

placid juniper
#

ohh

#

thanks that helps but i am in class 8 rn so it will take a long time

kindred zealot
serene valley
#

you can't fast track learning lol. ofc it will take time

placid juniper
#

yeah

#

thanks

#

but i think i will hire a person to make a mod]

hot crane
#

you can compile it into github if you want!! @placid juniper

placid juniper
#

nah i am good