EASTER EGGS

Tutorial viewed            times

After placing the command  blocks as shown in the video, paste the commands starting from the bottom command block going towards the upper one.


Create scoreboard objective:

/scoreboard objectives add EGG dummy


Get armor stand:

​/give @p minecraft:armor_stand 1 0 {display:{Name:"Easter Egg"},EntityTag:{Marker:1b,Invisible:1,Tags:["EGG"]}}


Set command block line:

/execute @e[tag=EGG] ~ ~ ~ setblock ~ ~ ~ minecraft:skull 1 replace {Owner:{Id:"2c87257c-c058-4a28-990e-eeeeae44f8d7",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWViMzM1MTgyZGI1ZjNiZTgwZmNjZjZlYWJlNTk5ZjQxMDdkNGZmMGU5ZjQ0ZjM0MTc0Y2VmYTZlMmI1NzY4In19fQ=="}]}},SkullType:3,Rot:-8}


​/entitydata @e[tag=EGG] {Tags:["EGGPLACED"]}


​/execute @e[tag=EGGPLACED,score_EGG_min=1,score_EGG=1] ~ ~ ~ detect ~ ~ ~ air 0 summon item ~ ~ ~ {Item:{id:"minecraft:diamond",Count:1b},Motion:[0.0,0.2,0.0]}


​/execute @e[tag=EGGPLACED,score_EGG_min=2,score_EGG=2] ~ ~ ~ detect ~ ~ ~ air 0 summon item ~ ~ ~ {Item:{id:"minecraft:tnt",Count:1b},Motion:[0.0,0.2,0.0]}


​/execute @e[tag=EGGPLACED,score_EGG_min=3,score_EGG=3] ~ ~ ~ detect ~ ~ ~ air 0 summon item ~ ~ ~ {Item:{id:"minecraft:cookie",Count:1b},Motion:[0.0,0.2,0.0]}


​/execute @e[tag=EGGPLACED,score_EGG_min=4,score_EGG=4] ~ ~ ~ detect ~ ~ ~ air 0 summon item ~ ~ ~ {Item:{id:"minecraft:torch",Count:1b},Motion:[0.0,0.2,0.0]}


​/scoreboard players add @e[tag=EGGPLACED] EGG 1


​/scoreboard players set @e[tag=EGGPLACED,score_EGG_min=5] EGG 1


​/execute @e[tag=EGGPLACED] ~ ~ ~ detect ~ ~ ~ air 0 kill @s


Command blocks