2015-03-07 12:51:28 +01:00
|
|
|
package ellpeck.actuallyadditions.material;
|
2015-02-17 16:15:16 +01:00
|
|
|
|
2015-03-07 12:51:28 +01:00
|
|
|
import ellpeck.actuallyadditions.config.ConfigValues;
|
|
|
|
import ellpeck.actuallyadditions.util.Util;
|
2015-02-17 16:15:16 +01:00
|
|
|
import net.minecraft.item.Item.ToolMaterial;
|
|
|
|
import net.minecraftforge.common.util.EnumHelper;
|
|
|
|
|
|
|
|
public class InitItemMaterials{
|
|
|
|
|
|
|
|
public static ToolMaterial toolMaterialEmerald;
|
|
|
|
public static ToolMaterial toolMaterialObsidian;
|
|
|
|
|
|
|
|
public static void init(){
|
|
|
|
Util.logInfo("Initializing Materials...");
|
|
|
|
|
2015-03-07 12:51:28 +01:00
|
|
|
toolMaterialEmerald = EnumHelper.addToolMaterial("toolMaterialEmerald", ConfigValues.toolEmeraldHarvestLevel, ConfigValues.toolEmeraldMaxUses, ConfigValues.toolEmeraldEfficiency, ConfigValues.toolEmeraldDamage, ConfigValues.toolEmeraldEnchantability);
|
|
|
|
toolMaterialObsidian = EnumHelper.addToolMaterial("toolMaterialObsidian", ConfigValues.toolObsidianHarvestLevel, ConfigValues.toolObsidianMaxUses, ConfigValues.toolObsidianEfficiency, ConfigValues.toolObsidianDamage, ConfigValues.toolObsidianEnchantability);
|
2015-02-17 16:15:16 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|