0mega_z3ll

Untitled

Feb 19th, 2018
101
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×