-
-
Save suppergerrie2/aebeb4ecc66973c6fcd7108a1bf23c37 to your computer and use it in GitHub Desktop.
Multiple Items Drop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public ArrayList<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState blockstate, int fortune){ | |
ArrayList<ItemStack> drops = new ArrayList<ItemStack>(); | |
drops.add(new ItemStack(Items.REDSTONE, 10)); | |
drops.add(new ItemStack(Items.DIAMOND, RANDOM.nextInt(10))); | |
return drops; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment