Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

What is the counterpart for .hardnessAndResistance ()?


NastyStuffy
 Share

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

the commands are:

!mcp -c moj <name> -> convert from mcp mappings to mojang mappings
!moj -c mcp <name> -> convert from mojang mappings to mcp mappings

replace '<name>' in your case with 'getHorizontalIndex'

Edited by Luis_ST
  • Like 2
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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.