Posted August 1, 20187 yr Hello dudes, help me please, I'm doing the mod for the first time on the Forge API, and I've made a block, normal, when you run the project with Intellij Idea, the maincraft opens and Forge quietly loads the block. But when I copy for Java format and transfer the mod to the mods folder, I have it crashing. package com.mairwunnx.mnxemeralds.blocks; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; public class emeraldhardblock extends Block { public emeraldhardblock(String name) { super(Material.IRON); this.setRegistryName(name); this.setUnlocalizedName(name); this.blockHardness = 13.5F; this.blockResistance = 20.0F; this.blockSoundType = SoundType.METAL; } @Override public boolean isOpaqueCube(IBlockState state) { return false; } @Override public boolean isFullCube(IBlockState state) { return false; } } But is caused to crash, please, help me! crash log: crash-2018-08-01_23.17.39-client.txt Edited August 1, 20187 yr by MairwunNx
August 2, 20187 yr Author 10 hours ago, diesieben07 said: You must use the Gradle build task to export your mod. I recommend you check out the documentation on getting started. thx dude!
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.