Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.11
Platforms
Tags
Creators
Details
Licensed MIT
Published 17 hours ago
Updated 2 days ago
This is a datapack made for the Life Series mod by Mat0u5 that runs the /envcolor colour commands automatically dependant on the player with the most amount of lives left (online or offline).
It adds the following functions (aside from load and tick):
- /function skylife:dark_green
- /function skylife:green
- /function skylife:yellow
- /function skylife:red
- /function skylife:gray
This datapack is NOT made for Limited Life or Nice Life, and is made for the following life structure:
- 0 Lives = Gray
- 1 Life = Red
- 2 Lives = Yellow
- 3 Lives = Green
- 4+ Lives = Dark Green
It uses the Lives score and will check the scores of offline players (so it doesn't change when someone is relogging), so make sure there is no Lives score from a player that is not playing.
When changing to Green, Yellow or Red sky it will announce it using /title and a thunder sound effect, it does NOT do this for the gray sky when the final person dies, or for the dark green sky.


