소스 검색

Merge branch 'master' of github.com:LTCatt/LTW3

HerobrineXia 6 년 전
부모
커밋
da91c85ee0
2개의 변경된 파일과 9개의 추가작업 그리고 9개의 파일을 삭제
  1. 8 8
      data/ltw/functions/state/6/generate_bonus.mcfunction
  2. 1 1
      data/ltw/functions/state/7/player_enter.mcfunction

+ 8 - 8
data/ltw/functions/state/6/generate_bonus.mcfunction

@@ -3,14 +3,14 @@ kill @e[type=item]
 
 execute store result score $t_bonus_count mem if entity @a[tag=!watcher]
 # scoreboard players add $t_bonus_count mem 1
-execute if score $t_bonus_count mem matches 1.. positioned 17.50 10.50 1967.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 2.. positioned 19.50 10.50 1962.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 3.. positioned 24.50 10.50 1960.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 4.. positioned 29.50 10.50 1962.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 5.. positioned 31.50 10.50 1967.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 6.. positioned 29.50 10.50 1972.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 7.. positioned 24.50 10.50 1974.50 run function item:bonus_item/rank/random
-execute if score $t_bonus_count mem matches 8.. positioned 19.50 10.50 1972.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 1.. positioned 17.50 10.30 1967.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 2.. positioned 19.50 10.30 1962.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 3.. positioned 24.50 10.30 1960.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 4.. positioned 29.50 10.30 1962.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 5.. positioned 31.50 10.30 1967.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 6.. positioned 29.50 10.30 1972.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 7.. positioned 24.50 10.30 1974.50 run function item:bonus_item/rank/random
+execute if score $t_bonus_count mem matches 8.. positioned 19.50 10.30 1972.50 run function item:bonus_item/rank/random
 
 # 生成拾取窗口
 #execute as @e[type=item] at @s run fill ~-0.2 ~ ~-0.2 ~0.2 ~ ~0.2 air

+ 1 - 1
data/ltw/functions/state/7/player_enter.mcfunction

@@ -6,7 +6,7 @@ title @s actionbar ""
 effect clear @s
 effect give @s saturation 1000000 0 true
 gamerule naturalRegeneration true
-effect give @s night_vision 1000000 0 true
+#effect give @s night_vision 1000000 0 true
 effect give @s resistance 1000000 4 true
 
 # 传送玩家