-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
efefcdb
commit c4d8f71
Showing
6 changed files
with
30 additions
and
0 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
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
18 changes: 18 additions & 0 deletions
18
...em.base/data/lem.base/functions/clientconfig/heart/switch/custom/mybadimbanned.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
##Give heart | ||
userconfig @s set lem.base:heartcosmetic custom_mybadimbanned | ||
|
||
##Sync with backend | ||
userconfig @s sync | ||
|
||
##Load heart | ||
#Pick randomly | ||
execute store result score @s lem.temp run random value 1..2 | ||
#Load | ||
execute if score @s lem.temp matches 1 run setSuffixFont alive "lem.base:tablist/heart/secret/mybadimbanned/rick" @s | ||
execute if score @s lem.temp matches 2 run setSuffixFont alive "lem.base:tablist/heart/secret/mybadimbanned/meals" @s | ||
|
||
##Display message | ||
tellraw @s {"translate":"lem.config.heart.menu.text.success","color":"green"} | ||
|
||
##Reset score | ||
scoreboard players reset @s heartcosmetic |
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