#In-Game mod toggler
24 messages · Page 1 of 1 (latest)
not possible
would require a rewrite of how
Mojang's registry system worksMinecraft works
FTFY
lol
I kenw it would be atleast super difficult just thought it would be cool
its not super difficult
its impossible
would require a near complete rewrite of minecraft
some client sided mods are toggleable tho
I think this would still be possible. I actually just barely came on here to talk about this! Minecraft recently added the experiments and built in datapacks to enable features, right? It does this by having the datapack enable the spawning of the updated things.
It should be possible to register our own group, and then be able to toggle weather to play with a certian mod or feature when creating a world.
Not exactly
The recent built in datapack isn't truly data-driven. The content is already in the game and the datapack just enables it
yup, you would still register it almost the same way, and the datapack would still enable it.
i think we would just need to add a group to choose to enable
I'm not entirely sure, i'm new to modding and java, but it shouldn't be that hard to copy what they did, right?
For blocks and items, yes, it is possible to data-drive them. But certain things need to be ran on initialization, and refreshing that is essentially just restarting the game
Hmmm... Well the blocks and items (and entities?) is all that I want to do...I just need to figure out how to 'add a group' to toggle....
And the other things would need like a HUGE toggle like: If (mod is toggled) {runModCodeStuff} but possibly possible
If you consider restarting the game inside the game as in game, then that's possible though it's just as hacky realistically
the whole Idea I had was just as a convenient thing
modrinths launcher has it but you do have to manualy remove some mods and sometimes it just doesn't launch, my point being a hacky solution is fine the idea was for toggling some mods that crash the game on some servers and bannable on others without having to go through the proccess of digging in files.
especially because some/most mods don't have a toggle,and others could have a tag set by mod devs for the denial of the mod