Uploaded March 2020 | Updated November 2026, 1 day ago
Today I walk you guys through the custom Radio feature in my Pixelmon Johto map, that manages music from resource packs, loops music when done playing, changes in-game events, and can even be triggered by NPCs and Pixelmon, all in vanilla Minecraft!
Here are some of the commands used in-game for you to play with.
/scoreboard objectives add MusicCooldown dummy
/scoreboard objectives add MusicState dummy
/scoreboard objectives add click stat.useItem.minecraft.carrot_on_a_stick
Triggering and tagging if a player is holding the radio:
/testfor @a[score_MusicCooldown=0] {Inventory:[{Slot:-106b,tag:{display:{Name:"Radio"}}}]}
/scoreboard players set @a[score_MusicState=0] MusicState 1 {Inventory:[{tag:{display:{Name:"Radio"}},Slot:-106b}]}
/scoreboard players set @a[score_MusicState_min=1] MusicState 0
Playing the music:
/testfor @a[score_MusicCooldown=0] {Inventory:[{Slot:-106b,tag:{display:{Name:"Radio"}}}]}
/playsound elmlab record @a[x=-693,y=63,z=-490,dx=19,dy=5,dz=19,score_MusicCooldown=0,score_MusicState_min=1] ~ ~ ~ 1000 1 1
/scoreboard players set @a[x=-693,y=63,z=-490,dx=19,dy=5,dz=19,score_MusicCooldown=0,score_MusicState_min=1] MusicCooldown 1540
Applies Legendary tag to specific wild Pokemon:
/execute @a[type=player] ~ ~ ~ /scoreboard players tag @e[r=15,type=pixelmon:pixelmon,tag=!Legendary] add Legendary {ndex:151s,OwnerUUID:""}
Playing the music using Legendary Pokemon:
/execute @e[tag=Legendary,type=pixelmon:pixelmon] ~ ~ ~ /playsound legendarybattle record @a[r=15,score_MusicCooldown=0,score_MusicState_min=1] ~ ~ ~ 1000 1 1
/execute @e[tag=Legendary,type=pixelmon:pixelmon,c=1] ~ ~ ~ /scoreboard players set @a[r=15,score_MusicCooldown=0,score_MusicState_min=1] MusicCooldown 4072
--
Join our Discord! discord.gg/34v75kM
Everything I Do: http://Jond.Tv
Today I walk you guys through the custom Radio feature in my Pixelmon Johto map, that manages music from resource packs, loops music when done playing, changes in-game events, and can even be triggered by NPCs and Pixelmon, all in vanilla Minecraft!
Here are some of the commands used in-game for you to play with.
/scoreboard objectives add MusicCooldown dummy
/scoreboard objectives add MusicState dummy
/scoreboard objectives add click stat.useItem.minecraft.carrot_on_a_stick
Triggering and tagging if a player is holding the radio:
/testfor @a[score_MusicCooldown=0] {Inventory:[{Slot:-106b,tag:{display:{Name:"Radio"}}}]}
/scoreboard players set @a[score_MusicState=0] MusicState 1 {Inventory:[{tag:{display:{Name:"Radio"}},Slot:-106b}]}
/scoreboard players set @a[score_MusicState_min=1] MusicState 0
Playing the music:
/testfor @a[score_MusicCooldown=0] {Inventory:[{Slot:-106b,tag:{display:{Name:"Radio"}}}]}
/playsound elmlab record @a[x=-693,y=63,z=-490,dx=19,dy=5,dz=19,score_MusicCooldown=0,score_MusicState_min=1] ~ ~ ~ 1000 1 1
/scoreboard players set @a[x=-693,y=63,z=-490,dx=19,dy=5,dz=19,score_MusicCooldown=0,score_MusicState_min=1] MusicCooldown 1540
Applies Legendary tag to specific wild Pokemon:
/execute @a[type=player] ~ ~ ~ /scoreboard players tag @e[r=15,type=pixelmon:pixelmon,tag=!Legendary] add Legendary {ndex:151s,OwnerUUID:""}
Playing the music using Legendary Pokemon:
/execute @e[tag=Legendary,type=pixelmon:pixelmon] ~ ~ ~ /playsound legendarybattle record @a[r=15,score_MusicCooldown=0,score_MusicState_min=1] ~ ~ ~ 1000 1 1
/execute @e[tag=Legendary,type=pixelmon:pixelmon,c=1] ~ ~ ~ /scoreboard players set @a[r=15,score_MusicCooldown=0,score_MusicState_min=1] MusicCooldown 4072
--
Join our Discord! discord.gg/34v75kM
Everything I Do: http://Jond.Tv
![Blowing Enemies Out of the Sky! - GTA V: Rags to Riches Ep. 17 [Doomsday Heist Act 2 Preps]
This episode, we begin The Bogdan Problem part of the Doomsday Heists, and this episode run through the preps. And, as it would turn out, quite a few people are wanting to show off their heist gains, as lobbies literally enter a doomsday.
More GTA Episodes:
http://bit.ly/GTA_RTR
Zane & Michael: http://bit.ly/TheToastyBizzness
Page: https://www.twitch.tv/pagerrager
Subscribe! https://www.youtube.com/subscription_center?add_user=JondGames
Join our Discord! https://discord.gg/34v75kM
Twitter: http://twitter.com/JondGames
Everything I Do: http://Jond.Tv Blowing Enemies Out of the Sky! - GTA V: Rags to Riches Ep. 17 [Doomsday Heist Act 2 Preps]](https://i.ytimg.com/vi/jnW2kK6aHoo/mqdefault.jpg)



![Taking down Juggernauts - GTA V: Rags to Riches Ep. 20 [The Doomsday Scenario Setups]
This episode, we dive into the beginning of the end of the Doomsday heists, fighting off Avons massively armored Juggernauts, waves of clones, helicopters and everything else he can throw at us. Hes going down.
More GTA Episodes:
http://bit.ly/GTA_RTR
Zane & Michael: http://bit.ly/TheToastyBizzness
Subscribe! https://www.youtube.com/subscription_center?add_user=JondGames
Join our Discord! https://discord.gg/34v75kM
Twitter: http://twitter.com/JondGames
Everything I Do: http://Jond.Tv Taking down Juggernauts - GTA V: Rags to Riches Ep. 20 [The Doomsday Scenario Setups]](https://i.ytimg.com/vi/kwbnOfi5CJc/mqdefault.jpg)


![The Start of Doomsday - GTA V: Rags to Riches Ep. 15 [Doomsday Heist Act 1 Prep]
Our friends are dropping, and the world is becoming more chaotic. Lester comes out of the woodworks telling us about new properties, and new opportunities. But I barely have enough to afford it anymore. I hope it will be worth it.
GTA Playlist:
http://bit.ly/GTA_RTR
Zane & Michael: http://bit.ly/TheToastyBizzness
Page: https://www.twitch.tv/pagerrager
Subscribe! https://www.youtube.com/subscription_center?add_user=JondGames
Join our Discord! https://discord.gg/34v75kM
Twitter: http://twitter.com/JondGames
Everything I Do: http://Jond.Tv The Start of Doomsday - GTA V: Rags to Riches Ep. 15 [Doomsday Heist Act 1 Prep]](https://i.ytimg.com/vi/lPqeQzxHgeg/mqdefault.jpg)
![The ULTIMATE Cargo Mission (& Racing Montage) - GTA V: Rags to Riches Ep. 13 [CEO Jobs]
Back in downtown Los Santos, Ive collected over 2 million dollars worth of cargo the last couple months. Drugs, gems, jewelry, you name it. I need my associates to help out, and turn these rocks into cold hard cash. And celebrate, with a sick race through San Andreas. But how long with it last?
GTA Playlist:
http://bit.ly/GTA_RTR
Zane & Michael: http://bit.ly/TheToastyBizzness
Subscribe! https://www.youtube.com/subscription_center?add_user=JondGames
Public Minecraft Server IP: mc.jond.tv
Twitter: http://twitter.com/JondGames
Everything I Do: http://Jond.Tv The ULTIMATE Cargo Mission (& Racing Montage) - GTA V: Rags to Riches Ep. 13 [CEO Jobs]](https://i.ytimg.com/vi/l_yhCD3v-eM/mqdefault.jpg)

