Can someone help me to create a simple datapack? i don't know how to do that, can someone explain to me, please??
7
MCreator should be fine
there're tons of tutorials on youtube? From making simple score boards to customizing entire world generation.
yeah i know but i don't understand why i can't make it work, it doesn't work and i don't know why
there're several problems it could be. Care to dm me so i can have a look at it?
The basic file/folder structure should look like this:
\Pack-name
\data
\namespace
\function
tick.mcfunction
load.mcfunction
\minecraft
\tags
\function
load.json
tick.json
pack.mcmeta
the namespace is just used to call advancements, predicates, functions, etc. in the game.
The pack.mcmeta file is used to give minecraft information about your pack. Your pack.mcmeta should look something like this:
{
"pack": {
"pack_format": 48,
"description": "description"
}
}
Pack_format is dependent on your game version, it's proprietary.
the load and tick .json files should look like this:
{ "values": [ "namespace:load" ]}
and this respectively:
{ "values": [ "namespace:tick" ]}
These will call your load and tick functions. Load will call every time your pack is loaded with the /reload command, and tick will be called every tick (20x per second.)The mcfunction files are just collections of minecraft commands. each line should be it's own command. you can get some syntax highlighting stuff on visual studio code, too, that should help. There are also TONS of tutorials on youtube.
\Pack-name
\data
\namespace
\function
tick.mcfunction
load.mcfunction
\minecraft
\tags
\function
load.json
tick.json
pack.mcmeta
the namespace is just used to call advancements, predicates, functions, etc. in the game.
The pack.mcmeta file is used to give minecraft information about your pack. Your pack.mcmeta should look something like this:
{
"pack": {
"pack_format": 48,
"description": "description"
}
}
Pack_format is dependent on your game version, it's proprietary.
the load and tick .json files should look like this:
{ "values": [ "namespace:load" ]}
and this respectively:
{ "values": [ "namespace:tick" ]}
These will call your load and tick functions. Load will call every time your pack is loaded with the /reload command, and tick will be called every tick (20x per second.)The mcfunction files are just collections of minecraft commands. each line should be it's own command. you can get some syntax highlighting stuff on visual studio code, too, that should help. There are also TONS of tutorials on youtube.
08/22/2024 5:08 pm
This reply was removed by the poster or a moderator.
If you'd read the beginning of this thread, you'd find that there was no problem. OP just didn't know how to set up a datapack. Hope this helps!
no i was just thought you were OP, sorry. beside, like i said there could be severals of problem. Could be not knowing how to set up, could be wrong folder name, could be function not working, etc.
