so I made it so when you kill any mob it plays this sound minecraft:item.book.page_turn, and display this text {"text":"+$1","color":"#91FF8D"}.
But im trying to make it so that it does 2 other things...
-when you kill a creeper it plays the same book page sound, but it will instead say ["",{"text":"+$2 ","color":"#00FFBA"},{"text":"(Creeper Bonus)","italic":true,"color":"#00FFBA"}]
-and when you kill a zombie pigman it doesnt play the sound or display any text
I CANNOT FIGURE IT OUT, BUT IT SHOULD BE SO SIMPLE!!!
So yet again im turning to the minecraft command wizrds to help me with this one...
You could use advancements to make it so that if you killed an entity with a specific tag, it will play a sound stuff and another advancement for when a player kills a zombie pigman it will do stuff
Using misode.github.io, I made this advancement that in theoryshould work (this is for when player kills entity that has specific tag or you can change it to only work on creepers):
so I made it so when you kill any mob it plays this sound minecraft:item.book.page_turn, and display this text {"text":"+$1","color":"#91FF8D"}.
But im trying to make it so that it does 2 other things...
-when you kill a creeper it plays the same book page sound, but it will instead say ["",{"text":"+$2 ","color":"#00FFBA"},{"text":"(Creeper Bonus)","italic":true,"color":"#00FFBA"}]
-and when you kill a zombie pigman it doesnt play the sound or display any text
I CANNOT FIGURE IT OUT, BUT IT SHOULD BE SO SIMPLE!!!
So yet again im turning to the minecraft command wizrds to help me with this one...
You could use advancements to make it so that if you killed an entity with a specific tag, it will play a sound stuff and another advancement for when a player kills a zombie pigman it will do stuff
Using misode.github.io, I made this advancement that in theory should work (this is for when player kills entity that has specific tag or you can change it to only work on creepers):
==Links==
𝐒𝐞𝐜𝐨𝐧𝐝 𝐂𝐡𝐚𝐧𝐧𝐞𝐥- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦- https://www.instagram.com/cowsdabest_yt/?hl=en
𝐓𝐰𝐢𝐭𝐭𝐞𝐫- https://twitter.com/cowsdabestyt
𝐃𝐢𝐬𝐜𝐨𝐫𝐝- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!