Less steps
This commit is contained in:
parent
3283f9763b
commit
c4384c7419
1 changed files with 1 additions and 2 deletions
|
@ -143,8 +143,7 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
|
||||||
}
|
}
|
||||||
|
|
||||||
private BlockPos.Mutable findCenter(World world, BlockPos.Mutable pos, Direction.Axis axis, int step) {
|
private BlockPos.Mutable findCenter(World world, BlockPos.Mutable pos, Direction.Axis axis, int step) {
|
||||||
if (step > 21) return pos;
|
if (step > 4) return pos;
|
||||||
|
|
||||||
BlockState right, left;
|
BlockState right, left;
|
||||||
Direction rightDir, leftDir;
|
Direction rightDir, leftDir;
|
||||||
rightDir = Direction.from(axis, AxisDirection.POSITIVE);
|
rightDir = Direction.from(axis, AxisDirection.POSITIVE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue