@@ -64,8 +64,8 @@ public WorldRegionsRegion(@Nonnull final MCAWorld world) {
64
64
public Iterator <BlockVector3 > iterator () {
65
65
Queue <BlockVector2 > queue = new ArrayDeque <>(getChunks ());
66
66
return new Iterator <>() {
67
- private final int by = min .getY ();
68
- private final int ty = max .getY ();
67
+ private final int by = min .y ();
68
+ private final int ty = max .y ();
69
69
private final MutableBlockVector3 mutable = new MutableBlockVector3 ();
70
70
71
71
private BlockVector2 chunk = queue .poll ();
@@ -156,7 +156,7 @@ public int getWidth() {
156
156
BlockVector3 min = getMinimumPoint ();
157
157
BlockVector3 max = getMaximumPoint ();
158
158
159
- return max .getX () - min .getX () + 1 ;
159
+ return max .x () - min .x () + 1 ;
160
160
}
161
161
162
162
/**
@@ -169,7 +169,7 @@ public int getHeight() {
169
169
BlockVector3 min = getMinimumPoint ();
170
170
BlockVector3 max = getMaximumPoint ();
171
171
172
- return max .getY () - min .getY () + 1 ;
172
+ return max .y () - min .y () + 1 ;
173
173
}
174
174
175
175
/**
@@ -182,7 +182,7 @@ public int getLength() {
182
182
BlockVector3 min = getMinimumPoint ();
183
183
BlockVector3 max = getMaximumPoint ();
184
184
185
- return max .getZ () - min .getZ () + 1 ;
185
+ return max .z () - min .z () + 1 ;
186
186
}
187
187
188
188
@ Override
@@ -233,8 +233,8 @@ public Iterator<BlockVector3> iterator() {
233
233
234
234
return new Iterator <>() {
235
235
private final MutableBlockVector3 mutable = new MutableBlockVector3 ();
236
- private final int by = min .getY () >> 4 ;
237
- private final int ty = max .getY () >> 4 ;
236
+ private final int by = min .y () >> 4 ;
237
+ private final int ty = max .y () >> 4 ;
238
238
239
239
private BlockVector2 chunk = chunks .poll ();
240
240
private int y ;
@@ -267,7 +267,7 @@ public Throwable fillInStackTrace() {
267
267
268
268
@ Override
269
269
public int size () {
270
- return getChunks ().size () * ((max .getY () >> 4 ) - (min .getY () >> 4 ));
270
+ return getChunks ().size () * ((max .y () >> 4 ) - (min .y () >> 4 ));
271
271
}
272
272
};
273
273
}
0 commit comments