How To Make *Custom Items* Using Item Components, Recipes and Advancements in Java Minecraft 1.21.4

Channel:
Subscribers:
4,670
Published on ● Video Link: https://www.youtube.com/watch?v=eJ52puKnEX8



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
3,243 views
123


A custom item that actually does something?! That's what I'll teach you how to make today. I'll walk you through item components and how to change them to get the results you want. I'll teach you how to use the wiki to know what values to change, and I'll provide a template datapack to make setting up a custom recipe and custom advancement easy!

00:00 How To Make Custom Items
Pick Your Component:
consumable - data modify entity @n[type=item,distance=..10] Item.components set value {"minecraft:consumable":{"consume_seconds":1.6,"animation":"eat","sound":"entity.generic.eat","on_consume_effects":[{"type":"apply_effects","effects":[{"id":"speed","amplifier":0,"duration":100,"show_particles":true}],"probability":1.0}]},"minecraft:food":{"nutrition":2,"saturation":5.0,"can_always_eat":false}}

tool - data modify entity @n[type=item,distance=..10] Item.components set value {"minecraft:tool":{"default_mining_speed":1.0,"damage_per_block":1,"rules":[{"speed":5.0,"correct_for_drops":true,"blocks":["minecraft:stone","minecraft:grass_block"]}]},"minecraft:repairable":{"items":["stone","stonecutter"]},"minecraft:unbreakable":{},"minecraft:max_damage":14,"minecraft:damage":1}

equippable - data modify entity @n[type=item,distance=..10] Item.components set value {"minecraft:equippable":{"slot":"head","equip_sound":"item.armor.equip_generic","swappable":true,"damage_on_hurt":true},"minecraft:attribute_modifiers":[{"type":"armor","slot":"any","id":"my_items:armor","amount":3.0,"operation":"add_value"}],"minecraft:unbreakable":{},"minecraft:max_damage":512,"minecraft:damage":1}

01:23 Customizing Item Component Values
Minecraft Wiki: https://minecraft.wiki/w/Data_component_format#List_of_components

07:13 Will You Keep The Helper Components?
Helper components:
*consumable*:
food adds adds meat pops when eaten as well as saturation

*tool*:
repairable defines what can repair the item in an anvil
unbreakable makes the tool never break
max_damage sets the total durability
damage sets the current damage to the item

*equippable*:
attribute_modifiers gives the item an armor value (although the type value can be changed to give extra hearts or increased/decreased movement speed, etc)
unbreakable makes the tool never break
max_damage sets the total durability
damage sets the current damage to the item

!! Pro Tip: attribute_modifiers can go on any item and by changing the value for the "type" key, you can add extra hearts while holding/wearing your item, increase/decrease movement speed, increase mining range, etc!
Attribute List: https://minecraft.wiki/w/Attribute#Attributes

08:31 Adding Item Components
Component names:
"minecraft:custom_name"
"minecraft:lore"
"minecraft:enchantment_glint_override"
"minecraft:max_stack_size"
"minecraft:item_model"

12:20 Custom Crafting Recipe With Components
Custom Item Template Datapack: https://www.planetminecraft.com/data-pack/custom-item-template/



My Main Let's Play:
Talon's Oasis Season 3:    • Talon's Oasis - Season 3  
Original (Old) Talon's Oasis:    • Talon's Oasis - Season 1  


Not an official Minecraft product. Not approved by or associated with Mojang.

Chapters:
00:00 How To Make Custom Items
01:23 Customizing Item Component Values
07:13 Will You Keep The Helper Components?
08:31 Adding Item Components
12:20 Custom Crafting Recipe With Components
15:44 How To Replace Default Recipes
16:11 Item Advancement Functionality


#CustomItemTutorial #MinecraftHowTo #Talon2863




Other Videos By Talon


2025-05-30Command Block Survival - Central Basin Spaghetti - Ep 172
2025-05-23Command Block Survival - We Need A Shrubbery! - Ep 171
2025-05-17Command Block Survival - Placing Blocks Without Placing Blocks - Ep 170
2025-05-09Command Block Survival - Endermen: Foe or Friend? - Ep 169
2025-04-25Command Block Survival - Custom Weapons And Parrying?! - Ep 168
2025-04-18Command Block Survival - The Structure Manifest - Ep 167
2025-04-11Command Block Survival - How Fast Can You Glidehop? - Ep 166
2025-04-04Command Block Survival - Don't Mess With Test Blocks! - Ep 165
2025-03-28Command Block Survival - 1.21.5 Pokemob Upgrade! - Ep 164
2025-03-14Command Block Survival - An Enchantment To Rival The Elytra - Ep 163
2025-03-07How To Make *Custom Items* Using Item Components, Recipes and Advancements in Java Minecraft 1.21.4
2025-02-28Command Block Survival - Jigsaw Spacestation - Ep 162
2025-01-31The Mushroom Resort Supply Chain - Talon's Oasis - Ep 161
2025-01-24Bigger, Stronger; Smaller, Faster - Talon's Oasis - Ep 160
2025-01-17Making Freecam For Survival Minecraft 1.21.4 - Talon's Oasis - Ep 159
2025-01-10Getting a Dog (And Finishing the Nether Hub) - Talon's Oasis - Ep 158
2024-12-31Full Draw - A Bow-Only PVP Mini-Game With 5 Classes, 4 Maps, and a PVE Mode - Java Minecraft 1.21.4
2024-12-13The Resin Hedgehog! (Exploring Creaking Mechanics) - Talon's Oasis - Ep 157
2024-12-07The Thunderdome - Talon's Oasis - Ep 156
2024-11-23Choices, Choices, Choices - Talon's Oasis - Ep 155
2024-11-15Custom Ambient Sounds and Polar Bear Protection - Talon's Oasis - Ep 154



Other Statistics

Minecraft Statistics For Talon

Talon presently has 461,370 views for Minecraft across 180 videos, with the game making up over 3 days of published video on his channel. This is 61.38% of the total watchable video for Minecraft on Talon's YouTube channel.