Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mod.EventHandler
- public void postInit(FMLPostInitializationEvent event)
- {
- // Force initialization of ForgeHooks so it doesn't overwrite harvest levels when it
- // gets initialized later
- new ForgeHooks();
- //should work now
- Blocks.cobblestone.setHarvestLevel("pickaxe", 3);
- //works
- Blocks.bedrock.setHardness(5);
- Blocks.bedrock.setHarvestLevel("pickaxe", 3);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement