Пример #1
0
 @Override
 public int quantityDropped(int metadata, int fortune, Random random) {
   int i = super.quantityDropped(metadata, fortune, random);
   OreBase base = this.getBase(metadata);
   if (base != null) {
     return CSMath.ceiling_float(base.amountMultiplier * i);
   }
   return i;
 }
Пример #2
0
 @Override
 public int getExpDrop(IBlockAccess world, int metadata, int fortune) {
   int i = super.getExpDrop(world, metadata, fortune);
   OreBase base = this.getBase(metadata);
   if (base != null) {
     return CSMath.ceiling_float(base.xpMultiplier * i);
   }
   return i;
 }