1
- summon armor_stand ~ ~ ~ {CustomName : " { \" text \" : \" sphereGen \" } " , Tags : [ X+ ] , Marker : 1 , NoGravity : 1 , Invisible : 1 }
1
+ summon area_effect_cloud ~ ~ ~ {Tags : [ " sphereGen " , " X+ " ] , Duration : 2147483647 }
2
+ summon area_effect_cloud ~ ~ ~ {Tags : [ " debugChunk " ] , Duration : 2147483647 }
2
3
3
-
4
- scoreboard players operation @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] Rad = @s hsphere
4
+ scoreboard players operation @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] Rad = @s hsphere
5
5
6
6
bossbar set minecraft:percentbar visible true
7
7
8
8
9
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
10
- execute as @e [ type = armor_stand , name = sphereGen ] at @s run function circle:dist_tp/dist_tp_xm
11
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
12
- execute as @e [ type = armor_stand , name = sphereGen ] at @s run function circle:dist_tp/dist_tp_ym
13
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
14
- execute as @e [ type = armor_stand , name = sphereGen ] at @s run function circle:dist_tp/dist_tp_zm
9
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
10
+ execute as @e [ type = area_effect_cloud , tag = sphereGen ] at @s run function circle:dist_tp/dist_tp_xm
11
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
12
+ execute as @e [ type = area_effect_cloud , tag = sphereGen ] at @s run function circle:dist_tp/dist_tp_ym
13
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s tempRad = @s Rad
14
+ execute as @e [ type = area_effect_cloud , tag = sphereGen ] at @s run function circle:dist_tp/dist_tp_zm
15
15
16
16
17
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s Radsqr = @s Rad
18
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s Radsqr *= @s Rad
17
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s Radsqr = @s Rad
18
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s Radsqr *= @s Rad
19
19
20
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos1 -= @s Rad
21
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos2 -= @s Rad
22
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos3 -= @s Rad
20
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos1 -= @s Rad
21
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos2 -= @s Rad
22
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s circlePos3 -= @s Rad
23
23
24
24
25
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereTemp percent_vtp = @s Rad
26
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereTemp percent_vtp += @s Rad
27
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players add sphereTemp percent_vtp 1
28
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp = sphereTemp percent_vtp
29
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp *= sphereTemp percent_vtp
30
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp *= sphereTemp percent_vtp
25
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereTemp percent_vtp = @s Rad
26
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereTemp percent_vtp += @s Rad
27
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players add sphereTemp percent_vtp 1
28
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp = sphereTemp percent_vtp
29
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp *= sphereTemp percent_vtp
30
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation sphereOpI percent_vtp *= sphereTemp percent_vtp
31
31
32
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players set @s HsphereRad 0
33
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s HsphereRad -= @s Rad
34
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s HsphereRad -= @s Rad
32
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players set @s HsphereRad 0
33
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s HsphereRad -= @s Rad
34
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run scoreboard players operation @s HsphereRad -= @s Rad
35
35
36
36
37
37
38
38
39
- execute as @e [ type = armor_stand , name = sphereGen , sort = nearest , limit = 1 ] run function circle:hsphere_gen/gen
39
+ execute as @e [ type = area_effect_cloud , tag = sphereGen , sort = nearest , limit = 1 ] run function circle:hsphere_gen/gen
40
40
41
41
42
42
tellraw @a [ " " , {" text " : " Completed " , " color " : " gold " }]
@@ -52,7 +52,7 @@ scoreboard players set sphereOpI percent_vtp 0
52
52
scoreboard players set temp percent_vtp 0
53
53
scoreboard players set percentDisk percent_vtp 0
54
54
55
- kill @e [ type = armor_stand , name = sphereGen ]
56
- kill @e [ type = armor_stand , name = debugChunk ]
55
+ kill @e [ type = area_effect_cloud , tag = sphereGen ]
56
+ kill @e [ type = area_effect_cloud , tag = debugChunk ]
57
57
58
58
execute as @s at @s run function circle:tp_up/tp_hsphere
0 commit comments