/scoreboard players set @a 1 1
/replaceitem entity @e[type=armor_stand,name=x子弹] slot.armor.head minecraft:tnt 1 0 {ench:[{id:51,lvl:100}]}
/replaceitem entity @e[type=armor_stand,name=x子弹] slot.armor.head minecraft:tnt
1:/kill @e[type=armor_stand,name=x子弹]
2:/scoreboard players set @a 1 0
3:/testfor @a[score_1_min=1] (始终开启)
4:/testfor @e[type=Creeper,name=x子弹] (始终开启)
最后这一堆循环都是始终开启,就随便输吧
/tp @e[type=Creeper,name=x子弹] @e[type=armor_stand,name=x子弹]
/effect @e[type=Creeper,name=x子弹] minecraft:invisibility 1 255
/effect @e[type=Creeper,name=x子弹] minecraft:resistance 1 255
/entitydata @e[type=armor_stand,name=x子弹] {NoAI:1,Invisible:1,DisabledSlots:2039583,Invulnerable:1,Silent:1}
然后这条是给予yuan子弹
/give @p minecraft:spawn_egg 1 0 {ench:[{id:51,lvl:1}],Unbreakable:1,display:{Name:"x子弹",color:15756483,Lore:["由“两蛋”元勋萌萌哒花猫研发的新式x子弹"]}}
最后呢,给大家放出效果图