Finished more ritual stuff
This commit is contained in:
parent
91ddb8b761
commit
0a2dfb4fd4
|
@ -20,6 +20,7 @@ public class RitualAnimalGrowth extends Ritual
|
||||||
{
|
{
|
||||||
super("ritualAnimalGrowth", 0, 10000, "ritual." + Constants.Mod.MODID + ".animalGrowthRitual");
|
super("ritualAnimalGrowth", 0, 10000, "ritual." + Constants.Mod.MODID + ".animalGrowthRitual");
|
||||||
addBlockRange(GROWTH_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 1, -2), 5, 2, 5));
|
addBlockRange(GROWTH_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 1, -2), 5, 2, 5));
|
||||||
|
setMaximumVolumeAndDistanceOfRange(GROWTH_RANGE, 0, 3, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -20,6 +20,7 @@ public class RitualContainment extends Ritual
|
||||||
{
|
{
|
||||||
super("ritualContainment", 0, 2000, "ritual." + Constants.Mod.MODID + ".containmentRitual");
|
super("ritualContainment", 0, 2000, "ritual." + Constants.Mod.MODID + ".containmentRitual");
|
||||||
addBlockRange(CONTAINMENT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-3, 0, -3), 7));
|
addBlockRange(CONTAINMENT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-3, 0, -3), 7));
|
||||||
|
setMaximumVolumeAndDistanceOfRange(CONTAINMENT_RANGE, 0, 5, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,29 +1,33 @@
|
||||||
package WayofTime.bloodmagic.ritual;
|
package WayofTime.bloodmagic.ritual;
|
||||||
|
|
||||||
import WayofTime.bloodmagic.api.Constants;
|
import java.util.ArrayList;
|
||||||
import WayofTime.bloodmagic.api.iface.IBindable;
|
import java.util.List;
|
||||||
import WayofTime.bloodmagic.api.network.SoulNetwork;
|
import java.util.Random;
|
||||||
import WayofTime.bloodmagic.api.ritual.*;
|
|
||||||
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
|
||||||
import WayofTime.bloodmagic.api.util.helper.PlayerHelper;
|
|
||||||
import com.google.common.base.Strings;
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.entity.player.EntityPlayerMP;
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
import net.minecraft.inventory.IInventory;
|
import net.minecraft.inventory.IInventory;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import net.minecraft.util.EnumParticleTypes;
|
import net.minecraft.util.EnumParticleTypes;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.math.MathHelper;
|
import net.minecraft.util.math.MathHelper;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.MinecraftForge;
|
import net.minecraftforge.common.MinecraftForge;
|
||||||
import net.minecraftforge.event.entity.living.EnderTeleportEvent;
|
import net.minecraftforge.event.entity.living.EnderTeleportEvent;
|
||||||
|
import WayofTime.bloodmagic.api.Constants;
|
||||||
|
import WayofTime.bloodmagic.api.iface.IBindable;
|
||||||
|
import WayofTime.bloodmagic.api.network.SoulNetwork;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.AreaDescriptor;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.EnumRuneType;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.IMasterRitualStone;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.Ritual;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.RitualComponent;
|
||||||
|
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
||||||
|
import WayofTime.bloodmagic.api.util.helper.PlayerHelper;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import com.google.common.base.Strings;
|
||||||
import java.util.List;
|
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
public class RitualExpulsion extends Ritual
|
public class RitualExpulsion extends Ritual
|
||||||
{
|
{
|
||||||
|
@ -33,6 +37,7 @@ public class RitualExpulsion extends Ritual
|
||||||
{
|
{
|
||||||
super("ritualExpulsion", 0, 10000, "ritual." + Constants.Mod.MODID + ".expulsionRitual");
|
super("ritualExpulsion", 0, 10000, "ritual." + Constants.Mod.MODID + ".expulsionRitual");
|
||||||
addBlockRange(EXPULSION_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-12, 0, -12), 25));
|
addBlockRange(EXPULSION_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-12, 0, -12), 25));
|
||||||
|
setMaximumVolumeAndDistanceOfRange(EXPULSION_RANGE, 0, 12, 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -24,7 +24,7 @@ import WayofTime.bloodmagic.tile.TileDemonCrystal;
|
||||||
|
|
||||||
public class RitualForsakenSoul extends Ritual
|
public class RitualForsakenSoul extends Ritual
|
||||||
{
|
{
|
||||||
public static final String CRYSTAL_RANGE = "altar";
|
public static final String CRYSTAL_RANGE = "crystal";
|
||||||
public static final String DAMAGE_RANGE = "damage";
|
public static final String DAMAGE_RANGE = "damage";
|
||||||
public static final int MAX_UNIQUENESS = 10;
|
public static final int MAX_UNIQUENESS = 10;
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ public class RitualForsakenSoul extends Ritual
|
||||||
super("ritualForsakenSoul", 0, 40000, "ritual." + Constants.Mod.MODID + ".forsakenSoulRitual");
|
super("ritualForsakenSoul", 0, 40000, "ritual." + Constants.Mod.MODID + ".forsakenSoulRitual");
|
||||||
addBlockRange(CRYSTAL_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-3, 2, -3), 7, 5, 7));
|
addBlockRange(CRYSTAL_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-3, 2, -3), 7, 5, 7));
|
||||||
addBlockRange(DAMAGE_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-10, -10, -10), 21));
|
addBlockRange(DAMAGE_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-10, -10, -10), 21));
|
||||||
|
|
||||||
|
setMaximumVolumeAndDistanceOfRange(CRYSTAL_RANGE, 250, 5, 7);
|
||||||
|
setMaximumVolumeAndDistanceOfRange(DAMAGE_RANGE, 0, 10, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -20,6 +20,7 @@ public class RitualInterdiction extends Ritual
|
||||||
{
|
{
|
||||||
super("ritualInterdiction", 0, 1000, "ritual." + Constants.Mod.MODID + ".interdictionRitual");
|
super("ritualInterdiction", 0, 1000, "ritual." + Constants.Mod.MODID + ".interdictionRitual");
|
||||||
addBlockRange(INTERDICTION_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 0, -2), 5));
|
addBlockRange(INTERDICTION_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 0, -2), 5));
|
||||||
|
setMaximumVolumeAndDistanceOfRange(INTERDICTION_RANGE, 0, 5, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -19,6 +19,7 @@ public class RitualSpeed extends Ritual
|
||||||
{
|
{
|
||||||
super("ritualSpeed", 0, 1000, "ritual." + Constants.Mod.MODID + ".speedRitual");
|
super("ritualSpeed", 0, 1000, "ritual." + Constants.Mod.MODID + ".speedRitual");
|
||||||
addBlockRange(SPEED_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 1, -2), new BlockPos(2, 5, 2)));
|
addBlockRange(SPEED_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-2, 1, -2), new BlockPos(2, 5, 2)));
|
||||||
|
setMaximumVolumeAndDistanceOfRange(SPEED_RANGE, 0, 2, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -73,6 +74,8 @@ public class RitualSpeed extends Ritual
|
||||||
entity.motionY = motionY;
|
entity.motionY = motionY;
|
||||||
entity.motionZ = 0;
|
entity.motionZ = 0;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
package WayofTime.bloodmagic.ritual;
|
package WayofTime.bloodmagic.ritual;
|
||||||
|
|
||||||
import WayofTime.bloodmagic.api.Constants;
|
import java.util.ArrayList;
|
||||||
import WayofTime.bloodmagic.api.network.SoulNetwork;
|
|
||||||
import WayofTime.bloodmagic.api.ritual.*;
|
|
||||||
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
|
||||||
import WayofTime.bloodmagic.tile.TileSpectralBlock;
|
|
||||||
import WayofTime.bloodmagic.util.Utils;
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import WayofTime.bloodmagic.api.Constants;
|
||||||
import java.util.ArrayList;
|
import WayofTime.bloodmagic.api.network.SoulNetwork;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.AreaDescriptor;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.EnumRuneType;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.IMasterRitualStone;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.Ritual;
|
||||||
|
import WayofTime.bloodmagic.api.ritual.RitualComponent;
|
||||||
|
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
||||||
|
import WayofTime.bloodmagic.tile.TileSpectralBlock;
|
||||||
|
import WayofTime.bloodmagic.util.Utils;
|
||||||
|
|
||||||
public class RitualSuppression extends Ritual
|
public class RitualSuppression extends Ritual
|
||||||
{
|
{
|
||||||
|
|
|
@ -166,10 +166,10 @@ tile.BloodMagic.rune.blank.name=Blank Rune
|
||||||
tile.BloodMagic.rune.speed.name=Speed Rune
|
tile.BloodMagic.rune.speed.name=Speed Rune
|
||||||
tile.BloodMagic.rune.efficiency.name=Efficiency Rune
|
tile.BloodMagic.rune.efficiency.name=Efficiency Rune
|
||||||
tile.BloodMagic.rune.sacrifice.name=Rune of Sacrifice
|
tile.BloodMagic.rune.sacrifice.name=Rune of Sacrifice
|
||||||
tile.BloodMagic.rune.selfSacrifice.name=Rune of Self Sacrifice
|
tile.BloodMagic.rune.selfsacrifice.name=Rune of Self Sacrifice
|
||||||
tile.BloodMagic.rune.displacement.name=Displacement Rune
|
tile.BloodMagic.rune.displacement.name=Displacement Rune
|
||||||
tile.BloodMagic.rune.capacity.name=Rune of Capacity
|
tile.BloodMagic.rune.capacity.name=Rune of Capacity
|
||||||
tile.BloodMagic.rune.augCapacity.name=Rune of Augmented Capacity
|
tile.BloodMagic.rune.augcapacity.name=Rune of Augmented Capacity
|
||||||
tile.BloodMagic.rune.orb.name=Rune of the Orb
|
tile.BloodMagic.rune.orb.name=Rune of the Orb
|
||||||
tile.BloodMagic.rune.acceleration.name=Acceleration Rune
|
tile.BloodMagic.rune.acceleration.name=Acceleration Rune
|
||||||
tile.BloodMagic.rune.charging.name=Charging Rune
|
tile.BloodMagic.rune.charging.name=Charging Rune
|
||||||
|
@ -439,7 +439,21 @@ ritual.BloodMagic.featheredKnifeRitual.altar.info=(Altar) This range defines the
|
||||||
ritual.BloodMagic.featheredKnifeRitual.damage.info=(Damage) This defines where the ritual will damage a player. Players inside of this range will receive damage over time up to the specified limit.
|
ritual.BloodMagic.featheredKnifeRitual.damage.info=(Damage) This defines where the ritual will damage a player. Players inside of this range will receive damage over time up to the specified limit.
|
||||||
ritual.BloodMagic.regenerationRitual.heal.info=(Healing) Mobs within this range will receive a regeneration buff.
|
ritual.BloodMagic.regenerationRitual.heal.info=(Healing) Mobs within this range will receive a regeneration buff.
|
||||||
ritual.BloodMagic.harvestRitual.harvestRange.info=(Harvesting) Plants within this range will be harvested.
|
ritual.BloodMagic.harvestRitual.harvestRange.info=(Harvesting) Plants within this range will be harvested.
|
||||||
ritual.BloodMagic.magneticRitual.placementRange.info=
|
ritual.BloodMagic.magneticRitual.placementRange.info=(Placement) The range that the ritual will place the grabbed ores into.
|
||||||
|
ritual.BloodMagic.crushingRitual.crushingRange.info=(Crushing) The blocks that the ritual will break.
|
||||||
|
ritual.BloodMagic.crushingRitual.chest.info=(Chest) The location of the inventory that the ritual will place the broken blocks into.
|
||||||
|
ritual.BloodMagic.fullStomachRitual.fillRange.info=(Feeding) The range that the ritual will look at to feed players.
|
||||||
|
ritual.BloodMagic.fullStomachRitual.chest.info=(Chest) The location of the inventory that the ritual will grab food from to feed players in range.
|
||||||
|
ritual.BloodMagic.interdictionRitual.interdictionRange.info=(Push) The area of the ritual where mobs will be pushed. All mobs are pushed away from the master ritual stone, regardless of where this area is.
|
||||||
|
ritual.BloodMagic.containmentRitual.containmentRange.info=(Containment) The area of the ritual where mobs will be pulled. All mobs are pulled towards the master ritual stone, regardless of where this area is.
|
||||||
|
ritual.BloodMagic.speedRitual.sanicRange.info=(Speed) All entities within this area are launched in the direction of the arrow formed by the ritual.
|
||||||
|
ritual.BloodMagic.suppressionRitual.suppressionRange.info=(Suppress) All liquids within the range are suppressed.
|
||||||
|
ritual.BloodMagic.expulsionRitual.expulsionRange.info=(Expulsion)
|
||||||
|
ritual.BloodMagic.zephyrRitual.zephyrRange.info=(Suction) Items within this range will be sucked into the linked chest.
|
||||||
|
ritual.BloodMagic.zephyrRitual.chest.info=(Chest) The location of the inventory that the ritual will place the picked up items into.
|
||||||
|
ritual.BloodMagic.animalGrowthRitual.growing.info=(Growth) Animals within this range will grow much faster.
|
||||||
|
ritual.BloodMagic.forsakenSoulRitual.crystal.info=(Crystal) Demon Crystals in this range receive an increase in growth speed when a mob is killed by the ritual.
|
||||||
|
ritual.BloodMagic.forsakenSoulRitual.damage.info=(Damage) Mobs within this range will be slowly damaged, and when killed will grow the crystals.
|
||||||
|
|
||||||
# Chat
|
# Chat
|
||||||
chat.BloodMagic.altarMaker.setTier=Set Tier to: %d
|
chat.BloodMagic.altarMaker.setTier=Set Tier to: %d
|
||||||
|
|
Loading…
Reference in a new issue