Files
TCT-Datapack/data/tctvote/functions/decrease.mcfunction
Abel Hoogeveen 02ca44bb99 - Added bossbar to vote
- Changed vote to require eligibility score instead of tag
- Performance optimizations
- Sounds now play from an armor stand summoned at the vote button
- Anonymous function works properly now
2021-03-04 21:47:52 +01:00

3 lines
319 B
MCFunction

scoreboard players remove @e[tag=mt_votestand] mt_countdown 1
execute store result bossbar minecraft:votetimer value run scoreboard players get @e[tag=mt_votestand,limit=1] mt_countdown
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.hat master @a ~ ~ ~ 100 1