I added 2 new blocks and one new ore. Now in order to change their MiningLevel I have to overwrite 'ItemPickaxe.java'. BUT, this doesn't work. If I try to add a new block to the file, I get 8-11 Errors everytime I click on 'recompile'. Can anyone help me and tell me how I have to edit ItemPickaxe.java without getting Errors??
I added 2 new blocks and one new ore. Now in order to change their MiningLevel I have to overwrite 'ItemPickaxe.java'. BUT, this doesn't work. If I try to add a new block to the file, I get 8-11 Errors everytime I click on 'recompile'. Can anyone help me and tell me how I have to edit ItemPickaxe.java without getting Errors??
Are you using Minecraft forge? If so in the constructor of the ore use "setHarvestLevel(" tool", "level");
For the tool use " setHarvestLevel("tool", "level");
I've already solved the Problem
If they mentioned MCP or overwriting base classes, they're not using Forge.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!