Custom block not smeltable? Java, Minecraft Forge 1.12.2

I'm trying to make my Copper Ore block smelt into a Copper Ingot, but the furnace won't do anything when I put it in.

Copper Ore's .java file:

package com.leinad.essentialsmod.blocks;

import net.minecraft.block.SoundType;

import net.minecraft.block.material.Material;

public class CopperOre extends BlockBase

{

public CopperOre(String name, Material material)

{

super(name, material);

setSoundType(SoundType.STONE);

setHardness(2.5F);

setResistance(12.5F);

setHarvestLevel("pickaxe", 1);

}

}

Copper Ingot's JSON recipe file:

{

"type": "minecraft:crafting_shapeless",

"group": "ores",

"ingredients": [

{ "item": "em:copper_block" }

],

"result": {

"item": "em:copper_ingot",

"count": 9

}

}

{

"type": "minecraft:smelting",

"group": "ores",

"ingredient": [

{"item": "em:copper_ore" }

],

"result": "em:copper_ingot",

"count": 2

"experience": 0.6,

"cookingtime": 200

}

What am I missing here? Everywhere else I've looked implies that this should be working just fine....

Read More »

By: StackOverFlow - Sunday, 15 April

Related Posts

  • Older News
  • How to run Maincraft above version 1.7 StackOverFlow (2 days ago) - Now use this methodjava -Xmx1024M -Djava.library.path=C:\Users\roman\AppData\Roaming/.minecraft/versions/1.10.1/natives -cp C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\minecraft\launchwrapper\1.5\launchwrapper-1.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\optifine\OptiFine\1.5.2_HD_U_D5\OptiFine-1.5.2_HD_U_D5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\roman\AppData\Roaming/.minecraft/versions/1.10.1/1.10.1.jar net.minecraft.client.main.Main --username user --version 1.10.1 --gameDir C:\Users\roman\AppData\Roaming/.minecraft --assetsDir C:\Users\roman\AppData\Roaming/.minecraft/assets --assetsIndex 1.10 --uuid 00000000-0000-0000-0000-000000000000 --accessToken 00000000-0000-0000-0000-000000000000 --userProperties {"twitch_access_token":["00000000-0000-0000-0000-000000000000"]} --userType mojang --height 480 --width...