- 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
This commit is contained in:
2
data/tctvote/functions/notes/down_0.mcfunction
Normal file
2
data/tctvote/functions/notes/down_0.mcfunction
Normal file
@@ -0,0 +1,2 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 1.6
|
||||
schedule function tctvote:notes/down_1 5t
|
||||
2
data/tctvote/functions/notes/down_1.mcfunction
Normal file
2
data/tctvote/functions/notes/down_1.mcfunction
Normal file
@@ -0,0 +1,2 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 1.2
|
||||
schedule function tctvote:notes/down_2 5t
|
||||
2
data/tctvote/functions/notes/down_2.mcfunction
Normal file
2
data/tctvote/functions/notes/down_2.mcfunction
Normal file
@@ -0,0 +1,2 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 0.8
|
||||
kill @e[type=minecraft:armor_stand,tag=mt_votestand]
|
||||
2
data/tctvote/functions/notes/up_0.mcfunction
Normal file
2
data/tctvote/functions/notes/up_0.mcfunction
Normal file
@@ -0,0 +1,2 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 0.8
|
||||
schedule function tctvote:notes/up_1 5t
|
||||
2
data/tctvote/functions/notes/up_1.mcfunction
Normal file
2
data/tctvote/functions/notes/up_1.mcfunction
Normal file
@@ -0,0 +1,2 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 1.0
|
||||
schedule function tctvote:notes/up_2 5t
|
||||
1
data/tctvote/functions/notes/up_2.mcfunction
Normal file
1
data/tctvote/functions/notes/up_2.mcfunction
Normal file
@@ -0,0 +1 @@
|
||||
execute at @e[type=minecraft:armor_stand,tag=mt_votestand,limit=1] run playsound minecraft:block.note_block.pling master @a ~ ~ ~ 100 1.6
|
||||
Reference in New Issue
Block a user