@@ -5,31 +5,31 @@ function utils:rand
5
5
6
6
scoreboard players operation rand % rand %= BrushR2 gravel_percent
7
7
8
- execute as @s at @s if score rand % rand matches 0 positioned ~ -2 ~ 0 ~ -2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
9
- execute as @s at @s if score rand % rand matches 1 positioned ~ -2 ~ 0 ~ -1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
10
- execute as @s at @s if score rand % rand matches 2 positioned ~ -2 ~ 0 ~ 0 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
11
- execute as @s at @s if score rand % rand matches 3 positioned ~ -2 ~ 0 ~ 1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
12
- execute as @s at @s if score rand % rand matches 4 positioned ~ -2 ~ 0 ~ 2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
13
- execute as @s at @s if score rand % rand matches 5 positioned ~ -1 ~ 0 ~ -2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
14
- execute as @s at @s if score rand % rand matches 6 positioned ~ -1 ~ 0 ~ -1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
15
- execute as @s at @s if score rand % rand matches 7 positioned ~ -1 ~ 0 ~ 0 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
16
- execute as @s at @s if score rand % rand matches 8 positioned ~ -1 ~ 0 ~ 1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
17
- execute as @s at @s if score rand % rand matches 9 positioned ~ -1 ~ 0 ~ 2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
18
- execute as @s at @s if score rand % rand matches 10 positioned ~ 0 ~ 0 ~ -2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
19
- execute as @s at @s if score rand % rand matches 11 positioned ~ 0 ~ 0 ~ -1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
20
- execute as @s at @s if score rand % rand matches 12 positioned ~ 0 ~ 0 ~ 0 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
21
- execute as @s at @s if score rand % rand matches 13 positioned ~ 0 ~ 0 ~ 1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
22
- execute as @s at @s if score rand % rand matches 14 positioned ~ 0 ~ 0 ~ 2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
23
- execute as @s at @s if score rand % rand matches 15 positioned ~ 1 ~ 0 ~ -2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
24
- execute as @s at @s if score rand % rand matches 16 positioned ~ 1 ~ 0 ~ -1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
25
- execute as @s at @s if score rand % rand matches 17 positioned ~ 1 ~ 0 ~ 0 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
26
- execute as @s at @s if score rand % rand matches 18 positioned ~ 1 ~ 0 ~ 1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
27
- execute as @s at @s if score rand % rand matches 19 positioned ~ 1 ~ 0 ~ 2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
28
- execute as @s at @s if score rand % rand matches 20 positioned ~ 2 ~ 0 ~ -2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
29
- execute as @s at @s if score rand % rand matches 21 positioned ~ 2 ~ 0 ~ -1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
30
- execute as @s at @s if score rand % rand matches 22 positioned ~ 2 ~ 0 ~ 0 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
31
- execute as @s at @s if score rand % rand matches 23 positioned ~ 2 ~ 0 ~ 1 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
32
- execute as @s at @s if score rand % rand matches 24 positioned ~ 2 ~ 0 ~ 2 unless entity @e [ type = armor_stand , name = placeGravel , distance = 0 ] run summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" placeGravel \" } " , Marker : 1 , Invisible : 1 , NoGravity : 1 }
8
+ execute as @s at @s if score rand % rand matches 0 positioned ~ -2 ~ 0 ~ -2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
9
+ execute as @s at @s if score rand % rand matches 1 positioned ~ -2 ~ 0 ~ -1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
10
+ execute as @s at @s if score rand % rand matches 2 positioned ~ -2 ~ 0 ~ 0 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
11
+ execute as @s at @s if score rand % rand matches 3 positioned ~ -2 ~ 0 ~ 1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
12
+ execute as @s at @s if score rand % rand matches 4 positioned ~ -2 ~ 0 ~ 2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
13
+ execute as @s at @s if score rand % rand matches 5 positioned ~ -1 ~ 0 ~ -2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
14
+ execute as @s at @s if score rand % rand matches 6 positioned ~ -1 ~ 0 ~ -1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
15
+ execute as @s at @s if score rand % rand matches 7 positioned ~ -1 ~ 0 ~ 0 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
16
+ execute as @s at @s if score rand % rand matches 8 positioned ~ -1 ~ 0 ~ 1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
17
+ execute as @s at @s if score rand % rand matches 9 positioned ~ -1 ~ 0 ~ 2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
18
+ execute as @s at @s if score rand % rand matches 10 positioned ~ 0 ~ 0 ~ -2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
19
+ execute as @s at @s if score rand % rand matches 11 positioned ~ 0 ~ 0 ~ -1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
20
+ execute as @s at @s if score rand % rand matches 12 positioned ~ 0 ~ 0 ~ 0 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
21
+ execute as @s at @s if score rand % rand matches 13 positioned ~ 0 ~ 0 ~ 1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
22
+ execute as @s at @s if score rand % rand matches 14 positioned ~ 0 ~ 0 ~ 2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
23
+ execute as @s at @s if score rand % rand matches 15 positioned ~ 1 ~ 0 ~ -2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
24
+ execute as @s at @s if score rand % rand matches 16 positioned ~ 1 ~ 0 ~ -1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
25
+ execute as @s at @s if score rand % rand matches 17 positioned ~ 1 ~ 0 ~ 0 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
26
+ execute as @s at @s if score rand % rand matches 18 positioned ~ 1 ~ 0 ~ 1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
27
+ execute as @s at @s if score rand % rand matches 19 positioned ~ 1 ~ 0 ~ 2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
28
+ execute as @s at @s if score rand % rand matches 20 positioned ~ 2 ~ 0 ~ -2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
29
+ execute as @s at @s if score rand % rand matches 21 positioned ~ 2 ~ 0 ~ -1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
30
+ execute as @s at @s if score rand % rand matches 22 positioned ~ 2 ~ 0 ~ 0 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
31
+ execute as @s at @s if score rand % rand matches 23 positioned ~ 2 ~ 0 ~ 1 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
32
+ execute as @s at @s if score rand % rand matches 24 positioned ~ 2 ~ 0 ~ 2 unless entity @e [ type = area_effect_cloud , tag = placeGravel , distance = 0 ] run summon area_effect_cloud ~ ~ ~ {Tags : [ " placeGravel " ] , Duration : 2147483647 }
33
33
34
34
35
35
scoreboard players add @s gravel_loop_c 1
0 commit comments