SHARE
TWEET

Untitled

0mega_z3ll Feb 19th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package fr.omega_zell.minecraftplus.Block;
  2.  
  3. import java.util.Random;
  4.  
  5. import net.minecraft.block.Block;
  6. import net.minecraft.block.material.Material;
  7. import net.minecraft.block.state.IBlockState;
  8. import net.minecraft.init.Blocks;
  9. import net.minecraft.item.Item;
  10.  
  11. public class SolFertile extends Block
  12. {
  13.  
  14.     public SolFertile(Material materialIn)
  15.     {
  16.         super(materialIn);
  17.         this.setHarvestLevel("shovel", 2);
  18.     }
  19.     @Override
  20.         public Item getItemDropped(IBlockState state, Random rand, int fortune)
  21.         {
  22.             return Item.getItemFromBlock(Blocks.dirt);
  23.         }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top