➡️ NOTE:
This was written by my son in December 2017. It may/not still be accurate.
First, you will need a command block.
To give yourself a command block, type this in the chat.
/give @s command_block 64
Be sure the map creator has enabled "cheats" for the map, before you enter it.
If you are not the creator of the map you are on, you can ask the creator to op
you.
Or, if you are the creator of the level and would like to give op
permissions to a friend, type this in the chat.
/op PLAYER_NAME
After placing the command block, enter this command code:
/execute @e[type=arrow] ~ ~ ~-1 summon tnt
Be sure the command block is set to:
- "Repeat"
- "Unconditional"
- "Always active"
If you would like to have an exploding egg
or snowball
, you may substitute that instead of arrow
.
/execute @e[type=egg] ~ ~ ~-1 summon tnt
/execute @e[type=snowball] ~ ~ ~-1 summon tnt
I hope you enjoy making exploding TNT projectiles!
P.S.
If you want to make pig
arrows, you can substitute that instead of tnt
.
/execute @e[type=arrow] ~ ~ ~-1 summon pig
:)
— Hudson Smith
nice