Giter Site home page Giter Site logo

Schema v2 about fabric-loader HOT 7 OPEN

fabricmc avatar fabricmc commented on August 16, 2024
Schema v2

from fabric-loader.

Comments (7)

sfPlayer1 avatar sfPlayer1 commented on August 16, 2024 5

From #122 and FabricMC/fabric#235 the following properties seem useful:

  • "parent", if present, refers to the mod id acting as the main mod for the current mod (modules, addons) for nested displaying
  • "hidden", if present and true, hides the mod from mod counts or mod lists as desired by the specific displaying implementation
  • "remoteRequired", boolean or version predicate string declaring whether the same mod id needs to be present on the other side of a client<->server connection and for strings also the required mod version. The validation needs to be implemented elsewhere, such as fabric-api, and is not necessarily exhaustive

While the features are inspired by Mod Menu's use cases, they are valuable for producing readable enhanced crash reports, automatically stripping client/server side mod pack archives, organizing UIs, bisecting and more

from fabric-loader.

asiekierka avatar asiekierka commented on August 16, 2024 2

From me: No to links, yes to descriptive dependencies.

from fabric-loader.

JustPyrrha avatar JustPyrrha commented on August 16, 2024 1

it would be nice to have a role string for authors.
something like

{
    "name": "JoeZwet",
    "role": "Developer",
    "contact": { ... }
}

from fabric-loader.

gbl avatar gbl commented on August 16, 2024

Dependencies could use a "get dependency X from website Y" entry so people know where to get what's missing. This may be a security issue though with people posting a "harmless" mod to curseforge and including a "dangerous" link, thus getting users to download stuff they shouldn't.

Also, a "If optional dependency U is installed, the mod will do V" description might be helpful.

from fabric-loader.

3TUSK avatar 3TUSK commented on August 16, 2024

For translatable mod description - it may out of fabric-loader's scope - nonetheless we can just define a key reserved for mod description. Something like mod.[modid].description. And everyone will use it.
The problem of this approach is that it is a bit hard to enforce.

from fabric-loader.

sfPlayer1 avatar sfPlayer1 commented on August 16, 2024

On further thought remoteRequired should probably have true mean exact version match (common case, use wildcard string for any) or no boolean at all (requires specifying the version twice though)

from fabric-loader.

natanfudge avatar natanfudge commented on August 16, 2024

Dependencies should specify a display name so users know what mod they need to download.

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.