reddvilzz

Untitled

May 9th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. package net.minecraft.block;
  2.  
  3. import java.util.Random;
  4. import net.minecraft.init.Items;
  5. import net.minecraft.item.Item;
  6.  
  7. public class BlockGravel extends BlockFalling
  8. {
  9. private static final String __OBFID = "CL_00000252";
  10.  
  11. public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_)
  12. {
  13. if (p_149650_3_ > 3)
  14. {
  15. p_149650_3_ = 3;
  16. }
  17.  
  18. return p_149650_2_.nextInt(10 - p_149650_3_ * 3) == 0 ? Items.flint : Item.getItemFromBlock(this);
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment