Skip to content

Commit

Permalink
v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevertus committed Jul 14, 2018
1 parent 2d2083d commit 36f671b
Show file tree
Hide file tree
Showing 58 changed files with 1,045 additions and 291 deletions.
4 changes: 4 additions & 0 deletions data/tekpack/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
#
# Generated by Minecraft Script for 1.13
######
function tekpack:mcscript/load

scoreboard objectives add tpEDisplay dummy
function tpcables:load
function tpcraft:load
function tpbattery:load
function tpsolar:load
function tpbreaker:load
function tpfurn:load
function stack:setup
2 changes: 2 additions & 0 deletions data/tekpack/functions/main.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ function tpcables:main
function tpcraft:main
function tpbattery:main
function tpsolar:main
function tpbreaker:main
function tpfurn:main
function stack:main
execute if score #t tpTimer matches 2.. run scoreboard players reset #t tpTimer

Expand Down
2 changes: 2 additions & 0 deletions data/tekpack/scripts/load.mcscript
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
/function tpcraft:load
/function tpbattery:load
/function tpsolar:load
/function tpbreaker:load
/function tpfurn:load
/function stack:setup
2 changes: 2 additions & 0 deletions data/tekpack/scripts/main.mcscript
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
/function tpcraft:main
/function tpbattery:main
/function tpsolar:main
/function tpbreaker:main
/function tpfurn:main
/function stack:main

if("score #t tpTimer matches 2.."){
Expand Down
50 changes: 25 additions & 25 deletions data/tpbattery/functions/batmain.mcfunction

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions data/tpbattery/functions/create.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@
execute align xyz run setblock ~ ~ ~ dropper[facing=up,triggered=true]
execute align xyz run data merge block ~ ~ ~ {CustomName:"{\"text\":\"Small Battery\"}"}
execute align xyz run summon armor_stand ~0.5 ~1.4 ~0.5 {Tags: [tpBattery,tpNew,tpCableConnector,tpCableNoConnectU,tpCableNoConnectD,tpHigher],Invisible:1,Marker:1,NoGravity:1}
execute if entity @s[y_rotation=-45..44.99] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectW
execute if entity @s[y_rotation=-45..44.99] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectE
execute if entity @s[y_rotation=-45..44.99] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectW
execute if entity @s[y_rotation=-45..44.99] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectE

execute if entity @s[y_rotation=45..134.99] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ 90 0
execute if entity @s[y_rotation=45..134.99] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectN
execute if entity @s[y_rotation=45..134.99] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectS
execute if entity @s[y_rotation=45..134.99] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ 90 0
execute if entity @s[y_rotation=45..134.99] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectN
execute if entity @s[y_rotation=45..134.99] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectS

execute if entity @s[y_rotation=135..-135.01] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ 180 0
execute if entity @s[y_rotation=135..-135.01] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectW
execute if entity @s[y_rotation=135..-135.01] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectE
execute if entity @s[y_rotation=135..-135.01] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ 180 0
execute if entity @s[y_rotation=135..-135.01] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectW
execute if entity @s[y_rotation=135..-135.01] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectE

execute if entity @s[y_rotation=-135..-90] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ -90 0
execute if entity @s[y_rotation=-135..-90] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectN
execute if entity @s[y_rotation=-135..-90] run execute as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectS
execute if entity @s[y_rotation=-135..-90] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tp @s ~ ~ ~ -90 0
execute if entity @s[y_rotation=-135..-90] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectN
execute if entity @s[y_rotation=-135..-90] as @e[tag=tpBattery,tag=tpNew,distance=..5,limit=1] at @s run tag @s add tpCableNoConnectS

execute as @e[tag=tpBattery,tag=tpNew] at @s run scoreboard players set @s tpBattMulti 1
execute as @e[tag=tpBattery,tag=tpNew] at @s run scoreboard players set @s tpBattMax 15
execute as @e[tag=tpBattery,tag=tpNew] at @s run tp @s ~ ~0.1 ~
execute as @e[tag=tpBattery,tag=tpNew] at @s run execute positioned ~ ~-1 ~ positioned ^ ^ ^1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery,tag=tpNew] at @s run execute positioned ~ ~-1 ~ positioned ^ ^ ^-1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery,tag=tpNew] at @s positioned ~ ~-1 ~ positioned ^ ^ ^1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery,tag=tpNew] at @s positioned ~ ~-1 ~ positioned ^ ^ ^-1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery,tag=tpNew] at @s run replaceitem entity @s armor.head minecraft:carrot_on_a_stick{Unbreakable:1b,Damage:3}
execute as @e[tag=tpBattery,tag=tpNew] at @s run tag @s remove tpNew
2 changes: 2 additions & 0 deletions data/tpbattery/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# Generated by Minecraft Script for 1.13
######
function tpbattery:mcscript/load

scoreboard objectives add tpBattMax dummy
scoreboard objectives add tpBattMulti dummy
scoreboard players set #15 tpE 15
Expand Down
17 changes: 9 additions & 8 deletions data/tpbattery/functions/main.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
#
# Generated by Minecraft Script for 1.13
######
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run tag @s remove tpCableConnector
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run execute positioned ^ ^ ^1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run execute positioned ^ ^ ^-1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run kill @e[type=item,distance=..0.8,nbt={Item:{id:"minecraft:stone_hoe",tag:{Unbreakable:1b}}}]
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:carrot_on_a_stick",Count:1,tag:{Unbreakable:1b,Damage:3,HideFlags:6,display:{Name:"{\"text\":\"§5Battery\"}"}}}}
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run execute if entity @p[distance=..4] run execute if block ~ ~ ~ air run kill @s
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air run tag @s remove tpCableConnector
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air positioned ^ ^ ^1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air positioned ^ ^ ^-1 as @e[tag=tpCable,distance=..0.8] at @s run function tpcables:update
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air run kill @e[type=item,distance=..0.8,nbt={Item:{id:"minecraft:stone_hoe",tag:{Unbreakable:1b}}}]
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air run kill @e[type=item,distance=..0.8,nbt={Item:{id:"minecraft:dropper"}}]
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air run summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:carrot_on_a_stick",Count:1,tag:{Unbreakable:1b,Damage:3,HideFlags:6,display:{Name:"{\"text\":\"§5Battery\"}"}}}}
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ if entity @p[distance=..4] if block ~ ~ ~ air run kill @s
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run function tpbattery:powered
execute as @e[tag=tpBattery] at @s positioned ~ ~-1 ~ run function tpbattery:batmain
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s run tag @s add tpRayFail
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s run function tpbattery:place
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s run execute if entity @s[tag=!tpRayFail] run tag @s add tpRaySuccess
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s run execute if entity @s[tag=tpRayFail] run tag @s remove tpRayFail
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s if entity @s[tag=!tpRayFail] run tag @s add tpRaySuccess
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s if entity @s[tag=tpRayFail] run tag @s remove tpRayFail
execute as @a[scores={tpClick=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Unbreakable:1b,HideFlags:6,Damage:3}}}] at @s run scoreboard players reset @s tpClick
execute as @a[tag=tpRaySuccess] run replaceitem entity @s weapon.mainhand air
execute as @a[tag=tpRaySuccess] run tag @s remove tpRaySuccess
Expand Down
2 changes: 1 addition & 1 deletion data/tpbattery/functions/powered.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Generated by Minecraft Script for 1.13
######
execute if entity @s[tag=tpFirstPower] run function tpbattery:items
execute if entity @s[tag=tpFirstPower] run execute positioned ~ ~0.4 ~ run kill @e[type=item,nbt={Item:{id:"minecraft:stone_hoe",tag:{Unbreakable:1b}}}]
execute if entity @s[tag=tpFirstPower] positioned ~ ~0.4 ~ run kill @e[type=item,nbt={Item:{id:"minecraft:stone_hoe",tag:{Unbreakable:1b}}}]

tag @s[tag=!tpPowered] add tpFirstPower
tag @s remove tpPowered
Expand Down
2 changes: 2 additions & 0 deletions data/tpbattery/scripts/main.mcscript
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ asat(@e[tag=tpBattery]),positioned('~ ~-1 ~'){
/function tpcables:update
}
/kill @e[type=item,distance=..0.8,nbt={Item:{id:"minecraft:stone_hoe",tag:{Unbreakable:1b}}}]
/kill @e[type=item,distance=..0.8,nbt={Item:{id:"minecraft:dropper"}}]
/summon minecraft:item ~ ~0.5 ~ {Item:{id:"minecraft:carrot_on_a_stick",Count:1,tag:{Unbreakable:1b,Damage:3,HideFlags:6,display:{Name:"{\"text\":\"§5Battery\"}"}}}}

/kill @s
}
}
Expand Down
40 changes: 40 additions & 0 deletions data/tpbreaker/functions/breakmain.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#######
# Compiled from /tpbreaker/functions/breakmain.mcscript
# to .//tpbreaker/functions/breakmain.mcfunction
#
# Generated by Minecraft Script for 1.13
######
execute if score #t tpTimer matches 2.. run tag @s[tag=tpFirstPower] remove tpFirstPower
execute if score #t tpTimer matches 2.. if score @e[tag=tpCable,distance=..1.1,limit=1] tpE matches 1.. if score @s tpE matches ..14 run tag @s add tpBreakAdd

execute if entity @s[tag=tpBreakAdd] run scoreboard players add @s tpE 1
execute if entity @s[tag=tpBreakAdd] run particle minecraft:dust 0.2 1 0.2 0.8 ~ ~ ~ 0 0.1 0 10 10
execute if entity @s[tag=tpBreakAdd] run scoreboard players reset @e[tag=tpCable,distance=..1.1,limit=1,scores={tpE=1}] tpE
execute if entity @s[tag=tpBreakAdd] run scoreboard players remove @e[tag=tpCable,distance=..1.1,limit=1,scores={tpE=2..}] tpE 1
execute if entity @s[tag=tpBreakAdd] run tag @s remove tpBreakAdd

execute positioned ^ ^ ^1 if entity @s[tag=!tpPowered] if score @s tpTimer matches 100.. if score @s tpE matches 5.. unless block ~ ~ ~ #tpbreaker:undestroy run tag @s add tpBreakRemove
execute positioned ^ ^ ^1 if entity @s[tag=!tpPowered] if score @s tpTimer matches 100.. if score @s tpE matches 5.. if block ~ ~ ~ minecraft:wheat[age=7] run tag @s add tpBreakRemove
execute positioned ^ ^ ^1 if entity @s[tag=!tpPowered] if score @s tpTimer matches 100.. if score @s tpE matches 5.. if block ~ ~ ~ minecraft:carrots[age=7] run tag @s add tpBreakRemove
execute positioned ^ ^ ^1 if entity @s[tag=!tpPowered] if score @s tpTimer matches 100.. if score @s tpE matches 5.. if block ~ ~ ~ minecraft:potatoes[age=7] run tag @s add tpBreakRemove
execute positioned ^ ^ ^1 if entity @s[tag=!tpPowered] if score @s tpTimer matches 100.. if score @s tpE matches 5.. if block ~ ~ ~ minecraft:beetroots[age=3] run tag @s add tpBreakRemove
execute if entity @s[tag=tpBreakRemove] run setblock ^ ^ ^1 air destroy
execute if entity @s[tag=tpBreakRemove] run scoreboard players remove @s tpE 5
execute if entity @s[tag=tpBreakRemove] run tag @s remove tpBreakRemove

execute if entity @a[distance=..2] if score @s tpE matches 0 run title @a[distance=..2] actionbar ["",{"text":"","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 1 run title @a[distance=..2] actionbar ["",{"text":"","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 2 run title @a[distance=..2] actionbar ["",{"text":"▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 3 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 4 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 5 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 6 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 7 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 8 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 9 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 10 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 11 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 12 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 13 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌▌▌","color":"green"},{"text":"▌▌ ","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 14 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌▌▌▌","color":"green"},{"text":"","color":"gray"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
execute if entity @a[distance=..2] if score @s tpE matches 15 run title @a[distance=..2] actionbar ["",{"text":"▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌ ","color":"green"},{"text":"(","color":"gray"},{"score":{"name":"@s","objective":"tpE"},"color":"gray"},{"text":" of 15","color":"gray"},{"text":")","color":"gray"}]
Loading

0 comments on commit 36f671b

Please sign in to comment.