#i jus started im wanting to learn how to create datapacks

1 messages · Page 1 of 1 (latest)

mint tusk
#

wondering how i can make this also work when hit an entity with an arrow
execute as @e[type=arrow, nbt={inGround:1b}] at @s run summon tnt
kill @e[type=arrow,nbt={inGround:1b}]

inland kayakBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1740801129:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

mint tusk
#

execute as @e[type=arrow, nbt={inGround:1b}] at @s run summon tnt
kill @e[type=arrow,nbt={inGround:1b}]

#

i want to make this also when the arrow hits an entity

#

can anyone teach me how

dense igloo
mint tusk
mint tusk
dense igloo
mint tusk
#

how can i make custom enchant?

dense igloo
#

question
are you learning how to make datapacks just to make this or do you want to make more datapacks in the future?
just want this -> ask someone to make it for you, shouldn't be too complicated
want to make more -> learn the foundations of datapacks first, datapack hub has a wiki here

Datapack Wiki

Welcome to the Datapack Wiki, a resource for everything related to Minecraft Datapacks. We've got guides, tutorials, and documentation to help you build your knowledge about data packs.

mint tusk
mint tusk
supple bison
#

And one more thing: add a predicate (in that enchantment, as a requirement) that checks if damage is not direct to activate the effect

#

Else, you could just attack entities with your bow like a sword and they will still explode

inland kayakBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.