Pickaxes not breaking certain wood-level blocks
AlexDevBoi opened this issue ยท 0 comments
Custom Pickaxes can't break certain wood-level blocks (mining level 0)
The blocks I tested and confirmed to be bugged:
-Stone Bricks
-Nether Bricks
-Basalt
-Nylium (both)
-Purpur
-Prismarine
-Nether Quartz Ore
-Block of Quarz
-Terracotta
-Block of Coal
-Red Nether Bricks
-White Concrete
-Bone Block
-Brain Coral
-Blackstone
-Gilded Blackstone
-Polished Blackstone
-Polished Blackstone Bricks
-Mob Spawners
Blocks like Stone, Cobblestone and any other block with a mining level superior to wood works fine
My code in the ContentTweaker script
#loader contenttweaker
import mods.contenttweaker.item.ItemBuilder;
import mods.contenttweaker.item.tool.ItemBuilderTool;
new ItemBuilder()
.isImmuneToFire()
.withType<ItemBuilderTool>()
.withAttackDamage(7)
.withAttackSpeed(-2.4f)
.withToolType(<tooltype:pickaxe>, 3, 9)
.build("my_pickaxe");