file dir edit
This commit is contained in:
31
src/main/java/net/arcmods/ryantlg/items/armour/omniumArmour.java
Executable file
31
src/main/java/net/arcmods/ryantlg/items/armour/omniumArmour.java
Executable file
@@ -0,0 +1,31 @@
|
||||
package net.arcmods.ryantlg.items.armour;
|
||||
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.arcmods.ryantlg.gamermod;
|
||||
import net.arcmods.ryantlg.armourMaterials.OmniumArmorMaterial;
|
||||
import net.minecraft.entity.EquipmentSlot;
|
||||
import net.minecraft.item.ArmorItem;
|
||||
import net.minecraft.item.ArmorMaterial;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.Rarity;
|
||||
|
||||
public class omniumArmour {
|
||||
|
||||
public static final ArmorMaterial OMNIUM_ARMOR_MATERIAL = new OmniumArmorMaterial();
|
||||
public static final Item OMNIUM_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
|
||||
public static final Item OMNIUM_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
|
||||
public static final Item OMNIUM_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
|
||||
public static final Item OMNIUM_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC));
|
||||
|
||||
public static void register() {
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_helmet"), OMNIUM_HELMET);
|
||||
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_chestplate"), OMNIUM_CHESTPLATE);
|
||||
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_leggings"), OMNIUM_LEGGINGS);
|
||||
Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_boots"), OMNIUM_BOOTS);
|
||||
|
||||
gamermod.LOGGER.info("omniumArmour loaded");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user