Finished more ritual stuff
This commit is contained in:
parent
91ddb8b761
commit
0a2dfb4fd4
8 changed files with 56 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue