コード例 #1
0
 public static int func_77512_a(InventoryPlayer p_77512_0_, EntityLiving p_77512_1_) {
   field_77521_c.field_77495_a = 0;
   field_77521_c.field_77494_b = p_77512_1_;
   func_77518_a(field_77521_c, p_77512_0_.func_70448_g());
   return field_77521_c.field_77495_a > 0
       ? 1 + field_77522_a.nextInt(field_77521_c.field_77495_a)
       : 0;
 }