HerobrineXia 4 роки тому
батько
коміт
e25bbaf26a

+ 2 - 2
data/item/functions/pop_slot/pop_all.mcfunction

@@ -81,5 +81,5 @@ execute at @s positioned ~ ~ ~ run function item:pop_slot/pop_item
 scoreboard players set @s item_slot -106
 execute at @s positioned ~ ~ ~ run function item:pop_slot/pop_item
 give @s dead_bush 2304
-item replace entity @s weapon.offhand dead_bush 64
-item replace entity @s armor.head dead_bush 64
+item replace entity @s weapon.offhand with dead_bush 64
+item replace entity @s armor.head with dead_bush 64

+ 6 - 6
data/item/functions/shop/refresh_equip.mcfunction

@@ -28,9 +28,9 @@ give @s[scores={shop_arrow=3}] tipped_arrow{Potion:"minecraft:slowness"} 2
 clear @s crossbow
 give @s[scores={shop_firework=1}] minecraft:crossbow{display:{Name:'{"text":"烟花弩","italic":false,"color":"gray"}',Lore:['{"text":"发射一个漂亮的烟花!","italic":false,"color":"gray"}']},Damage:326,Charged:1b,ChargedProjectiles:[{id:"firework_rocket",Count:1b,tag:{Fireworks:{Flight:1b,Explosions:[{Type:0b,Colors:[I;11743532,15435844,14602026,4312372,6719955,2437522,8073150]}]}}}]} 1
 
-item replace entity @s armor.chest air
-item replace entity @s[scores={shop_armor=3..}] armor.chest golden_chestplate{display:{Name:'{"text":"金胸甲","italic":false,"color":"gray"}'}}
-item replace entity @s armor.legs air
-item replace entity @s[scores={shop_armor=2}] armor.legs golden_leggings{display:{Name:'{"text":"金护腿","italic":false,"color":"gray"}'}}
-item replace entity @s armor.feet air
-item replace entity @s[scores={shop_armor=1}] armor.feet golden_boots{display:{Name:'{"text":"金靴子","italic":false,"color":"gray"}'}}
+item replace entity @s armor.chest with air
+item replace entity @s[scores={shop_armor=3..}] armor.chest with golden_chestplate{display:{Name:'{"text":"金胸甲","italic":false,"color":"gray"}'}}
+item replace entity @s armor.legs with air
+item replace entity @s[scores={shop_armor=2}] armor.legs with golden_leggings{display:{Name:'{"text":"金护腿","italic":false,"color":"gray"}'}}
+item replace entity @s armor.feet with air
+item replace entity @s[scores={shop_armor=1}] armor.feet with golden_boots{display:{Name:'{"text":"金靴子","italic":false,"color":"gray"}'}}

+ 2 - 2
data/ltw/functions/state/0/parkour/tempo_block/marker_spawn.mcfunction

@@ -35,5 +35,5 @@ execute positioned 14 50 -30 run summon armor_stand ~ ~-0.4 ~ {Marker:1b,Invisib
 execute positioned 21 49 -34 run summon armor_stand ~ ~-0.4 ~ {Marker:1b,Invisible:1b,Invulnerable:1b,Small:1b,NoGravity:1b,Tags:["lobby_tempo","tempo_blue_r"]}
 
 # 显示as
-item replace entity @e[type=armor_stand,tag=tempo_red_t,tag=lobby_tempo] armor.head red_stained_glass
-item replace entity @e[type=armor_stand,tag=tempo_blue_t,tag=lobby_tempo] armor.head blue_stained_glass
+item replace entity @e[type=armor_stand,tag=tempo_red_t,tag=lobby_tempo] armor.head with red_stained_glass
+item replace entity @e[type=armor_stand,tag=tempo_blue_t,tag=lobby_tempo] armor.head with blue_stained_glass

+ 1 - 1
data/mini/functions/ass/game/give_creeper.mcfunction

@@ -4,4 +4,4 @@ clear @s creeper_spawn_egg{game_item:1b}
 execute if data entity @s Inventory[{Slot:-106b}] run scoreboard players set @s item_slot -106
 execute if data entity @s Inventory[{Slot:-106b}] at @s run function item:pop_slot/return_item
 
-item replace entity @s weapon.offhand creeper_spawn_egg{game_item:1b,display:{Name:'{"text":"苦力怕刷怪蛋","italic":false}'},EntityTag:{CustomName:'',ignited:1b,Fuse:34s,AbsorptionAmount:1000},CanPlaceOn:["#mini:creeper_block"],HideFlags:16} 1
+item replace entity @s weapon.offhand with creeper_spawn_egg{game_item:1b,display:{Name:'{"text":"苦力怕刷怪蛋","italic":false}'},EntityTag:{CustomName:'',ignited:1b,Fuse:34s,AbsorptionAmount:1000},CanPlaceOn:["#mini:creeper_block"],HideFlags:16} 1