Fixed Ritual area (#1532)
This commit is contained in:
parent
74436a1338
commit
3751a51935
|
@ -18,13 +18,13 @@ public class RitualCondor extends Ritual {
|
||||||
|
|
||||||
public RitualCondor() {
|
public RitualCondor() {
|
||||||
super("ritualCondor", 0, 1000000, "ritual." + BloodMagic.MODID + ".condorRitual");
|
super("ritualCondor", 0, 1000000, "ritual." + BloodMagic.MODID + ".condorRitual");
|
||||||
addBlockRange(FLIGHT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(0, 0, 0), new BlockPos(10, 30, 10)));
|
addBlockRange(FLIGHT_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-10, 0, -10), new BlockPos(10, 30, 10)));
|
||||||
setMaximumVolumeAndDistanceOfRange(FLIGHT_RANGE, 0, 100, 200);
|
setMaximumVolumeAndDistanceOfRange(FLIGHT_RANGE, 0, 100, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void performRitual(IMasterRitualStone masterRitualStone) {
|
public void performRitual(IMasterRitualStone masterRitualStone) {
|
||||||
AxisAlignedBB aabb = masterRitualStone.getBlockRange(FLIGHT_RANGE).getAABB(masterRitualStone.getBlockPos()).expand(-10, 0, -10);
|
AxisAlignedBB aabb = masterRitualStone.getBlockRange(FLIGHT_RANGE).getAABB(masterRitualStone.getBlockPos());
|
||||||
World world = masterRitualStone.getWorldObj();
|
World world = masterRitualStone.getWorldObj();
|
||||||
|
|
||||||
int currentEssence = masterRitualStone.getOwnerNetwork().getCurrentEssence();
|
int currentEssence = masterRitualStone.getOwnerNetwork().getCurrentEssence();
|
||||||
|
|
Loading…
Reference in a new issue