示例#1
0
 public static void dropItems(World var0, ItemStack var1, int var2, int var3, int var4) {
   float var5 = 0.7F;
   double var6 = (double) (var0.random.nextFloat() * var5) + (double) (1.0F - var5) * 0.5D;
   double var8 = (double) (var0.random.nextFloat() * var5) + (double) (1.0F - var5) * 0.5D;
   double var10 = (double) (var0.random.nextFloat() * var5) + (double) (1.0F - var5) * 0.5D;
   EntityItem var12 =
       new EntityItem(
           var0, (double) var2 + var6, (double) var3 + var8, (double) var4 + var10, var1);
   var12.pickupDelay = 10;
   var0.addEntity(var12);
 }