Change portal search radius
This commit is contained in:
parent
9d5957aec6
commit
92f1d29211
2 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
|
|||
BlockPos.Mutable basePos = currentPos.mutableCopy().set(currentPos.getX() * multiplier, currentPos.getY(), currentPos.getZ() * multiplier);
|
||||
Direction direction = Direction.EAST;
|
||||
BlockPos.Mutable checkPos = basePos.mutableCopy();
|
||||
for (int step = 1; step < 64; step++) {
|
||||
for (int step = 1; step <= 128; step++) {
|
||||
for (int i = 0; i < (step >> 1); i++) {
|
||||
Chunk chunk = targetWorld.getChunk(checkPos);
|
||||
if (chunk != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue