1.0.1d push
This commit is contained in:
parent
e13818e2da
commit
1c0deadfc6
129 changed files with 4403 additions and 2247 deletions
|
@ -4,11 +4,12 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import WayofTime.alchemicalWizardry.common.LifeEssenceNetwork;
|
||||
import WayofTime.alchemicalWizardry.common.rituals.Rituals;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.Rituals;
|
||||
import WayofTime.alchemicalWizardry.api.soulNetwork.LifeEssenceNetwork;
|
||||
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
|
||||
|
||||
public class TEMasterStone extends TileEntity
|
||||
public class TEMasterStone extends TileEntity implements IMasterRitualStone
|
||||
{
|
||||
private int currentRitual;
|
||||
private boolean isActive;
|
||||
|
@ -26,6 +27,7 @@ public class TEMasterStone extends TileEntity
|
|||
cooldown = 0;
|
||||
var1 = 0;
|
||||
direction = 0;
|
||||
varString1 = "";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +40,7 @@ public class TEMasterStone extends TileEntity
|
|||
cooldown = par1NBTTagCompound.getInteger("cooldown");
|
||||
var1 = par1NBTTagCompound.getInteger("var1");
|
||||
direction = par1NBTTagCompound.getInteger("direction");
|
||||
varString1 = par1NBTTagCompound.getString("varString1");
|
||||
// varString1 = par1NBTTagCompound.getString("varString1");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -51,7 +53,7 @@ public class TEMasterStone extends TileEntity
|
|||
par1NBTTagCompound.setInteger("cooldown", cooldown);
|
||||
par1NBTTagCompound.setInteger("var1", var1);
|
||||
par1NBTTagCompound.setInteger("direction", direction);
|
||||
par1NBTTagCompound.setString(varString1, "varString1");
|
||||
// par1NBTTagCompound.setString("varString1", varString1);
|
||||
}
|
||||
|
||||
public void activateRitual(World world, int crystalLevel)
|
||||
|
@ -183,16 +185,6 @@ public class TEMasterStone extends TileEntity
|
|||
{
|
||||
return this.var1;
|
||||
}
|
||||
|
||||
public void setVarString1(String newVar)
|
||||
{
|
||||
this.varString1 = newVar;
|
||||
}
|
||||
|
||||
public String getVarString1()
|
||||
{
|
||||
return this.varString1;
|
||||
}
|
||||
|
||||
public void setActive(boolean active)
|
||||
{
|
||||
|
@ -203,4 +195,28 @@ public class TEMasterStone extends TileEntity
|
|||
{
|
||||
return this.direction;
|
||||
}
|
||||
|
||||
@Override
|
||||
public World getWorld()
|
||||
{
|
||||
return this.getWorldObj();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getXCoord()
|
||||
{
|
||||
return xCoord;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getYCoord()
|
||||
{
|
||||
return yCoord;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getZCoord()
|
||||
{
|
||||
return zCoord;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue