Це відео не доступне.
Перепрошуємо.

How to make a Datapack in Minecraft for beginners (1.20)

Поділитися
Вставка
  • Опубліковано 13 сер 2024
  • If you’ve ever wanted to learn how to make a Minecraft datapack, this video will cover just what you need in order to learn the basics and start making some awesome creations yourself!
    [Resources] •
    Example datapack template
    www.mediafire....
    Visual Studio Code
    - code.visualstu...
    Helpful people:
    - Legitimoose: / @legitimoose
    - Timberforge: / @timberforge
    - Cloudwolf: / @cloudwolfminecraft
    Item modeling / texturing tutorial:
    • CUSTOM MODELS using Bl...
    Helpful Datapack tools:
    - mcstacker.net/ - commands.
    - misode.github.io/ - generators.
    - thedestruc7i0n... - crafting / advancements.
    - minecraft.tool... - armor color, text generators, etc.
    - mcasset.cloud/ - minecraft asset files.
    - minecraft.fand... - More info on datapacks
    Minecraft Commands Discord Server:
    - / discord
    Sounds effects used:
    - • Sound Effects Minecraf...
    [Copy & Paste] •
    pack.mcmeta
    {
    "pack": {
    "pack_format": 10,
    "description": "The default data for Minecraft"
    }
    }
    tick.json:
    {
    "values": [
    "namespace:tick"
    ]
    }
    load.json:
    {
    "values": [
    "namespace:load"
    ]
    }
    tags:
    {
    "values": [
    "block or item name",
    "block or item name"
    ]
    }
    [Info] •
    - Discord Account: Snowfro#8267
    - If you want to commission me to make you Thumbnails, UA-cam banners, Minecraft Resource packs, and Datapacks, message me there.
    [Timestamps] •
    0:00 - Intro
    0:23 - Explanation
    0:56 - Installation
    1:25 - Datapack base structure
    4:58 - Example Datapack / Creation Process
    8:31 - Testing the Datapack
    9:45 - Tips and Tricks
    11:03 - The BIG question
    11:27 - Resources
    12:19 - Stay till the end!
    [Current Subscribers] • 638
    [Tags] •
    #snowfro #datapack #minecraft

КОМЕНТАРІ • 121

  • @Snowfro
    @Snowfro  Рік тому +41

    Certified Datapack Tutorial Moment

    • @kurjiano
      @kurjiano Рік тому +1

      When i do /reload it just ses Reloading! can u help me

    • @humris6699
      @humris6699 11 місяців тому

      It might be that u havent saved the datapack u can do this by holding CTRL and pressing s hopefully this can help@@kurjiano

    • @amandin.
      @amandin. 9 місяців тому

      bro why didnt you tell about the 'datapack essentials' extension pack

    • @edahuspenina243
      @edahuspenina243 3 місяці тому

      hey could i ask i have a problem because of the new component thingie so the nbt wont really work or thats what i think at least i just need to get somehow the nbt in ground to a component so if anyone knows how to fix this help
      :(

    • @CrafterXD2000
      @CrafterXD2000 23 дні тому

      @@edahuspenina243 I was on the same point as you, but I found the solution on reddit xD: www.reddit.com/r/MinecraftCommands/comments/1e0y9tq/help_with_datapack_command/
      The command in the tic.mcfunction of your namespace must be:
      execute as @a if items entity @s weapon bow[custom_model_data=1] at @s run tag @e[type=arrow,distance=..3] add web_arrow

  • @anonimnp52
    @anonimnp52 6 днів тому

    i didnt understand a word you said but im vibing

  • @itznolica1726
    @itznolica1726 Місяць тому +19

    IMPORTANT!!!!
    1.21 may crash your Datapack!
    If you do it exactly like in the video in version 1.21, it won't work.
    Try renaming the "functions"-folder to "function".

    • @1204Bv
      @1204Bv Місяць тому +1

      friend, I swear I spent 6 hours, 6 HOURS watching my datapack fail, I found your comment and I thought it wouldn't work, I tried it and god, you are god brother, thank you very much,
      sorry for my english, i'm translating it on google

    • @silverlanswoodworking
      @silverlanswoodworking 24 дні тому +2

      They made all folder names singular now. So functions is now function. All s are removed soon many code I have to rewrite now I said fluff it went back v 1.20.1 lol even loot tables changed after .5

    • @juancomes5062
      @juancomes5062 20 днів тому

      Thanks!

    • @Oliverottis1
      @Oliverottis1 12 днів тому +1

      THANK YOUUUUUU

    • @nitram1737
      @nitram1737 6 днів тому

      Thank you almost went mad lul

  • @thered-qz6mj
    @thered-qz6mj Місяць тому

    1:40 , if you play with the curseforge launcher, so the minecraft file should be located in C:\Users\\curseforge\minecraft\[install if you use "play vanilla minecraft" else instance]\[if you went to instance,

  • @nathiumgamer
    @nathiumgamer Рік тому +27

    very useful, using this to make datapacks now. for how well you explain the setup you deserve more views tbh

  • @cedieboi
    @cedieboi 6 днів тому

    how do i fix it, its saying reloading but it wont load

  • @AbsoluteZ3R0_
    @AbsoluteZ3R0_ Рік тому +20

    Your channel will blow up one day, keep up the great work!

  • @matthiasfreiburghaus4202
    @matthiasfreiburghaus4202 Місяць тому

    I am trying to follow this tutorial on minecraft 1.21, and there seems to be a problem with the namespace/functions stuff. Visual code gives the message "Files in the “functions” folder are not recognized in loaded version 1.21, did you meant to use the “function” folder?".
    So, does anybody know what to do? Do we need to create a namespace/function folder instead, or are the changes deeper?
    Edit: the answer seems to be that we just have to use namespace/function instead of namespace/functions.

  • @dramsey3897
    @dramsey3897 Місяць тому +1

    as of 1.21 it's "function" not "functions"

  • @LucasShortStack
    @LucasShortStack Місяць тому

    In tick.mc function i have a yellow error saying that the first "tag" after where you have "minecraft:bow" is incorrect. I have it as {id:"Minecraft:Bow",tag:{CustomModelData:1} This is not the full code, just the part with the "tag" i have a problem with

  • @MeatholSupreme
    @MeatholSupreme Місяць тому

    How do I make it be able to link other portals on the roof?
    im in 1.14 and nether portals do NOT link to ones on the roof. like the game will create a new portal under the bedrock NO MATTER WHAT. And I need them to connect to the roof for a farm. and no I cant just upgrade my game.
    pls help. thanks!

  • @HydroArab
    @HydroArab 22 дні тому +2

    GUYS ITS WRONG IN 1.21 DONT NAME THE FOLDERS Functions THEY NEED TO BE Function

  • @user-xj9vp8eq2h
    @user-xj9vp8eq2h 24 дні тому

    Minecraft's not recognizing my data pack! pls help. I've checked to make sure I have everything in the pack.mcmeta file including the pack format number I found on Minecraft wiki. (I made sure it was a data pack #). Also, the lettering is white in the file, not multi-colored. There also aren't any yellow curly brackets next to the name when I made the file:( If anyone may know how to fix this, pls help. My brain is hurting from trying to figure this out!

  • @WillVee
    @WillVee 20 днів тому +1

    the blue "tag" at 7:34 is annotated as a yellow problem in my visual studio code? has this part of the command been updated since 1.21 has been released?

    • @liftic
      @liftic 11 днів тому

      same, got any fixes?

    • @WillVee
      @WillVee 8 днів тому +1

      @@liftic yes! change tag to components and it should be good.

  • @ewrwe-om9ku
    @ewrwe-om9ku Місяць тому

    Hey man ! great video as always but im having a problem i made the give mcfunction but the function wont load ingame when i type /function namespace:give it doesnt show anything and when i enter it shows an error!

    • @Foodude
      @Foodude Місяць тому

      1.21 made some changes to data pack functions. I am also having some issues, but I suggest looking up what the changes are to see what you are missing.

  • @qSolid21_
    @qSolid21_ 7 місяців тому +2

    literally the best tutorial ever, thanks!

  • @sain-MC
    @sain-MC Рік тому +4

    7:43 what if you want a block to do something when u place it

    • @Snowfro
      @Snowfro  Рік тому +4

      use the discord servers i mentioned toward the end of the video and ask there.
      They will give you the best answer.
      The links are in the description.

  • @_Goaty
    @_Goaty 9 місяців тому +3

    5:31 No Way! That's my old Mario Kart Custom track map, what a coincidence

    • @Snowfro
      @Snowfro  9 місяців тому +2

      yup! I used it for my datapack, and its really nice

  • @TheDeepSlate
    @TheDeepSlate Рік тому +3

    this geuninly is so in depth and so helpful lad, thank you

  • @thatonecyaanite
    @thatonecyaanite 3 місяці тому

    bro this is actually the most helpful data pack beginner tutorial i have ever seen. you deserve more than 2k subs man

  • @AlphaDango
    @AlphaDango 9 місяців тому +7

    So Datapacks are just regular Minecraft commands executed every tick (except for the setup commands)? Pretty impressive what some people have achieved with that. And it also explains why some datapacks can produce huge amounts of lag.
    I think that I'll rather start with Fabric mods but really good video and explanation of datapacks.

    • @Snowfro
      @Snowfro  8 місяців тому +3

      yuh

    • @phearedphantom
      @phearedphantom 3 місяці тому

      Data packs can actually be less laggy

  • @DreamyBranch849
    @DreamyBranch849 5 місяців тому +1

    why is mine going like this data/minecraft and yours are data
    minecraft

    • @vitkomanek
      @vitkomanek 2 місяці тому +1

      Cause its probably an older version of vscode. The current one shows folders containing only one folder this way to save space, you can try to create another file in the data folder and it should split.

  • @henryxXfun_timesXx
    @henryxXfun_timesXx 2 місяці тому

    Why does the tick function just not work. I have tried retyping the code but it still doesn't spawn the cobwebs. Please help.

    • @newkamil3757
      @newkamil3757 Місяць тому

      @@henryxXfun_timesXx because they changed how datapacks work in 1.20.5 ??? It's not his fault

    • @henryxXfun_timesXx
      @henryxXfun_timesXx Місяць тому

      @@newkamil3757 Cheers mate, i didnt know they changed them, my bad

    • @henryxXfun_timesXx
      @henryxXfun_timesXx 28 днів тому

      @@newkamil3757 ok thx

  • @GearWorldofFantasy
    @GearWorldofFantasy 8 місяців тому +4

    Hey j'ai une problème à chaque fois que je reload il n'y a pas de message et aucune commandes ne s'execute

    • @hewumajerfloopman4079
      @hewumajerfloopman4079 3 місяці тому

      Est-ce que ça fonctionne quand vous faites /function ?

    • @hewumajerfloopman4079
      @hewumajerfloopman4079 3 місяці тому

      Si ça fonctionne quand vous tapez /function #votre_namespace:load ou tick, mais ça fonctionne pas quand vous faites reload, je croix que la problème est que votre minecraft folder (l'un qui contient les .json) n'est pas dans la folder ''data''.

    • @GearWorldofFantasy
      @GearWorldofFantasy 3 місяці тому

      @@hewumajerfloopman4079 ok

  • @Mod3rnCrusad3r
    @Mod3rnCrusad3r 3 місяці тому

    How come my pack.mcmeta is showing red and saying it is missing key "pack" it only showed red though when I made the tick and load .mcfunction
    @Snowfro

  • @DaRemson
    @DaRemson 3 місяці тому

    I made a gun :) gotta fix the texture though

  • @alexandreDog
    @alexandreDog 16 днів тому

    Cool story bro, but minecraft wont see my datapack even though its in the datapacks folder
    .

  • @Xyral_
    @Xyral_ 3 місяці тому

    6:59

  • @plert
    @plert Рік тому +2

    he’s back!

  • @Gilly2020
    @Gilly2020 8 місяців тому +3

    ok so now i know how to make a cobweb bow, idk how to do anything else

    • @brevinpalmes3742
      @brevinpalmes3742 7 місяців тому

      yeah exactly lmao

    • @shurikenmaster1209
      @shurikenmaster1209 Місяць тому

      use what u learned bro dont copy learn learn the commands u already know the data stuff

  • @thekingsconquest
    @thekingsconquest 9 місяців тому +2

    when i try to run the give command in minecraft, it says command not found

  • @TheeSlickShady_Dave_K
    @TheeSlickShady_Dave_K 9 місяців тому

    Liked and subbed
    🏆 excellent video
    Ty

  • @shanebales3276
    @shanebales3276 10 місяців тому

    Dude, your awesome.

    • @Snowfro
      @Snowfro  8 місяців тому

      dude, your shanebales3276.

    • @TwistedVoyage3
      @TwistedVoyage3 5 місяців тому

      @@Snowfro Wee woo wee woo, grammar police, *you're

  • @kaey6105
    @kaey6105 2 місяці тому +1

    ik im very late to the party but I followed this tutorial for 1.20.1 I used the pack fornat 15 and the rest I did the exact same yet I cant reload it says that command doesnt exist n stuff what do I do?

    • @Gamerrandom9123
      @Gamerrandom9123 8 днів тому

      In my case it was the word values to be simply value. Try checking ig the code is right

  • @thegamingsloth1950
    @thegamingsloth1950 5 місяців тому +1

    do i have to write out the hole command at 7:35?

  • @daritotv01
    @daritotv01 Рік тому +1

    THE KING IS BACK

  • @NikkyLmao
    @NikkyLmao 4 місяці тому

    For anyone wondering why datapack isn't working the main problem is the "minecraft" file and "ur own name" file isn't IN the "data" file ( I was struggeling and solved it by moving files like how i described)

  • @Kebart
    @Kebart 5 місяців тому +1

    What is the current number for 2:26

    • @ilikethis2405
      @ilikethis2405 3 місяці тому

      41
      minecraft.wiki/w/Data_pack#pack.mcmeta

  • @Venom23_Shorts
    @Venom23_Shorts 21 день тому

    MY NAMESPACE GIVE IS NOT COMING WHY

  • @ASaucyApple
    @ASaucyApple Рік тому +1

    my datapack doesn't reload does anyone know why? (I figured out the problem)

  • @kokosekpl_official
    @kokosekpl_official 8 місяців тому

    THX, I have now good datapack

  • @7tbs
    @7tbs Рік тому

    Lets go he's back

  • @GGerit
    @GGerit 3 місяці тому

    if you want it to work press save all in VSC not just save

  • @Tponczko
    @Tponczko 11 місяців тому

    My idea is that you have a cost to unlock and use weapons and armor
    Wood Teir would not let you use Wooden tools and Leather Armor until you have 64 Sticks in inventory and 5 Levels of XP
    Stone Teir would not let you use Stone Tools and Chain Armor until you have 32 Stone in Inventory and 10 levels of XP
    Gold Teir would not let you use Gold Tools and Gold Armor until you have 1 Gold Block and 20 levels of XP
    Iron Teir would not let you use Iron Tools and Iron Armor until you have 2 Iron Blocks and 30 Levels of XP
    Diamond Teir would not let you use Diamond Tools and Diamond Armor until you have 1 Diamond Block and 50 Levels of XP
    Netherite Teir would not let you use Nether Tools and Netherite Armor until you have 1 Netherite Block and 100 Levels of XP
    You can't get to the next tier without completing the one below it.
    If you die your tiers are removed and you have to start over but it gets more costly
    Every dieth your
    Wood Sticks go up by 64 and plus one level of XP, Stone goes up by 32 and 2 Levels of Xp, Gold goes up by 1 Block and 3 levels more XP, Iron goes up 2 blocks and 4 more levels of XP, Diamond by one block and 5 more levels of XP, and Netherire 1 more block and 6 more levels of XP.
    When you unlock it takes the item and XP from your inventory.
    Tested out Using Slowness 255 and Mineing 255 to make this kind of work. Just have not done anything like this.
    I believe it's possible. THink at 27 Deaths would be capped cant hold any more Sticks at 27 Deaths would be 1792 Sticks.

  • @hi76
    @hi76 3 місяці тому

    can you make a video about the car datapack you used in the video?

  • @mrcan5385
    @mrcan5385 10 місяців тому

    Does anyone know how to fix this? My Reloading doesn't give me the spawned item no matter if i do /reload in gamechat and if i do /function namespace:give says it don't exist even though i have it.
    I already been checking in with that discord server and they have been telling to a few things but non of them are still working.

  • @francescofra7917
    @francescofra7917 Місяць тому +1

    i followed step by step and it doesn't work

    • @Mats3209
      @Mats3209 Місяць тому

      The file directories have been changed, so for example the folder predicates has been changed to predicate and tags to tag. You can look on the minecraft wiki for the changes or look up a new tutorial

    • @francescofra7917
      @francescofra7917 Місяць тому

      @@Mats3209 oh I'm gonna look that up but I tried in 1.20.1 so idk

    • @Mats3209
      @Mats3209 Місяць тому

      @@francescofra7917 if you tried on the same version as the tutorial , then you most likely have a folder name incorrect

  • @YourLocalSrilankan
    @YourLocalSrilankan Рік тому +2

    Can You Do A Tutorial To Make A Resource Pack For MC

  • @SPOIDERMaen
    @SPOIDERMaen 4 місяці тому

    Can someone help me when i use the bow i dont makes the web

  • @First_commenter
    @First_commenter 10 місяців тому +1

    For anyone on 1.20 the pack format number should be 15

    • @Mrqvr
      @Mrqvr 3 місяці тому

      thank you bro

  • @randomizedisuck15
    @randomizedisuck15 8 місяців тому

    how to make infinite spreading water?

  • @drewniany_3000
    @drewniany_3000 2 місяці тому

    tysm

  • @Felixzre
    @Felixzre Рік тому +1

    I fix the datapack when you shoot the arrow it will repeatly replace it and never be broken unless you pick up it
    anyways jsut add this code
    execute at @e[tag=web_arrow,nbt={inGround:1b}] run kill @e[tag=web_arrow,nbt={inGround:1b}]

  • @piegeon_
    @piegeon_ 8 місяців тому

    pls can someone help i have a problem with the datapack helper plus it just doesn't work pls someone help

  • @kurjiano
    @kurjiano Рік тому

    when i do /reload it is so slow

  • @Dark-Supremacy
    @Dark-Supremacy Рік тому +1

    Nice

  • @hi76
    @hi76 4 місяці тому +1

    When i saw the chugchug at the start of the Video, i knew i had to like the Video

  • @TheRealTheLights
    @TheRealTheLights Рік тому

    folder icon does not exist

  • @HARRY91217
    @HARRY91217 Рік тому +1

    Can you give the screen recorder name or link please

  • @Truth4TW
    @Truth4TW 11 місяців тому

    Why aren't [ ] (one of the symbols) allowed in datapacks?

    • @Snowfro
      @Snowfro  11 місяців тому +1

      Those symbols are called brackets, and they're used in different senarios

    • @Truth4TW
      @Truth4TW 11 місяців тому

      @@Snowfro Oh, yeah it's when I try to do for example: attribute @e[team=777] followed by the rest of the command in the tick or json mcfunction file; it won't work at all for some reason. I've downloaded a 1.20.1 pack template and it's probably corrupted. I just don't understand why they aren't allowed in the json and mcfunction files, including the colon.

  • @samninjago8216
    @samninjago8216 Місяць тому

    22

  • @SPOIDERMaen
    @SPOIDERMaen 4 місяці тому

    Best youtube of all minecraft helping😊😊

  • @SKY__YT
    @SKY__YT Рік тому

    i got banned from that stupid command group for asking for help, like what the heck, I'm so mad rn, people reported me cause i was a begginer and didnt know anything

  • @BestOfVincy
    @BestOfVincy Рік тому

    Me making a one for pojavlauncher

  • @rifleorcagames
    @rifleorcagames 9 місяців тому

    wowwwwwwwwwwwww

  • @pandoes_6407
    @pandoes_6407 Рік тому +1

    Hii. I am going around looking for a team of datapack coders to help me recreate the event minecraft championships 1:1. I already have a few coders. I think this could be awesome if I get enough people. tell me if your interested

    • @Snowfro
      @Snowfro  Рік тому +1

      I don't play minecraft / code datapacks anymore, but it seems like you have a cool project going on

  • @phizu
    @phizu 5 місяців тому

    every single fucking tutorial has the same old shit but still dont work, i did exactly same as you every single line of code and did not work

    • @DreamyBranch849
      @DreamyBranch849 5 місяців тому

      make sure you save it mine was not working until i saved it

    • @phizu
      @phizu 5 місяців тому

      no shit i saved it bro you think im dumb? @@DreamyBranch849

    • @newkamil3757
      @newkamil3757 Місяць тому

      They changed how datapacks work in 1.20.5

    • @phizu
      @phizu Місяць тому

      @@newkamil3757 yeah

  • @Abidist_2.0
    @Abidist_2.0 Рік тому

    Can we be friends 🤧😷🏳️

    • @Snowfro
      @Snowfro  Рік тому

      Give me some reasons

  • @londonkaitlin4822
    @londonkaitlin4822 Рік тому

    🌷 քʀօʍօֆʍ

  • @LordOfFly123
    @LordOfFly123 2 місяці тому

    That was the worst tutorial i ever saw. After it didnt work and showed me like 4 errors in the guve.mcfunction file, i typed everything from your video in until it didnt show anymore mistakes. Even shecked the comments for a solution. After wasting 2 hours of my life and having definitly enough of datapacks for the rest of the week, my whole weekend is ruined. Also please speak a bit louder

    • @samninjago8216
      @samninjago8216 Місяць тому +1

      u proble did it wrong and also ur kinda a dick ngl