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

项目:Zombe-Modpack    文件:NetHandlerPlayClient.java   
public void handleEntityEquipment(SPacketEntityEquipment packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID());

    if (entity != null)
    {
        entity.setItemStackToSlot(packetIn.getEquipmentSlot(), packetIn.getItemStack());
    }
}
项目:Backmemed    文件:NetHandlerPlayClient.java   
public void handleEntityEquipment(SPacketEntityEquipment packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID());

    if (entity != null)
    {
        entity.setItemStackToSlot(packetIn.getEquipmentSlot(), packetIn.getItemStack());
    }
}
项目:CustomWorldGen    文件:NetHandlerPlayClient.java   
public void handleEntityEquipment(SPacketEntityEquipment packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID());

    if (entity != null)
    {
        entity.setItemStackToSlot(packetIn.getEquipmentSlot(), packetIn.getItemStack());
    }
}
项目:ExpandedRailsMod    文件:NetHandlerPlayClient.java   
public void handleEntityEquipment(SPacketEntityEquipment packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID());

    if (entity != null)
    {
        entity.setItemStackToSlot(packetIn.getEquipmentSlot(), packetIn.getItemStack());
    }
}
项目:Backmemed    文件:INetHandlerPlayClient.java   
void handleEntityEquipment(SPacketEntityEquipment packetIn);
项目:CustomWorldGen    文件:INetHandlerPlayClient.java   
void handleEntityEquipment(SPacketEntityEquipment packetIn);