Przeglądaj źródła

测试物品方法

LTCatt 6 lat temu
rodzic
commit
3d65949d60
2 zmienionych plików z 14 dodań i 0 usunięć
  1. 0 0
      data/item/test_check.mcfunction
  2. 14 0
      data/item/test_summon.mcfunction

+ 0 - 0
data/item/test_check.mcfunction


+ 14 - 0
data/item/test_summon.mcfunction

@@ -0,0 +1,14 @@
+kill @e[type=item]
+
+summon item 9.0 12.5 2012.5 {Item:{id:"ender_pearl",Count:1},CustomName:'{"text":"末影珍珠","color":"aqua"}',Tags:["team_blue","bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 5.0 12.5 2012.5 {Item:{id:"iron_leggings",Count:1},CustomName:'"铁护腿"',Tags:["bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 1.5 12.5 2009.0 {Item:{id:"iron_chestplate",Count:1},CustomName:'"铁胸甲"',Tags:["bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 1.5 12.5 2005.0 {Item:{id:"nether_star",Count:1},CustomName:'{"text":"得分 +1","color":"light_purple"}',Tags:["team_purple","bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 5.0 12.5 2001.5 {Item:{id:"iron_helmet",Count:1},CustomName:'"铁头盔"',Tags:["bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 9.0 12.5 2001.5 {Item:{id:"fishing_rod",Count:1},CustomName:'{"text":"破损的钓鱼竿","color":"green"}',Tags:["team_green","bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 12.5 12.5 2005.0 {Item:{id:"stone_axe",Count:1},CustomName:'"石斧"',Tags:["bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+summon item 12.5 12.5 2009.0 {Item:{id:"potion",Count:1,tag:{Potion:"night_vision"}},CustomName:'{"text":"漂浮药水 0:05","color":"green"}',Tags:["team_green","bonus_item"],Age:-32768,PickupDelay:32767,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1}
+
+team join green @e[tag=team_green]
+team join blue @e[tag=team_blue]
+team join purple @e[tag=team_purple]