Tool's efficiency value being ignored by blocks

Started by Oofeiro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tool's efficiency value being ignored by blocks
Thu, 01/25/2024 - 04:12 (edited)

So when I put a hardness value on a block, it simply ignores my tool's efficiency value and the game acts as if I were breaking the block by hand. This apparently only happens with modded blocks, Minecraft blocks remain normal and break at the expected speed.

There was no other procedure messing with the mining speed last time i checked and i don't know what is actually causing this problem.

Does anyone have any idea what could be causing this? I'd be extremely grateful with a response because my mod revolves around ores and making them unbreakable would ruin everything.

 

Edit: I reinstalled Mcreator and the issue got fixed for some blocks, but when i tried to create a new block from there, the problem occurred again.

Edited by Oofeiro on Thu, 01/25/2024 - 04:12
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so what did you set the…
Wed, 01/24/2024 - 06:07

so what did you set the blocks hardness value to?

 

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
King0fgourds here's an…
Wed, 01/24/2024 - 17:10

King0fgourds here's an example, i set a custom ore's hardness value to 30, which is 20 points lower than vanilla Obsidian.

when i try to break the custom ore with a custom pickaxe, whose efficiency value is 54 and harvest level is 12, the mining speed becomes the same as the player hand for some reason. The same doesn't happen with obsidian, it breaks quickly and even faster when i enchant the pickaxe with efficiency V.

This is happening with all the modded blocks, even with a block with a hardness value of 1.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm i reinstalled mcreator…
Thu, 01/25/2024 - 02:33

nvm i reinstalled mcreator and it got fixed, no more worries.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it didn't get fixed...
Thu, 01/25/2024 - 04:13

it didn't get fixed...

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you ever figure this out…
Sun, 03/03/2024 - 20:29

Did you ever figure this out cause im having the same problem but with every block including vanilla