mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Merge 1.14
This commit is contained in:
commit
f91dd3873f
110 files changed
+1981
-1939
No files matched your search
@@ -57,7 +57,8 @@ public class RenderTilePool extends TileEntityRenderer<TilePool> {
|
||||
if (fab) {
|
||||
float time = ClientTickHandler.ticksInGame + ClientTickHandler.partialTicks;
|
||||
time += new Random(pool.getPos().getX() ^ pool.getPos().getY() ^ pool.getPos().getZ()).nextInt(100000);
|
||||
int color = MathHelper.hsvToRGB(time * 0.005F, 0.6F, 1F);
|
||||
time *= 0.005F;
|
||||
int color = vazkii.botania.common.core.helper.MathHelper.multiplyColor(MathHelper.hsvToRGB(time - (int) time, 0.6F, 1F), pool.color.colorValue);
|
||||
|
||||
int red = (color & 0xFF0000) >> 16;
|
||||
int green = (color & 0xFF00) >> 8;
|
||||
|
||||
Reference in new issue
Block a user