/** * Updates the direction in which the specified entity is looking, normally this head rotation is independent of the * rotation of the entity itself */ public void handleEntityHeadLook(S19PacketEntityHeadLook packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = packetIn.getEntity(this.clientWorldController); if (entity != null) { float f = (float)(packetIn.getYaw() * 360) / 256.0F; entity.setRotationYawHead(f); } }
/** * Updates the direction in which the specified entity is looking, normally this * head rotation is independent of the rotation of the entity itself */ public void handleEntityHeadLook(S19PacketEntityHeadLook packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = packetIn.getEntity(this.clientWorldController); if (entity != null) { float f = (float) (packetIn.getYaw() * 360) / 256.0F; entity.setRotationYawHead(f); } }
/** * Updates the direction in which the specified entity is looking, normally this head rotation is independent of the * rotation of the entity itself */ public void handleEntityHeadLook(S19PacketEntityHeadLook p_147267_1_) { Entity var2 = p_147267_1_.func_149381_a(this.clientWorldController); if (var2 != null) { float var3 = (float)(p_147267_1_.func_149380_c() * 360) / 256.0F; var2.setRotationYawHead(var3); } }
public void handleEntityHeadLook(S19PacketEntityHeadLook p_147267_1_) { Entity entity = p_147267_1_.func_149381_a(this.clientWorldController); if (entity != null) { float f = (float)(p_147267_1_.func_149380_c() * 360) / 256.0F; entity.setRotationYawHead(f); } }
/** * Updates the direction in which the specified entity is looking, normally this head rotation is independent of the * rotation of the entity itself */ void handleEntityHeadLook(S19PacketEntityHeadLook packetIn);
/** * Updates the direction in which the specified entity is looking, normally this head rotation is independent of the * rotation of the entity itself */ void handleEntityHeadLook(S19PacketEntityHeadLook var1);
void handleEntityHeadLook(S19PacketEntityHeadLook p_147267_1_);