Added directionality to rituals.
This commit is contained in:
parent
971d4c4d1e
commit
0e1173ef5d
5 changed files with 34 additions and 11 deletions
|
@ -37,4 +37,8 @@ public class RitualComponent {
|
|||
return this.getOffset().getZ();
|
||||
}
|
||||
}
|
||||
|
||||
public BlockPos getOffset(EnumFacing direction) {
|
||||
return new BlockPos(getX(direction), offset.getY(), getZ(direction));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue