How can i make my pickaxe destroy bedrock?

Started by mirakapz97 on

Topic category: Advanced modding

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make my pickaxe destroy bedrock?

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. :)

 

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.