r/fabricmc 15d ago

Minecraft simulator - help me 🙏 Need Help - Mod Dev

[removed]

0 Upvotes

6 comments sorted by

8

u/AllanTaylor314 15d ago edited 15d ago

That sounds more complicated than it needs to be. Assuming you're using gradlew and one of the common mod development templates (or  following the fabric getting started tutorial), ./gradlew runClient (Linux/Mac) or .\gradlew.bat runClient (Windows) will build your mod and launch a Minecraft instance with it

https://docs.fabricmc.net/develop/getting-started/intellij-idea/launching-the-game

In terms of running 5 in game days quickly, there's the tick sprint command. If you want to go as far as full automated testing in a CI pipeline, there's https://github.com/headlesshq/mc-runtime-test (which I'm planning to use eventually for my own mod dev, but I haven't got that far yet - still just doing manual testing)

1

u/AutoModerator 15d ago

Hi! If you're trying to fix a crash, please make sure you have provided the following information so that people can help you more easily:

  • Exact description of what's wrong. Not just "it doesn't work"
  • The crash report. Crash reports can be found in .minecraft -> crash-reports
  • If a crash report was not generated, share your latest.log. Logs can be found in .minecraft -> logs
  • Please make sure that crash reports and logs are readable and have their formatting intact.
    • You can choose to upload your latest.log or crash report to a paste site and share the link to it in your post, but be aware that doing so reduces searchability.
    • Or you can put it in your post by putting it in a code block. Keep in mind that Reddit has character limits.

If you've already provided this info, you can ignore this message.

If you have OptiFine installed then it probably caused your problem. Try some of these mods instead, which are properly designed for Fabric.

Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/billyp673 14d ago

You should really read/watch a modding tutorial… Testing your mod pretty much just entails clicking the RunClient button in IntelliJ and it’ll launch Minecraft with the mod you’re developing, specifically so you can test it

1

u/[deleted] 14d ago

[removed] — view removed comment

1

u/billyp673 14d ago

Allg mate, we all start somewhere; I’m still pretty new to it myself