Replaces all method parameter regarding their naming conventions
This commit is contained in:
@@ -33,9 +33,9 @@ public final class EntityFloatingItem extends EntityItem
|
||||
int superDeath = 0;
|
||||
float progress = 0;
|
||||
|
||||
public EntityFloatingItem( Entity parent, World p_i1710_1_, double p_i1710_2_, double p_i1710_4_, double p_i1710_6_, ItemStack p_i1710_8_ )
|
||||
public EntityFloatingItem( Entity parent, World world, double x, double y, double z, ItemStack stack )
|
||||
{
|
||||
super( p_i1710_1_, p_i1710_2_, p_i1710_4_, p_i1710_6_, p_i1710_8_ );
|
||||
super( world, x, y, z, stack );
|
||||
this.motionX = this.motionY = this.motionZ = 0.0d;
|
||||
this.hoverStart = 0.5f;
|
||||
this.rotationYaw = 0;
|
||||
|
||||
@@ -46,11 +46,11 @@ public class RenderFloatingItem extends RenderItem
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doRender( EntityItem p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_ )
|
||||
public void doRender( EntityItem entityItem, double x, double y, double z, float yaw, float partialTick )
|
||||
{
|
||||
if( p_76986_1_ instanceof EntityFloatingItem )
|
||||
if( entityItem instanceof EntityFloatingItem )
|
||||
{
|
||||
EntityFloatingItem efi = (EntityFloatingItem) p_76986_1_;
|
||||
EntityFloatingItem efi = (EntityFloatingItem) entityItem;
|
||||
if( efi.progress > 0.0 )
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
@@ -60,7 +60,7 @@ public class RenderFloatingItem extends RenderItem
|
||||
GL11.glTranslatef( 0, -0.15f, 0 );
|
||||
}
|
||||
|
||||
super.doRender( efi, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_ );
|
||||
super.doRender( efi, x, y, z, yaw, partialTick );
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user