Move Revealing upgrade to tc compat class/package
This commit is contained in:
parent
ba601c47b6
commit
65dd24b19b
3 changed files with 4 additions and 7 deletions
|
@ -2,8 +2,6 @@ package WayofTime.bloodmagic.compat.thaumcraft;
|
|||
|
||||
import WayofTime.bloodmagic.api.livingArmour.LivingArmourHandler;
|
||||
import WayofTime.bloodmagic.compat.ICompatibility;
|
||||
import WayofTime.bloodmagic.compat.thaumcraft.LivingArmourUpgradeThaumRunicShielding;
|
||||
import WayofTime.bloodmagic.compat.thaumcraft.StatTrackerThaumRunicShielding;
|
||||
import WayofTime.bloodmagic.compat.thaumcraft.research.BloodMagicResearch;
|
||||
|
||||
public class CompatibilityThaumcraft implements ICompatibility
|
||||
|
@ -18,6 +16,7 @@ public class CompatibilityThaumcraft implements ICompatibility
|
|||
LivingArmourHandler.registerStatTracker(StatTrackerThaumRunicShielding.class);
|
||||
|
||||
LivingArmourHandler.registerArmourUpgrade(new LivingArmourUpgradeThaumRunicShielding(0));
|
||||
LivingArmourHandler.registerArmourUpgrade(new LivingArmourUpgradeThaumRevealing(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
package WayofTime.bloodmagic.compat.thaumcraft;
|
||||
|
||||
import WayofTime.bloodmagic.api.Constants;
|
||||
import WayofTime.bloodmagic.api.livingArmour.LivingArmourUpgrade;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
public class LivingArmourUpgradeThaumRevealing extends LivingArmourUpgrade {
|
||||
|
||||
public LivingArmourUpgradeThaumRevealing(int level) {
|
||||
super(level);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUniqueIdentifier() {
|
||||
return Constants.Mod.MODID + ".upgrade.revealing";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName() {
|
||||
return tooltipBase + "revealing";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxTier() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCostOfUpgrade() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound tag) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound tag) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue