Advertisement
xch0w

code

Feb 18th, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. @Override
  2. public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
  3. ArrayList<ItemStack> drops = new ArrayList<ItemStack>();
  4. drops.add(new ItemStack(Main.ak47, world.rand.nextInt(3) + 1));
  5. drops.add(new ItemStack(Main.morphinebottle, world.rand.nextInt(2) + 1));
  6. if (world.rand.nextFloat() < 0.5F)
  7. drops.add(new ItemStack(Main.ak47));
  8. return drops;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement