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

import net.minecraft.item.ItemStack;

import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;

import gtPlusPlus.core.material.Material;
import gtPlusPlus.core.util.minecraft.ItemUtils;

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