diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-04-25 15:21:27 +0100 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-04-25 15:21:27 +0100 |
| commit | 0f9c4e8bc7a69abd0216e0bf234ed70995090e64 (patch) | |
| tree | 60a8eedd85b7bfd8249da5a70ef618ef883f6fa5 /src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java | |
| parent | 991f104f31788a8a8e6bbeef1c6b585ce2b68701 (diff) | |
Made the displayer animation slower, made golden Beacons, Chests, Cacti and blocks in general have a glowing aura
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java')
| -rw-r--r-- | src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java | 14 |
1 files changed, 7 insertions, 7 deletions
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){ |
