Last active
October 20, 2019 11:46
-
-
Save Zeitheron/d3da4b5f8891c90106c0dc6535357259 to your computer and use it in GitHub Desktop.
Glowing entities! This example file lights up blazes and magma slimes with their respective colors.
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
{ | |
"minecraft:magma_cube": [ | |
{ | |
"color": { | |
"red": "rng(0.6) + 0.4", | |
"green": "rng(0.1) + 0.3", | |
"blue": "0", | |
"alpha": "1" | |
}, | |
"radius": "4 + 3 * flicker(5000)" | |
} | |
], | |
"minecraft:blaze": [ | |
{ | |
"color": { | |
"red": "rng(0.2) + 0.8", | |
"green": "rng(0.3) + 0.6", | |
"blue": "0", | |
"alpha": "1" | |
}, | |
"radius": "6 + 4 * flicker(2000)" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please take in consideration the fact that this is very CPU intensive algorithm and thus it's a "little bit" laggy. Use with care.