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

15 lines
630 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 {
/**
* 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);
}