Jump to content

What is the counterpart for .hardnessAndResistance ()?


NastyStuffy

Recommended Posts

What is the counterpart for .hardnessAndResistance ()? I dont have this properties in list 

    public static final RegistryObject<Block> ADVANCED_BLOCK = BLOCKS.register("advanced_block", 
            () -> new Block(AbstractBlock.Properties.of(Material.EXPLOSIVE, MaterialColor.METAL).harvestLevel(10).harvestTool(ToolType.PICKAXE).hardnessAndResistance(5f, 6f)
                    ));
}

 

Link to comment
Share on other sites

On 8/13/2021 at 3:03 PM, Luis_ST said:

its strength, you can use the forge bot on discord to convert the mapping names (mcp -> moj & moj -> mcp)

Can you tell me how the bot works? I'm pretty new on discord. I want to use the method getHorizontalIndex(), what do I have to enter in the bot?

 

Edited by Salvadormg15
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.

Announcements



×
×
  • Create New...

Important Information

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