Jump to content

Blocks a block not being broken correctly


Recommended Posts

Hello there, I'm a bit new for modding with forge so excuse me if the question is a bit naive.
I've been trying to make a new block in-game and every thing was working fine, however, for some reason the block is not being broken correctly as the title says.
In other words, it takes alot of time to be broken even when using a diamond pickaxe in survival and it doesn't drop as an item after being broken.
I read the block section in the forge documentation which mentioned the same values I'm putting for my block's strength as for stone so I'm wondering what may the problem be? Maybe there's a method that sets the right tool that I'm missing?
Thank you in advance for helping.

    public static final RegistryObject<Block> SCALE_BLOCK = registerBlock("scale_block",
            () -> new Block(BlockBehaviour.Properties.of()
                    .mapColor(MapColor.METAL)
                    .strength(1.5f)
                    .explosionResistance(6.0f)
                    .sound(SoundType.AMETHYST)
                    .requiresCorrectToolForDrops()
            ));
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.