mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Polished item rendering for all items, fixed particles, fixed cull face not being disabled
This commit is contained in:
1 parent
736c3695c7
commit
1141de024c
32 files changed
+105
-38
No files matched your search
@@ -156,12 +156,7 @@ public class RenderTickHandler
|
||||
continue;
|
||||
}
|
||||
|
||||
Pos3D playerPos = new Pos3D(p);
|
||||
|
||||
if(p != mc.thePlayer)
|
||||
{
|
||||
playerPos = playerPos.translate(0, 1.7, 0);
|
||||
}
|
||||
Pos3D playerPos = new Pos3D(p).translate(0, 1.7, 0);
|
||||
|
||||
float xRand = (rand.nextFloat() - 0.5F) * 0.08F;
|
||||
float yRand = (rand.nextFloat() - 0.5F) * 0.05F;
|
||||
@@ -243,7 +238,7 @@ public class RenderTickHandler
|
||||
{
|
||||
fx = new EntityJetpackSmokeFX(world, x, y, z, velX, velY, velZ);
|
||||
}
|
||||
else if(s.equals("bubble"))
|
||||
else if(s.equals(EnumParticleTypes.WATER_BUBBLE))
|
||||
{
|
||||
fx = new EntityScubaBubbleFX(world, x, y, z, velX, velY, velZ);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user