How can i make my pickaxe destroy bedrock?

Started by mirakapz97 on Thu, 11/15/2018 - 22:11

Topic category: Advanced modding

Last seen on 21:17, 17. Nov 2018
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can i make my pickaxe destroy bedrock?
Thu, 11/15/2018 - 22:11

Ok , so i made my ores , ore gen , materials and tools , but the pickaxe is one of my problems for a few days now.  , i wanted to make it so it can destroy bedrock and i have no idea on how to do that. I've tried:

this.canHarvestBlock(Blocks.bedrock, dont know what to put here);

and

this.BedrockPickaxe.canHarvestBlock(Blocks.bedrock, null); 

but in both of those situatuons my pickaxe refuses to break bedrock. Please help. Thanks in advance. :)

 

Last seen on 17:11, 25. Oct 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
 Do if block == bedrock…
Wed, 12/05/2018 - 18:19

 Do if block == bedrock setblock to air drop at x y z.