Made the api usefull
This commit is contained in:
parent
b44cdd4064
commit
7e7fcf2ad9
18 changed files with 162 additions and 133 deletions
|
@ -4,26 +4,26 @@ import net.minecraft.item.Item.ToolMaterial;
|
|||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.util.text.translation.I18n;
|
||||
import net.minecraftforge.common.util.EnumHelper;
|
||||
import techreborn.lib.ModInfo;
|
||||
|
||||
/**
|
||||
* This contains some static stuff used in recipes and other things
|
||||
*/
|
||||
//TODO move this out of the api, and make it nicer
|
||||
public class Reference {
|
||||
public static ToolMaterial BRONZE = EnumHelper.addToolMaterial("BRONZE", 2, 375, 6.0F, 2.25F, 8);
|
||||
public static ArmorMaterial BRONZE_ARMOUR = EnumHelper.addArmorMaterial("BRONZE", ModInfo.MOD_ID + ":bronze", 17,
|
||||
public static ArmorMaterial BRONZE_ARMOUR = EnumHelper.addArmorMaterial("BRONZE", "techreborn:bronze", 17,
|
||||
new int[]{3, 6, 5, 2}, 8, null/* TODO: SoundEvent */);
|
||||
|
||||
public static ToolMaterial RUBY = EnumHelper.addToolMaterial("RUBY", 2, 320, 6.2F, 2.7F, 10);
|
||||
public static ArmorMaterial RUBY_ARMOUR = EnumHelper.addArmorMaterial("RUBY", ModInfo.MOD_ID + ":ruby", 16,
|
||||
public static ArmorMaterial RUBY_ARMOUR = EnumHelper.addArmorMaterial("RUBY", "techreborn:ruby", 16,
|
||||
new int[]{2, 7, 5, 2}, 10, null/* TODO: SoundEvent */);
|
||||
|
||||
public static ToolMaterial SAPPHIRE = EnumHelper.addToolMaterial("SAPPHIRE", 2, 620, 5.0F, 2F, 8);
|
||||
public static ArmorMaterial SAPPHIRE_ARMOUR = EnumHelper.addArmorMaterial("SAPPHIRE", ModInfo.MOD_ID + ":sapphire",
|
||||
public static ArmorMaterial SAPPHIRE_ARMOUR = EnumHelper.addArmorMaterial("SAPPHIRE", "techreborn:sapphire",
|
||||
19, new int[]{4, 4, 4, 4}, 8, null/* TODO: SoundEvent */);
|
||||
|
||||
public static ToolMaterial PERIDOT = EnumHelper.addToolMaterial("PERIDOT", 2, 400, 7.0F, 2.4F, 16);
|
||||
public static ArmorMaterial PERIDOT_ARMOUR = EnumHelper.addArmorMaterial("PERIDOT", ModInfo.MOD_ID + ":peridot", 17,
|
||||
public static ArmorMaterial PERIDOT_ARMOUR = EnumHelper.addArmorMaterial("PERIDOT", "techreborn:peridot", 17,
|
||||
new int[]{3, 8, 3, 2}, 16, null/* TODO: SoundEvent */);
|
||||
|
||||
public static String alloySmelteRecipe = I18n.translateToLocal("techreborn.recipe.alloysmelter");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue