Add first smelting recipes
This commit is contained in:
parent
cbb08da611
commit
2bf03b8a6a
13
src/main/java/com/pjht/ssspcore/ModRecipes.java
Normal file
13
src/main/java/com/pjht/ssspcore/ModRecipes.java
Normal file
@ -0,0 +1,13 @@
|
||||
package com.pjht.ssspcore;
|
||||
|
||||
import com.pjht.ssspcore.block.ModBlocks;
|
||||
import com.pjht.ssspcore.item.ModItems;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
|
||||
public class ModRecipes {
|
||||
public static void init() {
|
||||
GameRegistry.addSmelting(ModBlocks.oreCopper, new ItemStack(ModItems.ingotCopper), 0.7f);
|
||||
}
|
||||
}
|
@ -36,7 +36,7 @@ public class SSSPCore {
|
||||
|
||||
@Mod.EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
|
||||
ModRecipes.init();
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
|
Loading…
x
Reference in New Issue
Block a user