Java 类net.minecraft.network.packet.Packet26EntityExpOrb 实例源码

项目:RuneCraftery    文件:NetClientHandler.java   
public void func_72514_a(Packet26EntityExpOrb p_72514_1_) {
   EntityXPOrb var2 = new EntityXPOrb(this.field_72564_i, (double)p_72514_1_.field_73531_b, (double)p_72514_1_.field_73532_c, (double)p_72514_1_.field_73529_d, p_72514_1_.field_73530_e);
   var2.field_70118_ct = p_72514_1_.field_73531_b;
   var2.field_70117_cu = p_72514_1_.field_73532_c;
   var2.field_70116_cv = p_72514_1_.field_73529_d;
   var2.field_70177_z = 0.0F;
   var2.field_70125_A = 0.0F;
   var2.field_70157_k = p_72514_1_.field_73533_a;
   this.field_72564_i.func_73027_a(p_72514_1_.field_73533_a, var2);
}
项目:RuneCraftery    文件:NetClientHandler.java   
/**
 * Handle a entity experience orb packet.
 */
public void handleEntityExpOrb(Packet26EntityExpOrb par1Packet26EntityExpOrb)
{
    EntityXPOrb entityxporb = new EntityXPOrb(this.worldClient, (double)par1Packet26EntityExpOrb.posX, (double)par1Packet26EntityExpOrb.posY, (double)par1Packet26EntityExpOrb.posZ, par1Packet26EntityExpOrb.xpValue);
    entityxporb.serverPosX = par1Packet26EntityExpOrb.posX;
    entityxporb.serverPosY = par1Packet26EntityExpOrb.posY;
    entityxporb.serverPosZ = par1Packet26EntityExpOrb.posZ;
    entityxporb.rotationYaw = 0.0F;
    entityxporb.rotationPitch = 0.0F;
    entityxporb.entityId = par1Packet26EntityExpOrb.entityId;
    this.worldClient.addEntityToWorld(par1Packet26EntityExpOrb.entityId, entityxporb);
}
项目:BetterNutritionMod    文件:NetClientHandler.java   
/**
 * Handle a entity experience orb packet.
 */
public void handleEntityExpOrb(Packet26EntityExpOrb par1Packet26EntityExpOrb)
{
    EntityXPOrb entityxporb = new EntityXPOrb(this.worldClient, (double)par1Packet26EntityExpOrb.posX, (double)par1Packet26EntityExpOrb.posY, (double)par1Packet26EntityExpOrb.posZ, par1Packet26EntityExpOrb.xpValue);
    entityxporb.serverPosX = par1Packet26EntityExpOrb.posX;
    entityxporb.serverPosY = par1Packet26EntityExpOrb.posY;
    entityxporb.serverPosZ = par1Packet26EntityExpOrb.posZ;
    entityxporb.rotationYaw = 0.0F;
    entityxporb.rotationPitch = 0.0F;
    entityxporb.entityId = par1Packet26EntityExpOrb.entityId;
    this.worldClient.addEntityToWorld(par1Packet26EntityExpOrb.entityId, entityxporb);
}
项目:forge_world_downloader    文件:WDLNetClientHandler.java   
@Override
public void handleEntityExpOrb(Packet26EntityExpOrb par1Packet26EntityExpOrb)
{
    nch.handleEntityExpOrb(par1Packet26EntityExpOrb);

}
项目:RuneCraftery    文件:NetHandler.java   
public void func_72514_a(Packet26EntityExpOrb p_72514_1_) {
   this.func_72509_a(p_72514_1_);
}