|
@@ -1,79 +1,2 @@
|
|
|
-# TODO 将场地设为固定位置
|
|
|
|
|
-# TODO 解决奇怪的极端生成情况
|
|
|
|
|
-# 随机生成地板
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_1",integrity:1.0f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_2",integrity:0.5f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_3",integrity:0.3333333333333333f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_4",integrity:0.25f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_5",integrity:0.2f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_6",integrity:0.16666666666666666f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_7",integrity:0.14285714285714285f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_8",integrity:0.125f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_9",integrity:0.1111111111111111f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_10",integrity:0.1f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_11",integrity:0.09090909090909091f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_12",integrity:0.08333333333333333f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_13",integrity:0.07692307692307693f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_14",integrity:0.07142857142857142f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_15",integrity:0.06666666666666667f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_16",integrity:0.0625f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_17",integrity:0.058823529411764705f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_18",integrity:0.05555555555555555f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_19",integrity:0.05263157894736842f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_20",integrity:0.05f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_21",integrity:0.047619047619047616f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_22",integrity:0.045454545454545456f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_23",integrity:0.043478260869565216f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_24",integrity:0.041666666666666664f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_25",integrity:0.04f}
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:redstone_block
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~-1 ~ ~ minecraft:air
|
|
|
|
|
-execute at @e[tag=color_match_floor] run setblock ~ ~ ~ minecraft:air
|
|
|
|
|
|
|
+scoreboard players set $floor_generate_part mem 0
|
|
|
|
|
+function mini:colormatch/generate_parts
|