Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Flubberschnub/indev
green
- Loading branch information
Showing
51 changed files
with
1,103 additions
and
376 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
##blue baton | ||
scoreboard players set @s aestd.item.cmd 43 | ||
scoreboard players set @s aestd.item.slot -1 | ||
function aestd1:item/set_custom_model_data | ||
tag @s add batoncolormatch |
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,3 +1,4 @@ | ||
##match color | ||
execute unless score @s circuitcolor matches 2.. run function lc:color/batoncolor/4/blue | ||
execute if score @s circuitcolor matches 2 run function lc:color/batoncolor/4/orange | ||
execute if score @s circuitcolor matches 3 run function lc:color/batoncolor/4/green |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
##blue baton | ||
scoreboard players set @s aestd.item.cmd 53 | ||
scoreboard players set @s aestd.item.slot -1 | ||
function aestd1:item/set_custom_model_data | ||
tag @s add batoncolormatch |
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,3 +1,4 @@ | ||
##match color | ||
execute unless score @s circuitcolor matches 2.. run function lc:color/batoncolor/5/blue | ||
execute if score @s circuitcolor matches 2 run function lc:color/batoncolor/5/orange | ||
execute if score @s circuitcolor matches 3 run function lc:color/batoncolor/5/green |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
##g5 animation | ||
execute if score @s rezanimate matches 1 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:342} | ||
execute if score @s rezanimate matches 2 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:343} | ||
execute if score @s rezanimate matches 3 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:344} | ||
execute if score @s rezanimate matches 4 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:345} | ||
execute if score @s rezanimate matches 5 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:346} | ||
execute if score @s rezanimate matches 7 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:347} | ||
execute if score @s rezanimate matches 9 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:348} | ||
execute if score @s rezanimate matches 11 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:349} | ||
execute if score @s rezanimate matches 13 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:3410} | ||
execute if score @s rezanimate matches 15 run replaceitem entity @s armor.head minecraft:redstone{CustomModelData:34} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
##g5 animation | ||
execute if score @s rezanimate matches 1 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:352} | ||
execute if score @s rezanimate matches 2 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:353} | ||
execute if score @s rezanimate matches 3 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:354} | ||
execute if score @s rezanimate matches 4 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:355} | ||
execute if score @s rezanimate matches 5 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:356} | ||
execute if score @s rezanimate matches 7 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:357} | ||
execute if score @s rezanimate matches 9 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:358} | ||
execute if score @s rezanimate matches 11 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:359} | ||
execute if score @s rezanimate matches 13 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:3510} | ||
execute if score @s rezanimate matches 15 run replaceitem entity @s armor.head minecraft:diamond{CustomModelData:35} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
##786 speedometer | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1..100 run title @s actionbar {"text":"||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 101..200 run title @s actionbar {"text":"||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 201..300 run title @s actionbar {"text":"||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 301..400 run title @s actionbar {"text":"||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 401..500 run title @s actionbar {"text":"||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 501..600 run title @s actionbar {"text":"||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 601..700 run title @s actionbar {"text":"||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 701..800 run title @s actionbar {"text":"||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 801..900 run title @s actionbar {"text":"||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 901..1000 run title @s actionbar {"text":"||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1001..1100 run title @s actionbar {"text":"||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1101..1200 run title @s actionbar {"text":"||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1201..1300 run title @s actionbar {"text":"||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1301..1400 run title @s actionbar {"text":"||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1401..1500 run title @s actionbar {"text":"||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1501..1600 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1601..1700 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1701..1800 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1801..1900 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 1901..2000 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2001..2100 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2101..2200 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2201..2300 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2301..2400 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2401..2500 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2501..2600 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=ribboning] speed matches 2601..2700 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||||||","color":"#15D0B0","bold":true,"italic":false} | ||
##786 speedometer not ribboning | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1..100 run title @s actionbar {"text":"||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 101..200 run title @s actionbar {"text":"||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 201..300 run title @s actionbar {"text":"||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 301..400 run title @s actionbar {"text":"||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 401..500 run title @s actionbar {"text":"||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 501..600 run title @s actionbar {"text":"||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 601..700 run title @s actionbar {"text":"||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 701..800 run title @s actionbar {"text":"||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 801..900 run title @s actionbar {"text":"||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 901..1000 run title @s actionbar {"text":"||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1001..1100 run title @s actionbar {"text":"||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1101..1200 run title @s actionbar {"text":"||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1201..1300 run title @s actionbar {"text":"||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1301..1400 run title @s actionbar {"text":"||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1401..1500 run title @s actionbar {"text":"||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1501..1600 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1601..1700 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1701..1800 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1801..1900 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 1901..2000 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2001..2100 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2101..2200 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2201..2300 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2301..2400 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2401..2500 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2501..2600 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid,tag=!ribboning] speed matches 2601..2700 run title @s actionbar {"text":"||||||||||||||||||||||||||||||||||||||||||||||||||||||","color":"white","bold":true,"italic":false} | ||
|
||
##speed effect | ||
effect clear @s speed | ||
effect clear @s slowness | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 0..100 run effect give @s slowness 1 3 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 101..200 run effect give @s slowness 1 3 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 201..300 run effect give @s slowness 1 2 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 301..400 run effect give @s slowness 1 2 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 401..500 run effect give @s slowness 1 1 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 501..600 run effect give @s slowness 1 1 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 601..700 run effect give @s slowness 1 0 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 701..800 run effect give @s slowness 1 0 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 801..900 run effect give @s speed 1 0 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 901..1000 run effect give @s speed 1 0 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1001..1100 run effect give @s speed 1 1 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1101..1200 run effect give @s speed 1 1 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1201..1300 run effect give @s speed 1 2 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1301..1400 run effect give @s speed 1 2 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1401..1500 run effect give @s speed 1 3 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1501..1600 run effect give @s speed 1 3 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1601..1700 run effect give @s speed 1 4 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1701..1800 run effect give @s speed 1 4 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1801..1900 run effect give @s speed 1 5 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 1901..2000 run effect give @s speed 1 5 true | ||
execute if score @e[tag=cyclestand,limit=1,tag=matchedid] speed matches 2001.. run effect give @s speed 1 5 true |
Oops, something went wrong.