Exemplo n.º 1
0
 public void func_71847_b(
     World p_71847_1_, int p_71847_2_, int p_71847_3_, int p_71847_4_, Random p_71847_5_) {
   TileEntity var6 = p_71847_1_.func_72796_p(p_71847_2_, p_71847_3_, p_71847_4_);
   if (var6 != null && var6 instanceof TileEntityCommandBlock) {
     TileEntityCommandBlock var7 = (TileEntityCommandBlock) var6;
     var7.func_96102_a(var7.func_82351_a(p_71847_1_));
     p_71847_1_.func_96440_m(p_71847_2_, p_71847_3_, p_71847_4_, this.field_71990_ca);
   }
 }
Exemplo n.º 2
0
 public void func_71860_a(
     World p_71860_1_,
     int p_71860_2_,
     int p_71860_3_,
     int p_71860_4_,
     EntityLivingBase p_71860_5_,
     ItemStack p_71860_6_) {
   TileEntityCommandBlock var7 =
       (TileEntityCommandBlock) p_71860_1_.func_72796_p(p_71860_2_, p_71860_3_, p_71860_4_);
   if (p_71860_6_.func_82837_s()) {
     var7.func_96104_c(p_71860_6_.func_82833_r());
   }
 }