use of gregtech.common.items.armor.MetaArmor in project GregTech by GregTechCEu.
the class MetaItems method init.
public static void init() {
MetaItem1 first = new MetaItem1();
first.setRegistryName("meta_item_1");
MetaTool tool = new MetaTool();
tool.setRegistryName("meta_tool");
CT_OREDICT_ITEM = new MetaOreDictItem((short) 0);
CT_OREDICT_ITEM.setRegistryName("meta_oredict_item_ct");
MetaArmor armor = new MetaArmor();
armor.setRegistryName("gt_armor");
for (OrePrefix prefix : orePrefixes) {
String regName = CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, prefix.name());
MetaPrefixItem metaOrePrefix = new MetaPrefixItem(prefix);
metaOrePrefix.setRegistryName(String.format("meta_%s", regName));
}
}
Aggregations