Change portal search radius

This commit is contained in:
Aleksey 2021-03-29 14:59:45 +03:00
parent 9d5957aec6
commit 92f1d29211
2 changed files with 6 additions and 6 deletions

View file

@ -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) {