NastyStuffy Posted August 13, 2021 Share Posted August 13, 2021 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) )); } Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 13, 2021 Share Posted August 13, 2021 its strength, you can use the forge bot on discord to convert the mapping names (mcp -> moj & moj -> mcp) 2 Quote Link to comment Share on other sites More sharing options...
Salvadormg15 Posted August 16, 2021 Share Posted August 16, 2021 (edited) 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 August 16, 2021 by Salvadormg15 Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 16, 2021 Share Posted August 16, 2021 (edited) 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 August 16, 2021 by Luis_ST 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.