Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pickaxes not breaking certain wood-level blocks #259

Open
AlexDevBoi opened this issue Jul 28, 2022 · 0 comments
Open

Pickaxes not breaking certain wood-level blocks #259

AlexDevBoi opened this issue Jul 28, 2022 · 0 comments

Comments

@AlexDevBoi
Copy link

AlexDevBoi commented Jul 28, 2022

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");

ContentTweaker for 1.16.5 was used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant