How to add Custom Items in Minecraft 1.21.4 (Datapack Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 125

  • @WASDBuildTeam
    @WASDBuildTeam  16 วันที่ผ่านมา +4

    Hey, seems I made one derp...
    At the part where I talk about the parent models, the default Minecraft item is "item/generated", not "item/generic".
    There are also a lot of other possible parent models, so definitely check out the vanilla Minecraft model you are wanting to base your custom model on to get an idea of which one to use!

    • @Qmatix75-w8w
      @Qmatix75-w8w 12 วันที่ผ่านมา

      I'm trying to add another 2d item, but the texture won't load. could I have some help? pls reply

    • @WASDBuildTeam
      @WASDBuildTeam  12 วันที่ผ่านมา

      @Qmatix75-w8w Feel free to ask on the discord.
      To add a second 2d item you just repeat all the steps. So a new item model definition and item model, and new texture

    • @Qmatix75-w8w
      @Qmatix75-w8w 12 วันที่ผ่านมา

      @@WASDBuildTeam I did, but the textures still don't load. It only works for the first item.

  • @nictrix23
    @nictrix23 23 วันที่ผ่านมา +17

    You helped me make my first custom datapack with custom swords. unfortunately i dont have it anymore, well only partly but this video gives me the motivation to recreate it

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา +1

      Good luck!

    • @nictrix23
      @nictrix23 23 วันที่ผ่านมา

      @@WASDBuildTeam Thanks!

  • @cinnamonkittamon
    @cinnamonkittamon 16 วันที่ผ่านมา

    Really loved this video :D
    Especially liked the bit at the end with the datapack stuff
    Even the parts you didn't go into as much detail on felt like there was enough information to know where to look for it/how to mess around with things to figure it out myself

  • @antoackerman7227
    @antoackerman7227 12 วันที่ผ่านมา

    for real, you deserved more followers for what you doing. +1 sub

  • @craftal9935
    @craftal9935 23 วันที่ผ่านมา +2

    Great video! i had some road block but i was able to fix it! you should show how to implement animation and custom data like attack damage and such

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      @craftal9935 those are both exactly the same as older versions so I didn't feel the need. And the tutorial is already super long

  • @jollypenguin10
    @jollypenguin10 16 วันที่ผ่านมา +1

    Can you help me please? If I put the parent generic instead of handheld it doesn't work. Because I dont want other items than swords to be held so strangly. Thanks!

    • @WASDBuildTeam
      @WASDBuildTeam  16 วันที่ผ่านมา

      try "generated"... seems I made a derp

  • @kingianscott
    @kingianscott 23 วันที่ผ่านมา +1

    at 12:19 I got it to give me the 3d textureless box but I cant get it to give me the plane which means my texture isnt going on. how did you manage to get this?

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      That is what the tutorial was about. Feel free to join my discord though and I can give what you have a look.

    • @kexs5858
      @kexs5858 19 วันที่ผ่านมา

      Had the same issue, i wrote "tutorial/custom_sword" instead of "tutorial:item/custom_sword"

  • @drgabi18
    @drgabi18 23 วันที่ผ่านมา +1

    It took me untill 3:58 to see you modified the scale of the mobs in the background for no reason

  • @Kobi-tx9yq
    @Kobi-tx9yq 17 วันที่ผ่านมา

    oh btw by using the consumable nbt thingy you can track usage of any item

    • @WASDBuildTeam
      @WASDBuildTeam  17 วันที่ผ่านมา

      @@Kobi-tx9yq indeed

    • @Kobi-tx9yq
      @Kobi-tx9yq 16 วันที่ผ่านมา

      @@WASDBuildTeam omg i just tried following made 1 spelling mistake and got stuck for 30 mins

  • @PortStingray
    @PortStingray 6 วันที่ผ่านมา

    thanks for doing this! would you be able to add custom mobs and blocks using datapacks? I know its possible just wanted to see it in new versions. Keep up the great work!

    • @WASDBuildTeam
      @WASDBuildTeam  6 วันที่ผ่านมา

      Blocks I did an old tutorial on, gonna make a new one at some point. Mobs aren't actually doable unless you wanna fully make your own using a tool like Animated Java...
      I won't be making a tutorial on custom mobs

  • @SylverViper
    @SylverViper 23 วันที่ผ่านมา

    either im going crazy or the mobs in the background are significally bigger than they used to be

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา +1

      You are going crazy :P

  • @AntiGameBoy
    @AntiGameBoy 8 วันที่ผ่านมา

    Out here doing god's work...

  • @timmbobb
    @timmbobb 2 วันที่ผ่านมา

    Hey this is something I've struggled with, could you make a tutorial on how to add custom music discs, (with custom images for the texture).

    • @WASDBuildTeam
      @WASDBuildTeam  2 วันที่ผ่านมา

      This tutorial covers how to do the item’s textures.

    • @timmbobb
      @timmbobb 2 วันที่ผ่านมา

      @WASDBuildTeam Yeah, I got that far, but the datapack side of the music disc's is really confusing.

    • @timmbobb
      @timmbobb 2 วันที่ผ่านมา

      @@WASDBuildTeam its somewhat challenging because the datapack has to handle creating the new discs items, and then the resource pack has to somehow apply the new textures and also sounds, because for some reason datapacks can't do sound.

    • @WASDBuildTeam
      @WASDBuildTeam  2 วันที่ผ่านมา

      @@timmbobb I don't think the textures should be tricky, those are just controlled by the item_model component so it doesn't matter what the base item is.
      I do agree that the music disc part is confusing. Iirc, I helped someone with it on my Discord a while back.

    • @timmbobb
      @timmbobb 2 วันที่ผ่านมา

      @@WASDBuildTeam Yeah, I was trying to base mine off of someone else's pack, but it was from an older version and it used a lot of .mcfunction files which i didn't understand a lot of. I thought I could just put a item model component at the same place the jukebox playable one was, but for some reason that breaks it.

  • @thePotat._.
    @thePotat._. 8 วันที่ผ่านมา

    hey, great video by the way
    just wondering if you know a way/if its possible to make a crafting recipe off crafted items
    (ex: i have a custom shard under mc:echo_shard and custom stick under mc:stick, but i dont know how to use those to make a separate recipe that requires these custom items)

    • @WASDBuildTeam
      @WASDBuildTeam  8 วันที่ผ่านมา

      You cannot, unfortunately.

    • @thePotat._.
      @thePotat._. 8 วันที่ผ่านมา

      @@WASDBuildTeam alright. do you know if there's any alternatives

    • @WASDBuildTeam
      @WASDBuildTeam  8 วันที่ผ่านมา

      @thePotat._. your only option would be to create your own method of a recipe... such as create a custom crafting table or use drop crafting (throwing items on the ground).

  • @soap8238
    @soap8238 12 วันที่ผ่านมา

    Hey im trying to solve problem with my spigot plugin. I wanted to do custom item model for my custom item but the problem is that spigot 1.21.4 doesnt support strings or int when setting the custommodeldata. Maybe u have any idea how to make it work with custom made items on spigot?
    When i give myself for example: fermented_spider_eye with my model data "life_crystal" it works, but how to make my plugin respect the "life_crystal" model item value?

    • @WASDBuildTeam
      @WASDBuildTeam  11 วันที่ผ่านมา

      @@soap8238 I can't say I know anything about Spigot Plugins... but maybe set the item_model instead of the CMD, so you can follow this tutorial?

  • @w_nter0001
    @w_nter0001 14 วันที่ผ่านมา

    how would you go about displaying different models for in the inventory and for holding? also ty for making this 1.21.4 changed so much and i was smashing my keyboard lol

    • @WASDBuildTeam
      @WASDBuildTeam  14 วันที่ผ่านมา

      I haven't looked into how to do that, but I know some vanilla items use it, like a Spyglass or Tridents, so look at one of those item model definitions

    • @w_nter0001
      @w_nter0001 13 วันที่ผ่านมา

      @@WASDBuildTeam ahhh yeah i forgot about those it ended up being pretty simple ty for the idea!

  • @JohnnySix
    @JohnnySix 21 วันที่ผ่านมา

    Very cool! The new changes seem to make things a lot simpler! I am following along but I'm struggling with getting the blockbench model/texture to load. Is there a way to see what errors occured if a model/texture failed to load? Like if I've got the path structure incorrect or something?

    • @WASDBuildTeam
      @WASDBuildTeam  21 วันที่ผ่านมา +1

      @JohnnySix I don't believe so.
      You could join my discord and I'll give it a look though.

    • @JohnnySix
      @JohnnySix 21 วันที่ผ่านมา

      @@WASDBuildTeam will do! Merry Christmas btw! :D

  • @heycaturdaysun
    @heycaturdaysun 19 วันที่ผ่านมา

    for some reason I can't get it to load my textures onto the model. Do you have tips for block type items that are placed on the ground vs the handheld item you used in your tutorial?

    • @WASDBuildTeam
      @WASDBuildTeam  19 วันที่ผ่านมา +1

      @heycaturdaysun this tutorial will only load the model for items. Blocks currently can't have custom models and so workarounds are needed.
      Which is why I have a different tutorial for custom blocks (which is currently outdated)

  • @nictrix23
    @nictrix23 23 วันที่ผ่านมา

    Um just a quick question, how do you make it so that a item eg, a sword changes texture or model wih diminishing durability. cause i was thinking of making a cookie sword that heals you and the Texture changes depending on how much durability is left.

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      @nictrix23 I'm certain you could do that in the Item Model Definition... how, I don't actually know as I haven't dove into that myself.

  • @makiskijken4092
    @makiskijken4092 18 วันที่ผ่านมา

    Is there a way to integrate the textures into the datapack? Or is it mandatory to use a texturepack?

    • @WASDBuildTeam
      @WASDBuildTeam  18 วันที่ผ่านมา

      @@makiskijken4092 they have to be separate unfortunately

  • @Fizzeapparentlyexists
    @Fizzeapparentlyexists 20 วันที่ผ่านมา

    Now reality can be whatever i want (in minecraft)
    Just to be sure, you need both a datapack and resource pack for it to work?

    • @WASDBuildTeam
      @WASDBuildTeam  20 วันที่ผ่านมา

      @Fizzeapparentlyexists yes, datapack and resource pack

  • @Shdwdrgn87
    @Shdwdrgn87 11 วันที่ผ่านมา

    Would a totem be considered handheld? as well as food items, etc.?

    • @WASDBuildTeam
      @WASDBuildTeam  11 วันที่ผ่านมา +1

      Those are all "generated"

    • @Shdwdrgn87
      @Shdwdrgn87 11 วันที่ผ่านมา

      @@WASDBuildTeam thanks! love the Zelda music btw!

  • @slendervexstain4670
    @slendervexstain4670 20 วันที่ผ่านมา

    Is the /trigger command with the number doesn't work anymore ? Since we can't use /give command in survival

    • @WASDBuildTeam
      @WASDBuildTeam  20 วันที่ผ่านมา

      @@slendervexstain4670 it still works exactly the same as it used to

    • @slendervexstain4670
      @slendervexstain4670 20 วันที่ผ่านมา

      Is there any data pack I need to download for it to work ? I been using "custom roleplay data" but the /trigger requires a value. It's the new way of doing this, there isn't a value to input. How can I get those custom item in survival ?

    • @WASDBuildTeam
      @WASDBuildTeam  20 วันที่ผ่านมา

      @@slendervexstain4670 that would be a question to ask whoever made it.
      The value that /trigger is wanting is a number

  • @ItsPlanet_Aurora
    @ItsPlanet_Aurora 4 วันที่ผ่านมา

    so im updating my texture pack that i have already made. The custom items work when i change the [pack name]/assets/minecraft to something other than minecraft but when i do that all of my other textures like my inventory and normal retectured items are now not working. when i change it back to minecraft all those work but the custom item textures dont. I was wondering if you knew why this is happening and maybe how to fix it?

    • @WASDBuildTeam
      @WASDBuildTeam  4 วันที่ผ่านมา +1

      To retexture vanilla Minecraft things you put the files in the minecraft folder. (The idea is you are overwriting the texture so it uses yours instead)...
      But for custom items you wanna be in your own folder.
      So just do both.

    • @ItsPlanet_Aurora
      @ItsPlanet_Aurora 3 วันที่ผ่านมา

      @@WASDBuildTeam OHHHHHH THAT MAKES SENSE TYSM your def getting a sub from me! I can't wait for an updated custom blocks tut. I never could find any until I saw you made one (I thought custom blocks were impossible) . I can't wait to add them when you make the tut! :3 tysm again!!!

    • @WASDBuildTeam
      @WASDBuildTeam  3 วันที่ผ่านมา +1

      @@ItsPlanet_Aurora Well, custom blocks are impossible, but we can pretend they aren't xD
      That is pretty much the tutorial in a nutshell

    • @ItsPlanet_Aurora
      @ItsPlanet_Aurora 3 วันที่ผ่านมา

      @ lmao. I’ve been thinking of ways for custom blocks but I just can’t figure out in my head how to track a block and tell if it’s supposed to be the custom one or not and all that complicated stuff so I haven’t even tried yet- I like to think about things like that in my day to day life and if I can figure a working way out I test it lol

    • @WASDBuildTeam
      @WASDBuildTeam  3 วันที่ผ่านมา +1

      @@ItsPlanet_Aurora I just realized you are a different person than the one who commented on my Custom Blocks tutorial.

  • @nightshadestars
    @nightshadestars 12 วันที่ผ่านมา

    I'm having troubles getting the texture onto my model. The model spawns just fine, but with the missing textures purple and black. I have the texture in the folder as a png right from blockbench but even when I reload the resource pack it doesn't change the texture.
    They're all named appropriatedly i.e: iron_permit.json (BlockBench model exported as a .json) that has the iron_permit.png (texture, tried it both with and without the .png in the name besides the file type), then there's gold and diamond ones respectively, they have an identical model but are appropriately named based on the tier. I made sure to use generated and not generic in the item .json, but I'm unsure why the texture isn't working, as I did follow your steps exactly.
    Otherwise this was really informative and the 9th tutorial I've tried that /actually/ gave me results because all the others ended up being outdated or didn't include info for BlockBench models, so at least I've finally got the model spawning in! Just missing the textures TwT

    • @WASDBuildTeam
      @WASDBuildTeam  12 วันที่ผ่านมา

      Hmm, join my discord and ask for help there. I'm unsure what the issue is based on your comment.

    • @Tintamar5678
      @Tintamar5678 20 ชั่วโมงที่ผ่านมา

      Can get texture working either. Not sure how it would work as nothing is linking to the texture folder... I dont get it

    • @WASDBuildTeam
      @WASDBuildTeam  14 ชั่วโมงที่ผ่านมา

      @ Same for you, please join my discord and ask there. I can't really help in a TH-cam comment

  • @makiskijken4092
    @makiskijken4092 18 วันที่ผ่านมา

    Where can I find a way to make a custom recipe based off of custom items?
    (e.g. a saffire sword made from saffires, added in with a datapack)

    • @makiskijken4092
      @makiskijken4092 18 วันที่ผ่านมา

      Could there for example be a way to give such an item a custom ID?

    • @WASDBuildTeam
      @WASDBuildTeam  18 วันที่ผ่านมา

      @@makiskijken4092 you can't use custom ingredients currently.

    • @makiskijken4092
      @makiskijken4092 17 วันที่ผ่านมา

      @@WASDBuildTeam nahhhhhhh saad
      thanks anyways

  • @litendurance
    @litendurance 7 วันที่ผ่านมา

    bro your the goat fr

  • @HollowMythology-eu7hz
    @HollowMythology-eu7hz 20 วันที่ผ่านมา

    is the pack format the same for texture and data packs?

    • @WASDBuildTeam
      @WASDBuildTeam  20 วันที่ผ่านมา

      @HollowMythology-eu7hz no, they are different numbers. Check the wiki for what they should both be.

  • @BinBib-j7t
    @BinBib-j7t 18 วันที่ผ่านมา

    Can I add this datapack to my realms server? The server is already created and I want to add this datapack.

    • @BinBib-j7t
      @BinBib-j7t 18 วันที่ผ่านมา

      and I want to know, how can I make custom item code. previously I try this code "/give @p minecraft:nether_star{CustomModelData:12345,display:{Name:'{"text":"Thunder Star","color":"gold","italic":false}'}} 1" But It wasn't working. What is the problem?

    • @WASDBuildTeam
      @WASDBuildTeam  18 วันที่ผ่านมา

      @@BinBib-j7t you can add datapacks to Realms, yes.
      As for your give command issue, that is covered at the start of the tutorial.

  • @Ducklesss-s1d
    @Ducklesss-s1d 18 วันที่ผ่านมา

    i have the model but it dosent work need help pleeas

    • @WASDBuildTeam
      @WASDBuildTeam  17 วันที่ผ่านมา

      Feel free to join my discord and I can help you out. Probably just have a typo somewhere.

  • @GiladThePro
    @GiladThePro 23 วันที่ผ่านมา

    that is CIT in vanilla

  • @Literally_Steve0
    @Literally_Steve0 21 วันที่ผ่านมา

    Don't know if this is possible but, I am a new mod developer. I was wondering if I could join the team?

    • @WASDBuildTeam
      @WASDBuildTeam  21 วันที่ผ่านมา

      I'm not looking for members, but thanks for being interested in joining!
      Currently a 1 man team is exactly what I'm wanting, as I lead an actual large team for my full-time job.

  • @ShinyShadow_
    @ShinyShadow_ 3 วันที่ผ่านมา

    what about animated items?

    • @WASDBuildTeam
      @WASDBuildTeam  3 วันที่ผ่านมา

      Those work exactly the same, except for the texture. You can just look at how vanilla textures work for animations to easily get a grasp of it.

  • @Kalphalus
    @Kalphalus 24 วันที่ผ่านมา

    I tried the Block tutorial, and can’t figure it out. I tried it both on older versions (1.20) and new versions (1.20.6, 1.21, 1.21.4), what’s different?
    Side note: Is it possible to make a 3D Model with Transparency on non-transparent blocks? Im hoping it’s possible, but doubt it.

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      That tutorial broke in 1.20.5 due to the change from NBT to Components. It would work in 1.20 though

    • @Kalphalus
      @Kalphalus 23 วันที่ผ่านมา

      @@WASDBuildTeam Okay, I’ll figure something out. If you don’t mind answering, how do you setup interactions with the Machines data pack Sifter and similar machines from the data pack? Im bad at making Datapacks and am figuring it out as I go

  • @Shdwdrgn87
    @Shdwdrgn87 11 วันที่ผ่านมา

    does anyone know how I could make a totem that kills the player that attacked the player with the totem?

    • @WASDBuildTeam
      @WASDBuildTeam  11 วันที่ผ่านมา +1

      I believe
      /execute on attacker

    • @Shdwdrgn87
      @Shdwdrgn87 10 วันที่ผ่านมา

      @@WASDBuildTeam I'm sorry if this is annyoing, but can walk me through a bit? I'm new to messing around with mc datapacks, mods, etc.

    • @WASDBuildTeam
      @WASDBuildTeam  10 วันที่ผ่านมา

      @@Shdwdrgn87 join my discord and ask for help there

  • @zencraft69
    @zencraft69 2 วันที่ผ่านมา

    Good video but my god the music is annoying and too loud

  • @tek1in775
    @tek1in775 14 วันที่ผ่านมา

    I know comments get overlooked pretty easily but I was hoping someone could help me out on this problem because I haven't been able to find a solution so far.
    I'm trying to make a custom craft with a custom item being used in the craft. (It's a smelters pickaxe and uses a custom model I've made for a steel ingot). The issue is, using the generator provided, it doesn't give area for a custom item as such to be used. I was just wondering how I could check for a custom item in the crafting bench. Thanks if anyone can help!

    • @WASDBuildTeam
      @WASDBuildTeam  14 วันที่ผ่านมา

      @@tek1in775 I think I already answered this on the discord, but you used custom items as ingredients

  • @orzech-u9n
    @orzech-u9n 16 วันที่ผ่านมา

    is there a easy way to do it with crossbow?

    • @WASDBuildTeam
      @WASDBuildTeam  16 วันที่ผ่านมา +1

      @orzech-u9n not exactly easy, no.
      Check out my resource pack for how I did my Moar Crossbows. It is kinda a pain

    • @orzech-u9n
      @orzech-u9n 15 วันที่ผ่านมา

      Thx

  • @Shdwdrgn87
    @Shdwdrgn87 11 วันที่ผ่านมา

    does the file have to be zip? and if so, how can I do this?

    • @WASDBuildTeam
      @WASDBuildTeam  11 วันที่ผ่านมา +1

      It does not need to be a zip

  • @protn-ct1ms
    @protn-ct1ms 23 วันที่ผ่านมา

    hopefully mojang will add custom textures in datapacks :(

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      It would be nice if they combined them, yeah. But needing two files really isn't that bad.

    • @protn-ct1ms
      @protn-ct1ms 23 วันที่ผ่านมา

      @@WASDBuildTeam I think if both files could be merged, datapacks would be taken more seriously as mods, really vanilla mods, it's a bit tedious to have to install resorcepacks, especially on multiplayer servers.

    • @WASDBuildTeam
      @WASDBuildTeam  23 วันที่ผ่านมา

      @@protn-ct1ms totally agree

    • @ItsPlanet_Aurora
      @ItsPlanet_Aurora 4 วันที่ผ่านมา

      @@protn-ct1ms i use aternos server but im pretty sure it works with others. You can force a resource pack. also if its single player and uploading a world you can zip it and put it in the world folder so they have the texture pack when they open the world

  • @pippslays
    @pippslays 10 วันที่ผ่านมา

    is this possible to do it with Elytras?

    • @WASDBuildTeam
      @WASDBuildTeam  9 วันที่ผ่านมา

      Yes, but this tutorial would only cover the Elytra item. You can using a different method do custom worn Elytra (and armor).

    • @pippslays
      @pippslays 9 วันที่ผ่านมา

      So it wouldn’t work for the custom elytra ?

    • @WASDBuildTeam
      @WASDBuildTeam  9 วันที่ผ่านมา

      @pippslays This tutorial doesn't cover how to do it. An Elytra is both an item, and an armor model. This only covers the item part.

    • @pippslays
      @pippslays 9 วันที่ผ่านมา

      @@WASDBuildTeam Would you ever be willing to do one?

    • @WASDBuildTeam
      @WASDBuildTeam  9 วันที่ผ่านมา

      @pippslays it is on my list. Idk when though

  • @AngelMartinez-gk2in
    @AngelMartinez-gk2in 24 วันที่ผ่านมา +3

    He is back

  • @RandomMode4.0
    @RandomMode4.0 3 วันที่ผ่านมา

    Oh i'm f#$ked in a whole other level not even the tutorial resource pack is working and i'm typing the command correctly.

    • @WASDBuildTeam
      @WASDBuildTeam  3 วันที่ผ่านมา

      You can join my discord and submit a help request

  • @XFYADXYT1
    @XFYADXYT1 21 วันที่ผ่านมา

    u can make vidio pls how to make custom armor.chaestpalent,boots.tnt.and more and what do with u skyblox

  • @D4RK-d2b
    @D4RK-d2b 21 วันที่ผ่านมา

    that was great now all now i know how to make a custom item but how do i for example make it naturally generate in a chest lets say, can you make a tutorial for that if you know how to do that

    • @WASDBuildTeam
      @WASDBuildTeam  21 วันที่ผ่านมา

      What you are looking for are Chest Loot Tables. It is pretty straightforward. Might be worth looking at my Moar Rings datapack, as it does basically what you are looking for.

  • @XFYADXYT1
    @XFYADXYT1 21 วันที่ผ่านมา

    Stop lie

    • @ItsPlanet_Aurora
      @ItsPlanet_Aurora 4 วันที่ผ่านมา

      ??? wdym? their not lying????