Guest User

Untitled

a guest
Feb 8th, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. package karver.rpg.stone;
  2.  
  3. import java.util.Random;
  4.  
  5. import karver.rpg.GenericBlock;
  6.  
  7. import net.minecraft.block.Block;
  8. import net.minecraft.block.material.Material;
  9. import net.minecraft.creativetab.CreativeTabs;
  10.  
  11. public class Granite extends Block
  12. {
  13. public Granite(int par1)
  14. {
  15. super(par1, Material.rock);
  16. this.setCreativeTab(CreativeTabs.tabBlock);
  17. }
  18.  
  19. /**
  20. * Returns the ID of the items to drop on destruction.
  21. */
  22. public int idDropped(int par1, Random par2Random, int par3)
  23. {
  24. return GenericBlock.GraniteCobblestone.BlockID;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment