1 - 4 of 4
/scoreboard objectives add isThrown_Iron dummy
/scoreboard objectives add isThrown_Gold dummy
/scoreboard objectives add isThrown_Diamond dummy
etc...
This will create the objectives for each item throwable in your minigame/scoreboard players add @e[type=item] isThrown_Iron 0 {Item:{id:"minecraft:iron_ingot"}}
/scoreboard players add @e[type=item] isThrown_Gold 0 {Item:{id:"minecraft:gold_ingot"}}
/scoreboard players add @e[type=item] isThrown_Diamond 0 {Item:{id:"minecraft:diamond"}}
etc...
This will, for example, initialise "isThrown_Iron" for every "Iron ingot" to 0, which will track if we already say it was thrown or not../execute @e[type=item,score_isThrown_Iron=0] ~ ~ ~ say @p drops Iron
/execute @e[type=item,score_isThrown_Gold=0] ~ ~ ~ say @p drops Gold
/execute @e[type=item,score_isThrown_Diamond=0] ~ ~ ~ say @p drops Diamond
etc...
This will say, for example, "Bob drops Iron" when Bob drops Iron./execute @e[type=item,score_isThrown_Iron=0] ~ ~ ~ scoreboard players set @e isThrown_Iron 1
/execute @e[type=item,score_isThrown_Gold=0] ~ ~ ~ scoreboard players set @e isThrown_Gold 1
/execute @e[type=item,score_isThrown_Diamond=0] ~ ~ ~ scoreboard players set @e isThrown_Diamond 1
etc...
This will assign 1 to every object dropped, to prevent repeating "Bob drops Iron" over and over./execute @e[type=giant] ~ ~ ~ summon minecraft:zombie ~ ~ ~
This command will summon your zombies in every place where there is a giant. If you want to spawn zombies only for some giants, named the giants (without spaces, like "Bob" and not "Bob Smith") and do :/execute @e[type=giant,name=Bob] ~ ~ ~ summon minecraft:zombie ~ ~ ~
Of course, replace "Bob" by the name of your giant, and voilà.1 - 4 of 4
© 2010 - 2024
www.planetminecraft.com
By signing in, you agree to Planet Minecraft's Terms of Use and Privacy Policy.