Comments (1)
tl,dr: Theorically yes, but no without many design change. Some features can be implemented in other ways currently.
prevent loading mods from certain directories or other rule objects
For GENERATED and NESTED rules (the rules that opens a new settings screen), this can be achieved via the lock button. However it's up to the user whether to use it.
when user want to load a mod that is incompatible with another loaded mod
Incompatible mod sets are typically separated to different options of a DEFINED rule. If you choose one option, the other options are not chosen and therefore mods are not loaded.
I've been thinking about implementing some kind of logic in the config file well before publishing this mod, something like boolean expressions (mod1 ^ (mod2 && mod3)) or dependency manifests (like "depends" and "breaks" fields in fabric.mod.json). But this would be relatively a mess to implement, so with v0.1.0 I've come up with the DEFINED rules: "directories" fields are ANDs, a rule itself is XOR (w/ NOT capability), and the whole ruleset is OR. This is not to say the current ruleset format is not a mess, but it's the best I can get without creating a larger mess.
Maybe in the future when ThatOrThis becomes like a "package manager" for mods (see #8), a proper way of defining logic between rules can be designed.
from thatorthis.
Related Issues (20)
- Add a search bar.
- Right-click config for mods.
- Tooltip persists after sudden focus change HOT 9
- Publish to Curseforge
- Example modpack HOT 1
- Simpler implementation HOT 2
- Fabric Loader v0.12.x compatibility HOT 11
- Make a rule depend on rule conditions
- Boolean rule type
- Add alias mod ids to directory without changing folder structure HOT 1
- Line break bug in the tooltip (ยงr)
- It's seems that quilt have api for load extra mods HOT 5
- Why the mod injector is loaded by reflect? HOT 2
- How about using YACL for config screen HOT 1
- Add a modpack settings button. HOT 6
- Stuffs to do HOT 3
- Dev option to crash on invalid rules.json HOT 3
- Make ThatOrThis a library? HOT 4
- Server-side config GUI?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thatorthis.