aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api/helpers/MaterialHelper.java
blob: bb30727992460d04e6ac9c649be94f1dc13eb964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package gtPlusPlus.api.helpers;

import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gtPlusPlus.core.material.Material;
import gtPlusPlus.core.util.item.ItemUtils;
import net.minecraft.item.ItemStack;

public class MaterialHelper {

	public static ItemStack getComponentFromMaterial(OrePrefixes oreprefix, Material material, int amount){
		return ItemUtils.getOrePrefixStack(oreprefix, material, amount);
	}
	public static ItemStack getComponentFromGtMaterial(OrePrefixes oreprefix, Materials material, int amount){
		return ItemUtils.getGregtechOreStack(oreprefix, material, amount);
	}
	
}