Search in sources :

Example 26 with RitualComponent

use of WayofTime.alchemicalWizardry.api.rituals.RitualComponent in project BloodMagic by WayofTime.

the class RitualEffectSupression method getRitualComponentList.

@Override
public List<RitualComponent> getRitualComponentList() {
    ArrayList<RitualComponent> supressionRitual = new ArrayList();
    supressionRitual.add(new RitualComponent(2, 0, 2, RitualComponent.WATER));
    supressionRitual.add(new RitualComponent(2, 0, -2, RitualComponent.WATER));
    supressionRitual.add(new RitualComponent(-2, 0, 2, RitualComponent.WATER));
    supressionRitual.add(new RitualComponent(-2, 0, -2, RitualComponent.WATER));
    supressionRitual.add(new RitualComponent(-2, 0, -1, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(-1, 0, -2, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(-2, 0, 1, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(1, 0, -2, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(2, 0, 1, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(1, 0, 2, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(2, 0, -1, RitualComponent.AIR));
    supressionRitual.add(new RitualComponent(-1, 0, 2, RitualComponent.AIR));
    return supressionRitual;
}
Also used : ArrayList(java.util.ArrayList) RitualComponent(WayofTime.alchemicalWizardry.api.rituals.RitualComponent)

Example 27 with RitualComponent

use of WayofTime.alchemicalWizardry.api.rituals.RitualComponent in project BloodMagic by WayofTime.

the class RitualEffectVeilOfEvil method getRitualComponentList.

@Override
public List<RitualComponent> getRitualComponentList() {
    ArrayList<RitualComponent> veilRitual = new ArrayList();
    veilRitual.add(new RitualComponent(1, 0, 2, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(2, 0, 1, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(1, 0, -2, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(-2, 0, 1, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(-1, 0, 2, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(2, 0, -1, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(-1, 0, -2, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(-2, 0, -1, RitualComponent.DUSK));
    veilRitual.add(new RitualComponent(3, 0, 3, RitualComponent.FIRE));
    veilRitual.add(new RitualComponent(-3, 0, 3, RitualComponent.FIRE));
    veilRitual.add(new RitualComponent(3, 0, -3, RitualComponent.FIRE));
    veilRitual.add(new RitualComponent(-3, 0, -3, RitualComponent.FIRE));
    for (int i = 0; i <= 1; i++) {
        veilRitual.add(new RitualComponent((4 + i), i, 0, RitualComponent.DUSK));
        veilRitual.add(new RitualComponent((4 + i), i, -1, RitualComponent.BLANK));
        veilRitual.add(new RitualComponent((4 + i), i, 1, RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(-(4 + i), i, 0, RitualComponent.DUSK));
        veilRitual.add(new RitualComponent(-(4 + i), i, -1, RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(-(4 + i), i, 1, RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(0, i, (4 + i), RitualComponent.DUSK));
        veilRitual.add(new RitualComponent(1, i, (4 + i), RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(-1, i, (4 + i), RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(0, i, -(4 + i), RitualComponent.DUSK));
        veilRitual.add(new RitualComponent(1, i, -(4 + i), RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(-1, i, -(4 + i), RitualComponent.BLANK));
        veilRitual.add(new RitualComponent(4, i, 5, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(5, i, 4, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(4, i, -5, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(-5, i, 4, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(-4, i, 5, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(5, i, -4, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(-4, i, -5, RitualComponent.EARTH));
        veilRitual.add(new RitualComponent(-5, i, -4, RitualComponent.EARTH));
    }
    veilRitual.add(new RitualComponent(5, 1, 5, RitualComponent.BLANK));
    veilRitual.add(new RitualComponent(-5, 1, 5, RitualComponent.BLANK));
    veilRitual.add(new RitualComponent(5, 1, -5, RitualComponent.BLANK));
    veilRitual.add(new RitualComponent(-5, 1, -5, RitualComponent.BLANK));
    return veilRitual;
}
Also used : ArrayList(java.util.ArrayList) RitualComponent(WayofTime.alchemicalWizardry.api.rituals.RitualComponent)

Example 28 with RitualComponent

use of WayofTime.alchemicalWizardry.api.rituals.RitualComponent in project BloodMagic by WayofTime.

the class RitualEffectFlight method getRitualComponentList.

@Override
public List<RitualComponent> getRitualComponentList() {
    ArrayList<RitualComponent> flightRitual = new ArrayList();
    flightRitual.add(new RitualComponent(1, 0, 0, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(-1, 0, 0, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(0, 0, 1, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(0, 0, -1, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(2, 0, 2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(-2, 0, 2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(-2, 0, -2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(2, 0, -2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(1, 0, 3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(0, 0, 3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-1, 0, 3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(1, 0, -3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(0, 0, -3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-1, 0, -3, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(3, 0, 1, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(3, 0, 0, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(3, 0, -1, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-3, 0, 1, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-3, 0, 0, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-3, 0, -1, RitualComponent.EARTH));
    flightRitual.add(new RitualComponent(-3, 0, -4, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(-4, 0, -3, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(-3, 0, 4, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(4, 0, -3, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(3, 0, -4, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(-4, 0, 3, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(3, 0, 4, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(4, 0, 3, RitualComponent.WATER));
    flightRitual.add(new RitualComponent(-1, 1, 0, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(1, 1, 0, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(0, 1, -1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(0, 1, 1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-2, 1, 0, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(2, 1, 0, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(0, 1, -2, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(0, 1, 2, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(-4, 1, 0, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(4, 1, 0, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(0, 1, -4, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(0, 1, 4, RitualComponent.BLANK));
    flightRitual.add(new RitualComponent(-5, 1, 0, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(5, 1, 0, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(0, 1, -5, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(0, 1, 5, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(5, 0, 0, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(-5, 0, 0, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(0, 0, 5, RitualComponent.DUSK));
    flightRitual.add(new RitualComponent(0, 0, -5, RitualComponent.DUSK));
    for (int i = 2; i <= 4; i++) {
        flightRitual.add(new RitualComponent(-i, 2, 0, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(i, 2, 0, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(0, 2, -i, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(0, 2, i, RitualComponent.EARTH));
    }
    flightRitual.add(new RitualComponent(2, 4, 1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(1, 4, 2, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-2, 4, 1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(1, 4, -2, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(2, 4, -1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-1, 4, 2, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-2, 4, -1, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-1, 4, -2, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(2, 4, 2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(-2, 4, 2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(2, 4, -2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(-2, 4, -2, RitualComponent.AIR));
    flightRitual.add(new RitualComponent(-4, 2, -4, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(4, 2, 4, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(4, 2, -4, RitualComponent.FIRE));
    flightRitual.add(new RitualComponent(-4, 2, 4, RitualComponent.FIRE));
    for (int i = -1; i <= 1; i++) {
        flightRitual.add(new RitualComponent(3, 4, i, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(-3, 4, i, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(i, 4, 3, RitualComponent.EARTH));
        flightRitual.add(new RitualComponent(i, 4, -3, RitualComponent.EARTH));
    }
    return flightRitual;
}
Also used : ArrayList(java.util.ArrayList) RitualComponent(WayofTime.alchemicalWizardry.api.rituals.RitualComponent)

Example 29 with RitualComponent

use of WayofTime.alchemicalWizardry.api.rituals.RitualComponent in project BloodMagic by WayofTime.

the class RitualEffectGrowth method getRitualComponentList.

@Override
public List<RitualComponent> getRitualComponentList() {
    ArrayList<RitualComponent> growthRitual = new ArrayList();
    growthRitual.add(new RitualComponent(1, 0, 0, 1));
    growthRitual.add(new RitualComponent(-1, 0, 0, 1));
    growthRitual.add(new RitualComponent(0, 0, 1, 1));
    growthRitual.add(new RitualComponent(0, 0, -1, 1));
    growthRitual.add(new RitualComponent(-1, 0, 1, 3));
    growthRitual.add(new RitualComponent(1, 0, 1, 3));
    growthRitual.add(new RitualComponent(-1, 0, -1, 3));
    growthRitual.add(new RitualComponent(1, 0, -1, 3));
    return growthRitual;
}
Also used : ArrayList(java.util.ArrayList) RitualComponent(WayofTime.alchemicalWizardry.api.rituals.RitualComponent)

Example 30 with RitualComponent

use of WayofTime.alchemicalWizardry.api.rituals.RitualComponent in project BloodMagic by WayofTime.

the class RitualEffectJumping method getRitualComponentList.

@Override
public List<RitualComponent> getRitualComponentList() {
    ArrayList<RitualComponent> jumpingRitual = new ArrayList();
    for (int i = -1; i <= 1; i++) {
        jumpingRitual.add(new RitualComponent(1, i, 1, RitualComponent.AIR));
        jumpingRitual.add(new RitualComponent(-1, i, 1, RitualComponent.AIR));
        jumpingRitual.add(new RitualComponent(-1, i, -1, RitualComponent.AIR));
        jumpingRitual.add(new RitualComponent(1, i, -1, RitualComponent.AIR));
    }
    return jumpingRitual;
}
Also used : ArrayList(java.util.ArrayList) RitualComponent(WayofTime.alchemicalWizardry.api.rituals.RitualComponent)

Aggregations

RitualComponent (WayofTime.alchemicalWizardry.api.rituals.RitualComponent)39 ArrayList (java.util.ArrayList)34 ItemStack (net.minecraft.item.ItemStack)3 TileEntity (net.minecraft.tileentity.TileEntity)3 TEMasterStone (WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone)2 Vector3 (WayofTime.alchemicalWizardry.api.Vector3)1 IMasterRitualStone (WayofTime.alchemicalWizardry.api.rituals.IMasterRitualStone)1 RitualEffect (WayofTime.alchemicalWizardry.api.rituals.RitualEffect)1 RitualStone (WayofTime.alchemicalWizardry.common.block.RitualStone)1 ItemRitualDiviner (WayofTime.alchemicalWizardry.common.items.ItemRitualDiviner)1 SubscribeEvent (cpw.mods.fml.common.eventhandler.SubscribeEvent)1 Block (net.minecraft.block.Block)1 Minecraft (net.minecraft.client.Minecraft)1 EntityClientPlayerMP (net.minecraft.client.entity.EntityClientPlayerMP)1 EntityItem (net.minecraft.entity.item.EntityItem)1 World (net.minecraft.world.World)1