Advertisement
crystalguy123

Untitled

Jun 13th, 2020
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. package com.crystal.tutorial.blocks;
  2.  
  3. import net.minecraft.block.Block;
  4. import net.minecraft.block.SoundType;
  5. import net.minecraft.block.material.Material;
  6. import net.minecraftforge.common.ToolType;
  7.  
  8. public class SaphOre extends Block {
  9. public SaphOre() {
  10. super(Block.Properties.create(Material.IRON)
  11. .hardnessAndResistance(3f, 4f)
  12. .sound(SoundType.METAL)
  13. .harvestLevel(2)
  14. // nothing = hand | 0 = wooden tool | 1 = stone/gold tool | 2 = iron tool | 3 = diamond
  15. .harvestTool(ToolType.PICKAXE));
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement