1
Datapack Config
Hello, I have two questions.
Firstly, how does one make a datapack config? I can't find any documentation on it.
And second, does anyone know how to make a mood out of a datapack?
Thanks a lot,
noobysheep_
Firstly, how does one make a datapack config? I can't find any documentation on it.
And second, does anyone know how to make a mood out of a datapack?
Thanks a lot,
noobysheep_
4
what do u mean by config?
If you want to enable the player to set options, you need to do that with tellraw, and by implementing scores for variable values
Other then that idk what you mean ^^
If you want to enable the player to set options, you need to do that with tellraw, and by implementing scores for variable values
Other then that idk what you mean ^^
Hi, thanks for replying!
To clarify. So you know how when you start typing in a command, a bunch of options are already there as you type (like with the /summon command, you have the option to autofill with any mob type)?
I would like to make a function with a set base that you can then autofill as you go along, instead of making an individual function for each mob.
If you could also tell me how to make a mod have a modmenu config, that would be super helpful too.
Hopefully it's a bit more clear now :-)
P.S. I'm very new to datapacks, so there's probably a lot of stuff I don't know, I've only learned a few basics so far.
To clarify. So you know how when you start typing in a command, a bunch of options are already there as you type (like with the /summon command, you have the option to autofill with any mob type)?
I would like to make a function with a set base that you can then autofill as you go along, instead of making an individual function for each mob.
If you could also tell me how to make a mod have a modmenu config, that would be super helpful too.
Hopefully it's a bit more clear now :-)
P.S. I'm very new to datapacks, so there's probably a lot of stuff I don't know, I've only learned a few basics so far.
the only way i see to do what youre describing is nesting functions in folders, so that you could do:
/function packname:mobs/neutral/wolf/(specific functions here)
or
/function packname:mobs/hostile/zombie/specific functions here)
you cant change the variables in mc commands like summon, and cant create these commands yourself without making a mod.
I have not had any experience with modding for a while, but i think ive seen a post here where someone showed how to port a datapack to a mod, just sift through the forum and youll find it =)
/function packname:mobs/neutral/wolf/(specific functions here)
or
/function packname:mobs/hostile/zombie/specific functions here)
you cant change the variables in mc commands like summon, and cant create these commands yourself without making a mod.
I have not had any experience with modding for a while, but i think ive seen a post here where someone showed how to port a datapack to a mod, just sift through the forum and youll find it =)
for mob types, look into mob tags. You can create your own mob tags in your namespace, with path namespace/tags/mob_types
