Mob Captains

Mob Captains

10.1k Downloads

Config file for the mods

Sugar-Pink opened this issue · 5 comments

commented

no data file for this mod to change settings/ loot tables other than the command in game.

commented

That is correct as this pack is fully written as a data pack and those don’t have any file access but I have been thinking of ways to add a config file for at-least some of the mod loaders.

If you currently want to modify settings before being in-game, you would have to open the .jar file and change them in the data/ps-mob/functions/load.mcfunction file

commented

I cannot find the config file under the file location you mentioned at all, I also tried searching it throughout the entire instance but to no avail. Not sure if this is intended or a bug. I am playing on 1.20.1 Fabric.

commented

@ValerieOwO please read the message above yours again #19 (comment)

The file is inside of the .jar so you won't find it by searching through the instance.
Also, it's not a config file. If you simply want to configure the pack for one world/server, just write /function ps-mob:load in chat as someone with operator rights/cheats enabled.
So yes, what you are seeing is fully intended. I also already said why it is that way in the comment above.

commented

Thanks for the response, I guess I was more confused about setting this up since I've never set up a data pack like this before.
In that case could you give me an example on how it's set up? So if I want to set glow to true, what command should I put?

commented

Yea, not many data packs provide configuration at all because it’s this limited.
Glad I could be of help :)

To modify the config so that mobs spawn, it’s easiest to just run the command I sent (/function ps-mob:config) and configure it by clicking on the message that appears in chat. That then puts a command into your chat where you simply type the new number and press enter.

The command that puts into your chat would look something like this:
/scoreboard players set .should_glow ps-mob.config 1
(writing on phone and from memory, here be dragons)