Giter VIP home page Giter VIP logo

Comments (2)

VanderCat avatar VanderCat commented on September 8, 2024

it seems this library will crash the game if minecraft was launched from another working directory, that is a case on some custom launchers.

so if you try to execute java -cp <mclibs> <fabricMainClass> from any folder but .minecraft (or your launcher alternative) it will fail to find classes in folder.

a solution for this on fabric may be to use FabricLoader.getInstance().getGameDir()+"/mods to get full path. though i'm not sure about this since documentation says something about game's work directory too so it may not work. another solution may be a hacky way to use FabricLoader.getInstance().getConfigDir()+"/../mods"

from majruszlibrary.

TDY2012 avatar TDY2012 commented on September 8, 2024

Same here on Mac M1.

Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1
Operating System: Mac OS X (aarch64) version 14.5
Java Version: 17.0.8, Microsoft
Forge: net.minecraftforge:47.2.30

from majruszlibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.