package com.harry9137.ct.item.armor;
import com.harry9137.ct.CreepTech;
import com.harry9137.ct.item.ItemCT;
import com.harry9137.ct.reference.names;
import com.harry9137.ct.utillity.EnumArmorType;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
public class ItemLaserArmor extends ItemCT {
public ItemLaserArmor(EnumArmorType armorType){
super();
CreepTech.console.addText(armorType.name());
switch(armorType){
default: this.setUnlocalizedName("ERROR");
case HELMET: this.setUnlocalizedName(names.items.armor.ItemLaserArmorHelmet);
case CHESTPLATE: this.setUnlocalizedName(names.items.armor.ItemLaserArmorChestplate);
case LEGGINGS: this.setUnlocalizedName(names.items.armor.ItemLaserArmorLeggings);
case BOOTS: this.setUnlocalizedName(names.items.armor.ItemLaserArmorBoots);
}
}
@Override
public boolean isValidArmor(ItemStack itemStack, int armorType, Entity entity){
return true;
}
}