소스 검색

玩家有土豆时,戴着tnt

HerobrineXia 6 년 전
부모
커밋
25d34ead39
2개의 변경된 파일과 5개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      data/mini/functions/hotpm/game/pm_get.mcfunction
  2. 3 1
      data/mini/functions/hotpm/game/pm_lost.mcfunction

+ 2 - 0
data/mini/functions/hotpm/game/pm_get.mcfunction

@@ -5,3 +5,5 @@ function lib:sounds/hit2
 effect give @s glowing 1000000 0 true
 effect clear @s speed
 effect give @s speed 1000000 2 true
+
+replaceitem entity @s armor.head tnt{Enchantments:[{id:"binding_curse",lvl:1}],display:{Name:'{"text":"真•TNT","italic":false,"color":"red"}'}}

+ 3 - 1
data/mini/functions/hotpm/game/pm_lost.mcfunction

@@ -3,4 +3,6 @@ tag @s remove pm_holding
 
 effect clear @s glowing
 effect clear @s speed
-effect give @s speed 2 3 true
+effect give @s speed 2 3 true
+
+replaceitem entity @s armor.head air