2

Starting Datapackslive_help

starrscythe 8/3/21 4:17 am
371
9/12/2021 5:25 pm
I want to start data packs. Function data packs maybe? I have little idea how to start this out. I like commands even though they tend to frustrate me. and I've made a data pack from an OMGchad tutorial before but I don't know how to start. if anyone has some command/data pack tips or tutorials it would help a lot. Thanks!



also, what part of data packs should I start first? answer in the bottom

Poll ended 08/10/2021 2:57 pm.

0 votes · 0%Name (hex, style, etc.)
5 votes · 55.6%Commands (even though I know them already)
3 votes · 33.3%Json files (MAGIC)
1 votes · 11.1%Other (More magic?....)
9 total votes
Posted by
starrscythe
Level 31 : Artisan Dragonborn
7

  Have something to say?

JoinSign in

18

Starmute
08/09/2021 3:00 pm
Level 92 : Overlord Terraformer
Try worldgen. :)
1
HoboMaggot
08/09/2021 7:27 pm
Level 55 : Grandmaster Blob
They should also try shaders while they're at it ;D
1
starrscythe
08/09/2021 3:05 pm
Level 31 : Artisan Dragonborn
history
no

[​edit] *I thought you were asking me to try the mod worldgen 0-0*
1
starrscythe
08/09/2021 2:58 pm
Level 31 : Artisan Dragonborn
history
Thanks for the help guys!
1
starrscythe
08/04/2021 4:34 pm
Level 31 : Artisan Dragonborn
history
I know about Bertie's tutorial guys, I said so twice.
1
HoboMaggot
08/04/2021 7:08 pm
Level 55 : Grandmaster Blob
If you've known about it before the creation of the post then why didnt you say so?
1
starrscythe
08/04/2021 11:31 pm
Level 31 : Artisan Dragonborn
history
no, I knew after I created the post, the first comment here was me saying I noticed berties tutorial right after me
1
SUPERIONtheKnight
08/04/2021 3:29 am
Level 30 : Artisan System
I second what DinowCookie & HoboMaggot suggested as Bertiecrafters tutorials are excellent and I highly recommend them! :)
With that said, I can also recommend the Minecraft Wiki as it has proven to be an invaluable resource over the years. If there is a command or something else related to datapacks you want to learn about, chances are that the minecraft wiki has you covered.
I also recommend giving Slicedlime a try. He's a Mojang dev who uploads to Youtube pretty regularly going into detail about what has changed throughout each snapshot, and release in recent years(yes, even the technical stuff). He's pretty underrated IMO. :)

Now if I had to give a recommendation on where to start, it would definitely be to start with functions. The fact that you already have an idea on how to use command blocks is all the more reason to do so. If you are already familiar with the concept, and can get started on cool stuff a lot sooner as a result, why not? :)

Not sure what you mean by "Name", but understanding JSON is a very good next step. You will be able to do more things like making use of the /tellraw command, messing with loot tables, and even block/item/function tags.

My final tip is to experiment! Try things out, and don't be afraid of things breaking(If you're paranoid about it, try things out in a test world you don't care about.). I actually plan to be messing with worldgen settings for the first time rather soon. I'm probably going to have a hard time getting started, but diving right on in is sometimes the best way to learn IMO. :)

But yea, I hope this helps!
3
starrscythe
08/04/2021 4:38 pm
Level 31 : Artisan Dragonborn
history
ok, (btw I have already started making a function datapack with multiple namespaces so I'm pretty sure I need to learn json) also by name I mean datapack details like maybe a resource pack or advancement saying this is my datapack
1
starrscythe
08/03/2021 2:20 pm
Level 31 : Artisan Dragonborn
for everyone mentioning Bertie's tutorial. I saw it after I posted this. just saying
1
Pleasenotme
08/03/2021 5:30 am
Level 59 : Grandmaster Nerd
How much do you know about commands? There's a LOT of stuff you can do with functions data packs and resource packs together - There's a lot of stuff that I haven't done after several years of data packing!


You're going to need to know how to use scoreboards to make the more advanced stuff. At first you might just use scoreboards to store and increment/decrement/set values for your data pack's scoreboards, but eventually you can start using combinations of scoreboards and other commands to do more interesting stuff.

For example, one thing I learnt to do a few months ago was to make an entity (can be a player) shoot a fireball. The fireball was first summoned ahead of the player, then the XYZ coordinates of the player and the fireball were stored in scoreboards, then the difference between the scores was stored in the fireball's scores, and the motion of the fireball was set from the scores (there might be a few more steps xP).


If you're interested in adding custom items, you should look into resource packs, specifically overriding with CustomModelData. From there you can get to designing good-looking models for your items. Also, you can try out custom nbt-output crafting. This is, interestingly, done using knowledge books. The knowledge book is unobtainable without cheats, so it's commonly used for these recipes. The recipe will output a knowledge book, use a custom advancement to detect when a player uses this recipe, and then clears the knowledge book and gives the desired item using /give. The possibilities are limitless!


I'd say, start with functions, then learn JSON stuff like loot tables and advancements, and then use the two together.
4
DinowCookie
08/03/2021 5:51 am
She/Her • Level 72 : Legendary Dinosaur Cookie
2
HoboMaggot
08/03/2021 5:50 am
Level 55 : Grandmaster Blob
history
2
starrscythe
09/09/2021 10:38 am
Level 31 : Artisan Dragonborn
history
that's just a link to this post with the text showing his tutorial...
1
HoboMaggot
09/09/2021 7:38 pm
Level 55 : Grandmaster Blob
idk what happened within the month that "corrupted" the link, but its fixed now.
Also why are you still here if you said you knew berties tutorial?
1
starrscythe
09/12/2021 5:25 pm
Level 31 : Artisan Dragonborn
because I like visiting old places
1
Silabear
08/03/2021 4:45 am
He/Him • Level 70 : Legendary Guard Bear
Plan out your datapack first, then make the function files and make a start with the commands, adding in anything else where needed.
2
starrscythe
08/03/2021 4:27 am
Level 31 : Artisan Dragonborn
history
after my post came a data pack function tutorial. what a coincidence...

[​edit] Notice Me
1

Welcome