From 0f9c4e8bc7a69abd0216e0bf234ed70995090e64 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Sat, 25 Apr 2015 15:21:27 +0100 Subject: Made the displayer animation slower, made golden Beacons, Chests, Cacti and blocks in general have a glowing aura --- .../jewelrycraft/tileentity/TileEntityDisplayer.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java') diff --git a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java index 047f254..e8bdb9d 100644 --- a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java +++ b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java @@ -90,17 +90,17 @@ public class TileEntityDisplayer extends TileEntity } if (ringTranslation1 >= 0.6) isDescending1 = true; if (ringTranslation1 <= 0) isDescending1 = false; - if (!isDescending1) ringTranslation1 += 0.05; - if (isDescending1) ringTranslation1 -= 0.05; + if (!isDescending1) ringTranslation1 += 0.03; + if (isDescending1) ringTranslation1 -= 0.03; if (ringTranslation2 >= 0.6) isDescending2 = true; if (ringTranslation2 <= 0) isDescending2 = false; - if (!isDescending2) ringTranslation2 += 0.04; - if (isDescending2) ringTranslation2 -= 0.04; + if (!isDescending2) ringTranslation2 += 0.02; + if (isDescending2) ringTranslation2 -= 0.02; if (ringTranslation3 >= 0.6) isDescending3 = true; if (ringTranslation3 <= 0) isDescending3 = false; - if (!isDescending3) ringTranslation3 += 0.03; - if (isDescending3) ringTranslation3 -= 0.03; - if (rotAngle < 360F) rotAngle += 6F; + if (!isDescending3) ringTranslation3 += 0.01; + if (isDescending3) ringTranslation3 -= 0.01; + if (rotAngle < 360F) rotAngle += 3F; if (rotAngle >= 360F) rotAngle = 0F; timer++; if (timer >= 20){ -- cgit v1.2.3