magistermaks / fabric-simplelibs Goto Github PK
View Code? Open in Web Editor NEWSimple libs for fabric mods
License: MIT License
Simple libs for fabric mods
License: MIT License
https://github.com/magistermaks/fabric-simplelibs/blob/master/simple-config/SimpleConfig.java#L100
Path path = FabricLoader.getInstance().getConfigDir();
if you change the path obtained by the fabric loader to a relative path, including the config folder, it works just the same and could be used for forge as well !
Path path = Path.of("./config");
I didn't make a pull request because I do not know your intend with the SimpleConfig.
I have used this fix myself to make a simple configuration file to use with my mod that I'm currently coding under Multiloader (forge and fabric simultaneously) and prevents the slop of having to add two different configs for both versions.
I haven't thoroughly tested this, but it seems to work grand for what I'm using it for so far !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.