1.0.1d push
This commit is contained in:
parent
e13818e2da
commit
1c0deadfc6
129 changed files with 4403 additions and 2247 deletions
|
@ -1,7 +1,9 @@
|
|||
package WayofTime.alchemicalWizardry.common.rituals;
|
||||
|
||||
import WayofTime.alchemicalWizardry.common.LifeEssenceNetwork;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.potion.Potion;
|
||||
|
@ -9,9 +11,10 @@ import net.minecraft.potion.PotionEffect;
|
|||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.RitualComponent;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
|
||||
import WayofTime.alchemicalWizardry.api.soulNetwork.LifeEssenceNetwork;
|
||||
|
||||
public class RitualEffectHealing extends RitualEffect
|
||||
{
|
||||
|
@ -19,7 +22,7 @@ public class RitualEffectHealing extends RitualEffect
|
|||
//public final int amount = 10;
|
||||
|
||||
@Override
|
||||
public void performEffect(TEMasterStone ritualStone)
|
||||
public void performEffect(IMasterRitualStone ritualStone)
|
||||
{
|
||||
String owner = ritualStone.getOwner();
|
||||
World worldSave = MinecraftServer.getServer().worldServers[0];
|
||||
|
@ -32,10 +35,10 @@ public class RitualEffectHealing extends RitualEffect
|
|||
}
|
||||
|
||||
int currentEssence = data.currentEssence;
|
||||
World world = ritualStone.getWorldObj();
|
||||
int x = ritualStone.xCoord;
|
||||
int y = ritualStone.yCoord;
|
||||
int z = ritualStone.zCoord;
|
||||
World world = ritualStone.getWorld();
|
||||
int x = ritualStone.getXCoord();
|
||||
int y = ritualStone.getYCoord();
|
||||
int z = ritualStone.getZCoord();
|
||||
|
||||
if (world.getWorldTime() % this.timeDelay != 0)
|
||||
{
|
||||
|
@ -123,4 +126,55 @@ public class RitualEffectHealing extends RitualEffect
|
|||
// TODO Auto-generated method stub
|
||||
return 20;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RitualComponent> getRitualComponentList()
|
||||
{
|
||||
ArrayList<RitualComponent> healingRitual = new ArrayList();
|
||||
healingRitual.add(new RitualComponent(4, 0, 0, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(5, 0, -1, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(5, 0, 1, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(-4, 0, 0, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(-5, 0, -1, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(-5, 0, 1, RitualComponent.AIR));
|
||||
healingRitual.add(new RitualComponent(0, 0, 4, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(-1, 0, 5, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(1, 0, 5, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(0, 0, -4, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(-1, 0, -5, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(1, 0, -5, RitualComponent.FIRE));
|
||||
healingRitual.add(new RitualComponent(3, 0, 5, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(5, 0, 3, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(3, 0, -5, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(5, 0, -3, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(-3, 0, 5, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(-5, 0, 3, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(-3, 0, -5, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(-5, 0, -3, RitualComponent.WATER));
|
||||
healingRitual.add(new RitualComponent(-3, 0, -3, RitualComponent.DUSK));
|
||||
healingRitual.add(new RitualComponent(-3, 0, 3, RitualComponent.DUSK));
|
||||
healingRitual.add(new RitualComponent(3, 0, -3, RitualComponent.DUSK));
|
||||
healingRitual.add(new RitualComponent(3, 0, 3, RitualComponent.DUSK));
|
||||
healingRitual.add(new RitualComponent(4, 0, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(4, -1, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, 0, 4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, -1, 4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, 0, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(4, 0, -5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(4, -1, -5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, 0, -4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, -1, -4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(5, 0, -5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-4, 0, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-4, -1, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, 0, 4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, -1, 4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, 0, 5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-4, 0, -5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-4, -1, -5, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, 0, -4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, -1, -4, RitualComponent.EARTH));
|
||||
healingRitual.add(new RitualComponent(-5, 0, -5, RitualComponent.EARTH));
|
||||
return healingRitual;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue