Posted August 1, 20214 yr I just updated my mod to Forge version 36.2.0 from 36.0.1 and now I get following error for any of Blocks at the Registry after I executed Gradle Task runClient. Error: error: cannot find symbol BlockList.copper_block = new Block(Block.Properties.create(Material.IRON).hardnessAndResistance(2.0F, 3.0F).sound(SoundType.METAL).harvestLevel(1).harvestTool(ToolType.PICKAXE)).setRegistryName(location("copper_block")), ^ symbol: variable IRON location: class Material (same with ROCK instead of IRON) But the Error ist just shown after I executed the Task and not at the code itself. P.S. I looked it up: The class Material with the variables IRON and ROCK exists.
August 2, 20214 yr the mappings has changed forge now use moj mappings, you can use the forge bot on discord to convert from mcp to moj !moj -c mcp from moj to mcp !mcp -c moj from mcp to moj Edited August 2, 20214 yr by Luis_ST
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.