Block Harvest Level is 0 in procedures

Started by Isalick34 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 02:07, 26. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block Harvest Level is 0 in procedures

I'm trying to make a procedure that shows text if you try to mine an ore that your pickaxe can't mine, and it works on vanilla ores, but the game thinks that my custom ores have a harvest level of 0 and I don't know how to change it.

It behaves normally when you actually mine the block but the procedure blocks to get the harvest level say it's 0.

Last seen on 10:30, 18. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding the appropriate block…
Mon, 04/10/2023 - 14:32

Adding the appropriate block tags to the blocks works with the "Can harvest" 'block', but not the "Get harvest level at" 'block'.
 

I happen to have run into a similar issue and found this post finding a solution.


Harvest level 0 (wood): forge:needs_wood_tool
Harvest level 0* (gold): forge:needs_gold_tool
Harvest level 1 (stone): minecraft:needs_stone_tool
Harvest level 2 (iron): minecraft:needs_iron_tool
Harvest level 3 (diamond): minecraft:needs_diamond_tool
Harvest level 4 (netherite): forge:needs_netherite_tool

Last seen on 02:07, 26. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the help, I…
Mon, 04/10/2023 - 15:52

Thanks for the help, I already found a workaround that'll work for when I need the mining level is above 4.
I just made some block tags called "mining_#" and if the block is tagged with mining_#) I just test if the tool harvest level is lower than the number for the tag.