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,8 @@
|
|||
package WayofTime.alchemicalWizardry.common.rituals;
|
||||
|
||||
import WayofTime.alchemicalWizardry.common.LifeEssenceNetwork;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
@ -10,13 +11,15 @@ import net.minecraft.potion.PotionEffect;
|
|||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
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 RitualEffectFeatheredEarth extends RitualEffect //Nullifies all fall damage in the area of effect
|
||||
{
|
||||
@Override
|
||||
public void performEffect(TEMasterStone ritualStone)
|
||||
public void performEffect(IMasterRitualStone ritualStone)
|
||||
{
|
||||
String owner = ritualStone.getOwner();
|
||||
World worldSave = MinecraftServer.getServer().worldServers[0];
|
||||
|
@ -29,10 +32,10 @@ public class RitualEffectFeatheredEarth extends RitualEffect //Nullifies all fal
|
|||
}
|
||||
|
||||
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 (ritualStone.getCooldown() > 0)
|
||||
{
|
||||
|
@ -87,4 +90,51 @@ public class RitualEffectFeatheredEarth extends RitualEffect //Nullifies all fal
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RitualComponent> getRitualComponentList()
|
||||
{
|
||||
ArrayList<RitualComponent> featheredEarthRitual = new ArrayList();
|
||||
featheredEarthRitual.add(new RitualComponent(1, 0, 0, RitualComponent.DUSK));
|
||||
featheredEarthRitual.add(new RitualComponent(-1, 0, 0, RitualComponent.DUSK));
|
||||
featheredEarthRitual.add(new RitualComponent(0, 0, 1, RitualComponent.DUSK));
|
||||
featheredEarthRitual.add(new RitualComponent(0, 0, -1, RitualComponent.DUSK));
|
||||
featheredEarthRitual.add(new RitualComponent(2, 0, 2, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-2, 0, 2, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-2, 0, -2, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(2, 0, -2, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(1, 0, 3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(0, 0, 3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(-1, 0, 3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(1, 0, -3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(0, 0, -3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(-1, 0, -3, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(3, 0, 1, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(3, 0, 0, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(3, 0, -1, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(-3, 0, 1, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(-3, 0, 0, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(-3, 0, -1, RitualComponent.EARTH));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 4, 4, RitualComponent.FIRE));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 4, 4, RitualComponent.FIRE));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 4, -4, RitualComponent.FIRE));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 4, -4, RitualComponent.FIRE));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 5, 5, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 5, 3, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(5, 5, 4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(3, 5, 4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 5, 5, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 5, 3, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-5, 5, 4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-3, 5, 4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 5, -5, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(4, 5, -3, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(5, 5, -4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(3, 5, -4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 5, -5, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-4, 5, -3, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-5, 5, -4, RitualComponent.AIR));
|
||||
featheredEarthRitual.add(new RitualComponent(-3, 5, -4, RitualComponent.AIR));
|
||||
return featheredEarthRitual;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue