Finished more ritual stuff

This commit is contained in:
WayofTime 2016-04-11 17:31:14 -04:00
parent 91ddb8b761
commit 0a2dfb4fd4
8 changed files with 56 additions and 25 deletions

View file

@ -19,6 +19,7 @@ public class RitualSpeed extends Ritual
{
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)));
setMaximumVolumeAndDistanceOfRange(SPEED_RANGE, 0, 2, 5);
}
@Override
@ -73,6 +74,8 @@ public class RitualSpeed extends Ritual
entity.motionY = motionY;
entity.motionZ = 0;
break;
default:
break;
}
}