Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have boots of the meteor and comet implement IRunicArmor #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions java/flaxbeard/thaumicexploration/item/ItemTXArmorSpecial.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import thaumcraft.api.IRepairable;
import thaumcraft.api.IRunicArmor;
import thaumcraft.common.Thaumcraft;
import thaumcraft.common.config.Config;
import thaumcraft.common.items.armor.Hover;
import flaxbeard.thaumicexploration.ThaumicExploration;

public class ItemTXArmorSpecial extends ItemArmor implements IRepairable{
public class ItemTXArmorSpecial extends ItemArmor implements IRepairable, IRunicArmor{

public ItemTXArmorSpecial(int par1, ItemArmor.ArmorMaterial par2EnumArmorMaterial,
int par3, int par4) {
Expand All @@ -33,6 +34,11 @@ public String getArmorTexture(ItemStack stack, Entity entity, int slot, String l
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.rare;
}

@Override
public int getRunicCharge(ItemStack itemstack) {
return 0;
}


@Override
Expand Down Expand Up @@ -117,4 +123,4 @@ else if (Hover.getHover(player.getEntityId()))
}


}
}