mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Most of rod package
This commit is contained in:
1 parent
e3b22975cb
commit
55bf02798d
23 files changed
+172
-178
No files matched your search
@@ -39,7 +39,7 @@ public class RenderTileFloatingFlower extends TileEntitySpecialRenderer {
|
||||
|
||||
double worldTime = tile.getWorld() == null ? 0 : (double) (ClientTickHandler.ticksInGame + t);
|
||||
if(tile.getWorld() != null)
|
||||
worldTime += new Random(tile.getPos().toLong()).nextInt(1000);
|
||||
worldTime += new Random(tile.getPos().hashCode()).nextInt(1000);
|
||||
|
||||
GL11.glTranslatef(0.5F, 0F, 0.5F);
|
||||
GL11.glRotatef(-((float) worldTime * 0.5F), 0F, 1F, 0F);
|
||||
|
||||
Reference in new issue
Block a user