Specified methods access levels, rather than having them package-private

This commit is contained in:
GirafiStudios 2017-10-05 01:19:23 +02:00
parent 00456bd224
commit 478130c26a

View file

@ -74,12 +74,12 @@ public class ItemBiomeFinder extends Item
}
}
float getFlashingFrame(EntityLivingBase entity)
private float getFlashingFrame(EntityLivingBase entity)
{
return (entity.ticksExisted % 2 == 0 ? 0.10F : 0.11F);
}
float getFrameForPositionRelativeToPlayer(EntityLivingBase entity, int biomePosX, int biomePosZ)
private float getFrameForPositionRelativeToPlayer(EntityLivingBase entity, int biomePosX, int biomePosZ)
{
double xDiff = (double)biomePosX - entity.posX;
double zDiff = (double)biomePosZ - entity.posZ;