public void func_71064_a(StatBase p_71064_1_, int p_71064_2_) { if(p_71064_1_ != null) { if(!p_71064_1_.field_75972_f) { this.field_71135_a.func_72567_b(new Packet200Statistic(p_71064_1_.field_75975_e, p_71064_2_)); } } }
/** * Adds a value to a statistic field. */ public void addStat(StatBase par1StatBase, int par2) { if (par1StatBase != null) { if (!par1StatBase.isIndependent) { this.playerNetServerHandler.sendPacketToPlayer(new Packet200Statistic(par1StatBase.statId, par2)); } } }
@Override public void handleStatistic(Packet200Statistic par1Packet200Statistic) { nch.handleStatistic(par1Packet200Statistic); }
public void func_72517_a(Packet200Statistic p_72517_1_) { this.func_72509_a(p_72517_1_); }
public void func_72517_a(Packet200Statistic p_72517_1_) { this.field_72563_h.field_71439_g.func_71167_b(StatList.func_75923_a(p_72517_1_.field_73472_a), p_72517_1_.field_73471_b); }
/** * Increment player statistics */ public void handleStatistic(Packet200Statistic par1Packet200Statistic) { this.mc.thePlayer.incrementStat(StatList.getOneShotStat(par1Packet200Statistic.statisticId), par1Packet200Statistic.amount); }