-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1459707
commit d935bdc
Showing
11 changed files
with
34 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
data/ssbrc/function/fighter/shadow/logic/chaos_meter/hud/calculate.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
title @s actionbar ["",{"nbt":"player.temp_data.hud.1[]","storage":"ssbrc:temp","interpret":true,"separator":""},{"text":" "},{"nbt":"player.temp_data.hud.2[]","storage":"ssbrc:temp","interpret":true,"separator":""}] | ||
title @s actionbar ["",{"nbt":"player.temp_data.hud.1[]","storage":"ssbrc:temp","interpret":true,"separator":""}," ",{"nbt":"player.temp_data.hud.2","storage":"ssbrc:temp","interpret":true,"separator":""}," ",{"nbt":"player.temp_data.hud.3[]","storage":"ssbrc:temp","interpret":true,"separator":""}] |
32 changes: 17 additions & 15 deletions
32
data/ssbrc/function/fighter/shadow/logic/speed/hud.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
execute if score @s flag.sprinting matches 5..8 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/1"}}} | ||
execute if score @s flag.sprinting matches 9..12 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/2"}}} | ||
execute if score @s flag.sprinting matches 13..16 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/3"}}} | ||
execute if score @s flag.sprinting matches 17..20 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/4"}}} | ||
execute if score @s flag.sprinting matches 21..24 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/5"}}} | ||
execute if score @s flag.sprinting matches 25..28 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/6"}}} | ||
execute if score @s flag.sprinting matches 29..32 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/7"}}} | ||
execute if score @s flag.sprinting matches 33..36 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/8"}}} | ||
execute if score @s flag.sprinting matches 37..40 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/9"}}} | ||
execute if score @s flag.sprinting matches 41..44 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/10"}}} | ||
execute if score @s flag.sprinting matches 45..48 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/11"}}} | ||
execute if score @s flag.sprinting matches 49..52 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/12"}}} | ||
execute if score @s flag.sprinting matches 53..56 run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/13"}}} | ||
execute if score @s flag.sprinting matches 57.. run return run item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/14"}}} | ||
execute if score @s flag.sprinting matches ..4 run data modify storage ssbrc:hud temp set value '{"text":"\\uf800","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 5..8 run data modify storage ssbrc:hud temp set value '{"text":"\\uf801","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 9..12 run data modify storage ssbrc:hud temp set value '{"text":"\\uf802","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 13..16 run data modify storage ssbrc:hud temp set value '{"text":"\\uf803","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 17..20 run data modify storage ssbrc:hud temp set value '{"text":"\\uf804","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 21..24 run data modify storage ssbrc:hud temp set value '{"text":"\\uf805","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 25..28 run data modify storage ssbrc:hud temp set value '{"text":"\\uf806","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 29..32 run data modify storage ssbrc:hud temp set value '{"text":"\\uf807","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 33..36 run data modify storage ssbrc:hud temp set value '{"text":"\\uf808","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 37..40 run data modify storage ssbrc:hud temp set value '{"text":"\\uf809","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 41..44 run data modify storage ssbrc:hud temp set value '{"text":"\\uf810","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 45..48 run data modify storage ssbrc:hud temp set value '{"text":"\\uf811","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 49..52 run data modify storage ssbrc:hud temp set value '{"text":"\\uf812","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 53..56 run data modify storage ssbrc:hud temp set value '{"text":"\\uf813","font":"ssbrc:speedometer"}' | ||
execute if score @s flag.sprinting matches 57.. run data modify storage ssbrc:hud temp set value '{"text":"\\uf814","font":"ssbrc:speedometer"}' | ||
|
||
item modify entity @s armor.head {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"head",camera_overlay:"ssbrc:common/sonic_the_hedgehog/speedometer/0"}}} | ||
function ssbrc:logic/player/data/temp/set_storage/get {input:"ssbrc:hud temp",output:"hud.2"} | ||
scoreboard players operation @s hud = hud_frequency const |
30 changes: 15 additions & 15 deletions
30
data/ssbrc/function/fighter/sonic/logic/speed/hud.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
execute if score @s flag.sprinting matches 4..6 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"1"} | ||
execute if score @s flag.sprinting matches 7..9 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"2"} | ||
execute if score @s flag.sprinting matches 10..12 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"3"} | ||
execute if score @s flag.sprinting matches 13..15 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"4"} | ||
execute if score @s flag.sprinting matches 16..18 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"5"} | ||
execute if score @s flag.sprinting matches 19..21 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"6"} | ||
execute if score @s flag.sprinting matches 22..24 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"7"} | ||
execute if score @s flag.sprinting matches 25..27 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"8"} | ||
execute if score @s flag.sprinting matches 28..30 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"9"} | ||
execute if score @s flag.sprinting matches 31..33 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"10"} | ||
execute if score @s flag.sprinting matches 34..36 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"11"} | ||
execute if score @s flag.sprinting matches 37..39 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"12"} | ||
execute if score @s flag.sprinting matches 40..42 run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"13"} | ||
execute if score @s flag.sprinting matches 43.. run return run function ssbrc:fighter/sonic/logic/speed/hud/set {n:"14"} | ||
execute if score @s flag.sprinting matches 4..6 run return run title @s actionbar {"text":"\uf801","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 7..9 run return run title @s actionbar {"text":"\uf802","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 10..12 run return run title @s actionbar {"text":"\uf803","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 13..15 run return run title @s actionbar {"text":"\uf804","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 16..18 run return run title @s actionbar {"text":"\uf805","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 19..21 run return run title @s actionbar {"text":"\uf806","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 22..24 run return run title @s actionbar {"text":"\uf807","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 25..27 run return run title @s actionbar {"text":"\uf808","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 28..30 run return run title @s actionbar {"text":"\uf809","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 31..33 run return run title @s actionbar {"text":"\uf810","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 34..36 run return run title @s actionbar {"text":"\uf811","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 37..39 run return run title @s actionbar {"text":"\uf812","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 40..42 run return run title @s actionbar {"text":"\uf813","font":"ssbrc:speedometer"} | ||
execute if score @s flag.sprinting matches 43.. run return run title @s actionbar {"text":"\uf814","font":"ssbrc:speedometer"} | ||
|
||
function ssbrc:fighter/sonic/logic/speed/hud/set {n:"0"} | ||
title @s actionbar {"text":"\uf800","font":"ssbrc:speedometer"} |
17 changes: 0 additions & 17 deletions
17
data/ssbrc/function/fighter/sonic/logic/speed/hud/set.mcfunction
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
data/ssbrc/function/logic/game/data/bossbar/speedometer.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters