Skip to content

Commit e1cafdd

Browse files
committed
Change armor_stand for area_effect_cloud
1 parent 7f111c2 commit e1cafdd

14 files changed

+408
-408
lines changed

data/raytracer/functions/brushsize/gravel/gravel_loop_r1.mcfunction

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ function utils:rand
55

66
scoreboard players operation rand% rand %= BrushR1 gravel_percent
77

8-
execute as @s at @s if score rand% rand matches 0 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}
9-
execute as @s at @s if score rand% rand matches 1 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}
10-
execute as @s at @s if score rand% rand matches 2 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}
11-
execute as @s at @s if score rand% rand matches 3 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}
12-
execute as @s at @s if score rand% rand matches 4 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}
13-
execute as @s at @s if score rand% rand matches 5 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}
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}
8+
execute as @s at @s if score rand% rand matches 0 positioned ~-1 ~0 ~-1 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 ~-1 ~0 ~0 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 ~-1 ~0 ~1 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 ~0 ~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 ~0 ~0 ~0 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 ~0 ~0 ~1 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}
1717

1818
scoreboard players add @s gravel_loop_c 1
1919
execute as @s at @s if score @s gravel_loop_c < @s gravel_loop run function raytracer:brushsize/gravel/gravel_loop_r1

data/raytracer/functions/brushsize/gravel/gravel_loop_r2.mcfunction

+25-25
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ function utils:rand
55

66
scoreboard players operation rand% rand %= BrushR2 gravel_percent
77

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}
3333

3434

3535
scoreboard players add @s gravel_loop_c 1

0 commit comments

Comments
 (0)