이전퀴즈 데이터팩
This commit is contained in:
60
music_quiz/data/mq/function/repeat/map/tree.mcfunction
Normal file
60
music_quiz/data/mq/function/repeat/map/tree.mcfunction
Normal file
@@ -0,0 +1,60 @@
|
||||
execute unless score tree map matches 0.. run scoreboard players set tree map 1
|
||||
|
||||
execute if score tree map matches 1.. run scoreboard players add tree map 1
|
||||
|
||||
# 1층 시작
|
||||
execute if score tree map matches 6 run setblock 142 66 -186 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 6 run setblock 147 66 -191 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 6 run setblock 142 66 -196 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 6 run setblock 137 66 -191 minecraft:redstone_lamp[lit=true]
|
||||
|
||||
# 1층 끝
|
||||
execute if score tree map matches 16 run setblock 142 66 -186 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 16 run setblock 147 66 -191 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 16 run setblock 142 66 -196 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 16 run setblock 137 66 -191 minecraft:redstone_lamp[lit=false]
|
||||
|
||||
# 2층 시작
|
||||
execute if score tree map matches 16 run setblock 142 70 -195 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 16 run setblock 138 70 -191 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 16 run setblock 142 70 -187 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 16 run setblock 146 70 -191 minecraft:redstone_lamp[lit=true]
|
||||
|
||||
# 2층 끝
|
||||
execute if score tree map matches 26 run setblock 142 70 -195 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 26 run setblock 138 70 -191 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 26 run setblock 142 70 -187 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 26 run setblock 146 70 -191 minecraft:redstone_lamp[lit=false]
|
||||
|
||||
# 3층 시작
|
||||
execute if score tree map matches 26 run setblock 142 74 -194 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 26 run setblock 139 74 -191 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 26 run setblock 142 74 -188 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 26 run setblock 145 74 -191 minecraft:redstone_lamp[lit=true]
|
||||
|
||||
# 3층 끝
|
||||
execute if score tree map matches 36 run setblock 142 74 -194 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 36 run setblock 139 74 -191 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 36 run setblock 142 74 -188 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 36 run setblock 145 74 -191 minecraft:redstone_lamp[lit=false]
|
||||
|
||||
# 4층 시작
|
||||
execute if score tree map matches 36 run setblock 142 78 -193 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 36 run setblock 140 78 -191 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 36 run setblock 142 78 -189 minecraft:redstone_lamp[lit=true]
|
||||
execute if score tree map matches 36 run setblock 144 78 -191 minecraft:redstone_lamp[lit=true]
|
||||
|
||||
# 4층 끝
|
||||
execute if score tree map matches 46 run setblock 142 78 -193 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 46 run setblock 140 78 -191 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 46 run setblock 142 78 -189 minecraft:redstone_lamp[lit=false]
|
||||
execute if score tree map matches 46 run setblock 144 78 -191 minecraft:redstone_lamp[lit=false]
|
||||
|
||||
# TOP 시작
|
||||
execute if score tree map matches 46 run setblock 142 81 -191 minecraft:redstone_lamp[lit=true]
|
||||
|
||||
# TOP 끝
|
||||
execute if score tree map matches 56 run setblock 142 81 -191 minecraft:redstone_lamp[lit=false]
|
||||
|
||||
|
||||
execute if score tree map matches 61.. run scoreboard players set tree map 1
|
||||
Reference in New Issue
Block a user