public void func_72478_a(Packet35EntityHeadRotation p_72478_1_) { Entity var2 = this.func_72545_a(p_72478_1_.field_73383_a); if(var2 != null) { float var3 = (float)(p_72478_1_.field_73382_b * 360) / 256.0F; var2.func_70034_d(var3); } }
public void handleEntityHeadRotation(Packet35EntityHeadRotation par1Packet35EntityHeadRotation) { Entity entity = this.getEntityByID(par1Packet35EntityHeadRotation.entityId); if (entity != null) { float f = (float)(par1Packet35EntityHeadRotation.headRotationYaw * 360) / 256.0F; entity.setRotationYawHead(f); } }
@Override public void handleEntityHeadRotation(Packet35EntityHeadRotation par1Packet35EntityHeadRotation) { nch.handleEntityHeadRotation(par1Packet35EntityHeadRotation); }
public void func_72478_a(Packet35EntityHeadRotation p_72478_1_) { this.func_72509_a(p_72478_1_); }