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

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);
	}
	
}