private static int func_146090_c(Item p_146090_0_, Random p_146090_1_) { Tuple var2 = (Tuple) field_70960_bC.get(p_146090_0_); return var2 == null ? 1 : (((Integer) var2.func_76341_a()).intValue() >= ((Integer) var2.func_76340_b()).intValue() ? ((Integer) var2.func_76341_a()).intValue() : ((Integer) var2.func_76341_a()).intValue() + p_146090_1_.nextInt( ((Integer) var2.func_76340_b()).intValue() - ((Integer) var2.func_76341_a()).intValue())); }