public void func_71914_a( World p_71914_1_, int p_71914_2_, int p_71914_3_, int p_71914_4_, int p_71914_5_, float p_71914_6_, int p_71914_7_) { super.func_71914_a(p_71914_1_, p_71914_2_, p_71914_3_, p_71914_4_, p_71914_5_, p_71914_6_, 0); if (!p_71914_1_.field_72995_K) { if (p_71914_5_ >= 7) { int var8 = 3 + p_71914_7_; for (int var9 = 0; var9 < var8; ++var9) { if (p_71914_1_.field_73012_v.nextInt(15) <= p_71914_5_) { this.func_71929_a( p_71914_1_, p_71914_2_, p_71914_3_, p_71914_4_, new ItemStack(this.func_82532_h(), 1, 0)); } } } } }
public void func_71914_a( World p_71914_1_, int p_71914_2_, int p_71914_3_, int p_71914_4_, int p_71914_5_, float p_71914_6_, int p_71914_7_) { super.func_71914_a( p_71914_1_, p_71914_2_, p_71914_3_, p_71914_4_, p_71914_5_, p_71914_6_, p_71914_7_); if (!p_71914_1_.field_72995_K) { Item var8 = null; if (this.field_72267_a == Block.field_72061_ba) { var8 = Item.field_77739_bg; } if (this.field_72267_a == Block.field_71997_br) { var8 = Item.field_77740_bh; } for (int var9 = 0; var9 < 3; ++var9) { if (p_71914_1_.field_73012_v.nextInt(15) <= p_71914_5_) { this.func_71929_a(p_71914_1_, p_71914_2_, p_71914_3_, p_71914_4_, new ItemStack(var8)); } } } }
public void func_71914_a( World p_71914_1_, int p_71914_2_, int p_71914_3_, int p_71914_4_, int p_71914_5_, float p_71914_6_, int p_71914_7_) { super.func_71914_a(p_71914_1_, p_71914_2_, p_71914_3_, p_71914_4_, p_71914_5_, p_71914_6_, 0); if (p_71914_1_.field_72995_K) { return; } int i = 3 + p_71914_7_; for (int j = 0; j < i; j++) { if (p_71914_1_.field_73012_v.nextInt(15) <= p_71914_5_) { float f = 0.7F; float f1 = p_71914_1_.field_73012_v.nextFloat() * f + (1.0F - f) * 0.5F; float f2 = p_71914_1_.field_73012_v.nextFloat() * f + (1.0F - f) * 0.5F; float f3 = p_71914_1_.field_73012_v.nextFloat() * f + (1.0F - f) * 0.5F; EntityItem entityitem = new EntityItem( p_71914_1_, (float) p_71914_2_ + f1, (float) p_71914_3_ + f2, (float) p_71914_4_ + f3, new ItemStack(Item.field_77690_S)); entityitem.field_70293_c = 10; p_71914_1_.func_72838_d(entityitem); } } }