You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -103,8 +103,7 @@ public static void renderMeshFlame(AbstractThrusterBlockEntity be, float partial
103
103
rotateTowardsFacing(ms, facing);
104
104
ms.translate(offsetX, offsetY, offsetZ);
105
105
106
-
107
-
floatr = random01(hash(pos.getX(), pos.getY(), pos.getZ())); //Randomness of the flame to prevent flames next to each other from looking the same
106
+
floatr = random01((pos.getY() + offsetY + pos.getZ() + offsetZ * 31) * 31 + pos.getX() + offsetX); //Randomness of the flame to prevent flames next to each other from looking the same
108
107
floatshaderTime = r + (be.getLevel().getGameTime() + partialTicks) * 0.1f;
0 commit comments