Creating Custom Arrow Enchants Commands & Data Pack | Minecraft 1.21.1

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



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
147 views
5


Enchantment Template Used:

{
"description": {
"translate": "Enchanted Arrows"
},
"effects": {

"minecraft:tick": [
{
"effect": {
"type": "minecraft:run_function",
"function": "insert_directory:arrow_check"
}
}
],

"minecraft:projectile_spawned": [
{

"effect": {
"type": "minecraft:all_of",
"effects": [

{
"type": "minecraft:run_function",
"function": "insert_directory:arrow_spawn"
},

{
"type": "minecraft:play_sound",
"sound": "minecraft:entity.illusioner.cast_spell",
"volume": 5.0,
"pitch": 1.0
}

]
}
}
]
},
"anvil_cost": 1,
"max_cost": {
"base": 40,
"per_level_above_first": 0
},
"max_level": 1,
"min_cost": {
"base": 1,
"per_level_above_first": 0
},
"slots": [
"any"
],
"supported_items": "minecraft:bow",
"weight": 1
}

Functions Used
arrow_spawn:

data modify entity @s PierceLevel set value 1b
tag @s add enchanted_x

arrow_check:

execute as @e[type=#minecraft:arrows,tag=enchanted_x,nbt=!{inGround:1b}] at @s run particle minecraft:enchant ~ ~ ~ 0.1 0.1 0.1 0.1 3

execute as @e[type=#minecraft:arrows,tag=enchanted_x,nbt=!{inGround:1b},nbt={LeftOwner:1b}] at @s if entity @e[distance=..3,type=!#minecraft:arrows] run [insert command to run on hit]

execute as @e[type=#minecraft:arrows,tag=enchanted_x,nbt=!{inGround:1b},nbt={LeftOwner:1b}] at @s if entity @e[distance=..3,type=!#minecraft:arrows] run kill @s

execute as @e[type=#minecraft:arrows,tag=enchanted_x,nbt={inGround:1b,LeftOwner:1b}] at @s run [insert command to run on landing]

execute as @e[type=#minecraft:arrows,tag=enchanted_x,nbt={inGround:1b,LeftOwner:1b}] at @s run kill @s

-------------------------------------------------------------------------------------------------------------------------
Data Pack Downloads:
PlanetMC - https://www.planetminecraft.com/data-pack/runechant-a-new-world-to-discover-beta-release-made-for-current-snapshot/
Modrinth - https://modrinth.com/datapack/runechant

Showcases multiple features for my upcoming new Minecraft data pack. Using a bunch of commands I'm trying to alter Vanilla gameplay with an overwhelming number of RPG elements, from mob abilities to bosses and even a new magic system. I give you my work in progress Data Pack, Runechant a New World to Discover.

Welcome to Klloo's Main Channel, home currently to all my content. I also have specific channels for each type of content. Currently all Stream VODs are uploaded to those channels along with longer form content.

Links
Twitch - https://www.twitch.tv/kllooooyy
Discord - https://discord.gg/3Ntrh7sywT

Youtube Channels
Main Channel -    / @kllooooyy  
Minecraft Channel -    / @kllooooyy_minecraft  
TCG Channel -    / @kllooooyy_tcg  
Gaming Channel -    / @kllooooyy_vods  

Twitch - https://www.twitch.tv/kllooooyy
Twitter - https://twitter.com/klloo_ooyy
TikTok - https://www.tiktok.com/@kllooooyy
Discord - https://discord.gg/3Ntrh7sywT

#minecraft #datapack #minecraftdatapack #minecraftcreations #minecraftcreative #minecraftcommandblock #commandblock #minecraftshorts




Other Videos By Kloo Live


2024-10-15Bloodborne | The Blood Moon Rises, Time to Figure Out Where to Go
2024-10-14Jarl Vetreiđi Armory Deck Origins, All New Heroes | Flesh and Blood TCG
2024-10-13Bloodborne | Hunting Weapons to Hunt Beasts
2024-10-13Silent to Ascension 20 | A18 Sometimes Random Just Works
2024-10-12Reel In & Three of a Kind - Card Interaction Showcase | Flesh and Blood TCG
2024-10-12Bloodborne | Where Better to Hunt Than the Woods
2024-10-11Surgent Ather Flare Verdance | Flesh and Blood TCG [Comboing, Setups & OTKs]
2024-10-11Bloodborne | Fresh Playthrough Hunting Beasties Till Dragon Age Drops
2024-10-10Silent to Ascension 20 | A17 Slice through the Zero
2024-10-10FaB Friday 5th Anniversary Special Cracking Some 1st Ed CRU/ARC/WTR | Flesh and Blood TCG
2024-10-09Creating Custom Arrow Enchants Commands & Data Pack | Minecraft 1.21.1
2024-10-06Silent to Ascension 20 | A16 Nothing But a Backstabber
2024-10-06Custom Enchants the Runechant Way Features & Info (#6) Runechant | Minecraft Data Pack
2024-10-05FaB Friday What's New? Cracking Some Everfest | Flesh and Blood TCG
2024-10-04Nitro Smash with Mechanologist's New Draw Engine | Flesh and Blood TCG [Comboing, Setups & OTKs]
2024-10-03Kingdom of Amalur Reckoning | What to Play Till Veilguard
2024-10-03Silent to Ascension 20 | A14 Grand Finale Well... Actually only 75% of the Way
2024-10-02Custom Weapons Affinity System Features & Info (#5) Runechant | Minecraft Data Pack
2024-10-01Opponents Turn OTK 200+ DMG Veridance Combo | Flesh and Blood TCG [Comboing, Setups & OTKs]
2024-09-30Dragon Age Inquisition | DA Trilogy Playthrough [#19 Trespasser DLC] Nightmare Difficulty
2024-09-30Silent to Ascension 20 | A13 Poisonous Relationship with the Timekeeper



Other Statistics

Minecraft Statistics For Kloo Live

Kloo Live presently has 1,208,625 views for Minecraft across 1,879 videos, with the game making up over 7 days of published video on his channel. This is 23.50% of the total watchable video for Minecraft on Kloo Live's YouTube channel.