Adding needed backend stuff in the form of packet handling

This commit is contained in:
WayofTime 2015-01-10 14:31:24 -05:00
parent fd437fb4ca
commit c0abd69a2a
5 changed files with 233 additions and 17 deletions

View file

@ -9,6 +9,7 @@ import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.common.omega.OmegaParadigm;
import cpw.mods.fml.relauncher.Side;
@ -17,6 +18,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public abstract class OmegaArmour extends BoundArmour
{
public OmegaParadigm paradigm;
public Reagent reagent;
public OmegaArmour(int armorType)
{
@ -28,6 +30,11 @@ public abstract class OmegaArmour extends BoundArmour
this.paradigm = paradigm;
}
public void setReagent(Reagent reagent)
{
this.reagent = reagent;
}
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack)
{