mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-15 17:45:06 +00:00
Fix ModLoader add XP Smelting
This commit is contained in:
1 parent
094ce2ae18
commit
b2fdcd7f1c
1 file changed
+10
@@ -218,6 +218,16 @@ public class ModLoader
|
|||||||
GameRegistry.addSmelting(input, output, 1.0f);
|
GameRegistry.addSmelting(input, output, 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a new product to be smelted
|
||||||
|
*
|
||||||
|
* @param input
|
||||||
|
* @param output
|
||||||
|
*/
|
||||||
|
public static void addSmelting(int input, ItemStack output, float experience)
|
||||||
|
{
|
||||||
|
GameRegistry.addSmelting(input, output, experience);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Add a mob to the spawn list
|
* Add a mob to the spawn list
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user