Comments (2)
This whole "Bootstrap" thing is part of my naive approach for supporting Fabric Load 0.12+ back in 2021. The key is this line:
IIRC since 0.12.x Fabric Loader load its internal classes in a ClassLoader separate to the one the game and mods are using. Thus in order to inject into, or even just get access to, Fabric Loader's internal classes, as it's done in ModInjector.install()
and DirectoryWalker.walk()
, we have to load our relevent code with Fabric's ClassLoader.
This worked under development environment when tested back then, but since the official releases of Fabric Loader jars are digitally signed this is not usable in real situations.
WARNING: Groundless rants ahead; contact me for deletion if you feel offended.
(To Fabric Loader developers: Just WHY?? Why are you actively locking your packages down, which doesn't serve any praticial purpose other than messing with us mod developers? Like, it's not justifiable even for security reasons; you're running an open-source project to inject unsigned 3rd-party code into a game, and there's no point trying to play nice. If you're really into security, might as well obfuscate all of your internal classes so as to ensure no bad-behaving mods like the one I'm making here could ever exist. Heck, why not just require all mods to be signed by you and host a marketplace for them? That's some MCBE Marketplace BS all over again. Oh wait, maybe we can just write a wrapper to chain-load the Fabric Loader and bypass the lockdown? Don't worry, the developers got you covered: Fabric Loader's entrypoint is an implementation detail. There's no escape. Frankly, now I kinda understand why Quilt is a thing.)
from thatorthis.
Closing as it's not an issue.
from thatorthis.
Related Issues (20)
- Add a search bar.
- Right-click config for mods.
- Tooltip persists after sudden focus change HOT 9
- Preventing loading from certain directories HOT 1
- 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
- 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.