-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3.1.0
- Loading branch information
Showing
7 changed files
with
22 additions
and
3 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,2 @@ | ||
execute as @a[scores={bossbarclock.clockStatus=1}] at @s run function bossbarclock:clock/alarm/player | ||
execute if score #bossbarclock$alarm_method Config matches 3 as @e[type=#minecraft:item_frame,nbt={Item:{id:"minecraft:clock"}},predicate=minecraft:dimension-overworld] at @s run playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 0.4 0 1.0 |
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,6 @@ | ||
tag @s add bossbarclock._tag.ThisEntity | ||
|
||
execute if score #bossbarclock$alarm_method Config matches 1.. run playsound minecraft:entity.player.levelup ambient @s ~ ~ ~ 6.0 0 1.0 | ||
execute if score #bossbarclock$alarm_method Config matches 2.. if predicate bossbarclock:hold-clock run playsound minecraft:entity.player.levelup ambient @a[tag=!bossbarclock._tag.ThisEntity] ~ ~ ~ 0.4 0 1.0 | ||
|
||
tag @s remove bossbarclock._tag.ThisEntity |
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,6 +1,6 @@ | ||
execute as @a at @s run function bossbarclock:clock/player/main | ||
|
||
execute if entity @a[scores={bossbarclock.clockStatus=1}] run function bossbarclock:clock/refresh | ||
function bossbarclock:clock/refresh | ||
|
||
bossbar set bossbarclock:clock players @a[scores={bossbarclock.clockStatus=1}] | ||
bossbar set bossbarclock:orderless_clock players @a[scores={bossbarclock.clockStatus=2}] |
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
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,4 +1,4 @@ | ||
scoreboard players set #bossbarclock$version.x Meta 3 | ||
scoreboard players set #bossbarclock$version.y Meta 0 | ||
scoreboard players set #bossbarclock$version.y Meta 1 | ||
scoreboard players set #bossbarclock$version.z Meta 0 | ||
data modify storage meta:bossbarclock version.t set value '' |