Giter Site home page Giter Site logo

Search for mods recursively about fabric-loader HOT 8 OPEN

fabricmc avatar fabricmc commented on August 16, 2024 17
Search for mods recursively

from fabric-loader.

Comments (8)

Pannoniae avatar Pannoniae commented on August 16, 2024 7

You can treat a folder named "disabled" as a special-case for disabled mods, and everything else as just a category.

from fabric-loader.

sfPlayer1 avatar sfPlayer1 commented on August 16, 2024 3

Recursive loading is currently only available with some customization, e.g. -Dfabric.addMods=mods effectively makes the whole folder recursively available

from fabric-loader.

liach avatar liach commented on August 16, 2024 2

We should have a vote on this. I disagree as people may actually use folders to put their disabled mods in.

from fabric-loader.

Julienraptor01 avatar Julienraptor01 commented on August 16, 2024 2

One idea could be that by default subfolders are loaded except :
If the name of the folder is a MC version that isn't the one used
If the name of the folder end by .disabled

If recursivity is added and a subfolder is in a subfolder, will it be loaded
Example of what i mean

mods
->1.16.5
-->libs
--->someLib+v1.0.0.jar
--->someOtherLib+v1.0.0.jar
-->mods
--->someMod+v1.0.0.jar
--->someOtherMod+v1.0.0.jar
-->notWorking.disabled
--->anotherMod+v1.0.0.jar
->1.18.2
-->libs
--->someLib+v2.0.0.jar
--->someOtherLib+v2.0.0.jar
-->mods
--->someMod+v2.0.0.jar
--->someOtherMod+v2.0.0.jar
-->notWorking.disabled
--->anotherMod+v2.0.0.jar

from fabric-loader.

Frontrider avatar Frontrider commented on August 16, 2024 1

I'd say that if you want to remove a mod then actually remove that mod, or add a ".disabled" extension to the file like multimc does.

from fabric-loader.

liach avatar liach commented on August 16, 2024

For now, you can use prefix in your mod jar names to serve this purpose while getting mods loaded by the loader.

from fabric-loader.

liach avatar liach commented on August 16, 2024

Imo there are just too many "special cases" to consider, including version-specific folders, etc. maybe we can have a file that defines what folders to load from? (bad idea possibly, overcomplicated)

from fabric-loader.

Julienraptor01 avatar Julienraptor01 commented on August 16, 2024

Recursive loading is currently only available with some customization, e.g. -Dfabric.addMods=mods effectively makes the whole folder recursively available

Nice 👍
Having this feature toggleable is a really good idea.
Version sorting and folder disabling could be a great addition.

from fabric-loader.

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.