Java 类net.minecraft.network.play.server.S19PacketEntityHeadLook 实例源码

项目:DecompiledMinecraft    文件:NetHandlerPlayClient.java   
/**
 * 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);
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * 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);
    }
}
项目:BaseClient    文件:NetHandlerPlayClient.java   
/**
 * 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);
    }
}
项目:Resilience-Client-Source    文件:NetHandlerPlayClient.java   
/**
 * 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);
    }
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
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);
    }
}
项目:Cauldron    文件:NetHandlerPlayClient.java   
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);
    }
}
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * 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);
项目:DecompiledMinecraft    文件:INetHandlerPlayClient.java   
/**
 * 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);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * 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);
项目:BaseClient    文件:INetHandlerPlayClient.java   
/**
 * 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);
项目:Resilience-Client-Source    文件:INetHandlerPlayClient.java   
/**
 * 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);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleEntityHeadLook(S19PacketEntityHeadLook p_147267_1_);
项目:Cauldron    文件:INetHandlerPlayClient.java   
void handleEntityHeadLook(S19PacketEntityHeadLook p_147267_1_);