GT5-Unofficial/src/main/java/gregtech/api/interfaces/IOreRecipeRegistrator.java

16 lines
663 B
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
package gregtech.api.interfaces;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import net.minecraft.item.ItemStack;
public interface IOreRecipeRegistrator {
2015-10-22 02:15:09 +00:00
/**
* Contains a Code Fragment, used in the OrePrefix to register Recipes. Better than using a switch/case, like I did before.
*
* @param aPrefix always != null
* @param aMaterial always != null, and can be == _NULL if the Prefix is Self Referencing or not Material based!
* @param aStack always != null
*/
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack);
2015-04-23 16:14:22 +00:00
}