Redefined the bounding for AreaDescriptor - it is now inclusive for the minimumOffset but is exclusive for the maximumOffset.

This commit is contained in:
WayofTime 2015-12-31 11:25:24 -05:00
parent 63da257260
commit 417114b6f0
5 changed files with 28 additions and 11 deletions

View file

@ -24,7 +24,7 @@ public class RitualJumping extends Ritual
public RitualJumping()
{
super("ritualJump", 0, 1000, "ritual." + Constants.Mod.MODID + ".jumpRitual");
addBlockRange(JUMP_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-1, 1, -1), new BlockPos(1, 2, 1)));
addBlockRange(JUMP_RANGE, new AreaDescriptor.Rectangle(new BlockPos(-1, 1, -1), 3, 1, 3));
}
@Override