Package net.sandrohc.schematic4j.utils
Class BlockIteratorImpl<T>
java.lang.Object
net.sandrohc.schematic4j.utils.BlockIteratorImpl<T>
- All Implemented Interfaces:
Iterator<SchematicBlock>,BlockIterator
-
Field Details
-
blocks
-
width
protected final int width -
height
protected final int height -
length
protected final int length -
total
protected final int total -
x
protected int x -
y
protected int y -
z
protected int z -
i
protected int i
-
-
Constructor Details
-
BlockIteratorImpl
-
-
Method Details
-
hasNext
public boolean hasNext() -
width
public int width()- Specified by:
widthin interfaceBlockIterator
-
height
public int height()- Specified by:
heightin interfaceBlockIterator
-
length
public int length()- Specified by:
lengthin interfaceBlockIterator
-
x
public int x()- Specified by:
xin interfaceBlockIterator
-
y
public int y()- Specified by:
yin interfaceBlockIterator
-
z
public int z()- Specified by:
zin interfaceBlockIterator
-