aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api/helpers/MaterialHelper.java
blob: b1398f1367b80115936589fa54f104e46af52f6d (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.minecraft.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);
	}
	
}