public class RegionIterator
extends java.lang.Object
implements java.util.Iterator<net.minecraft.util.BlockPos>
| Constructor and Description |
|---|
RegionIterator(net.minecraft.util.BlockPos center,
int offset)
Make a new instance without shuffling the locations.
|
RegionIterator(net.minecraft.util.BlockPos center,
int offset,
boolean shuffle)
Make a new instance.
|
public RegionIterator(net.minecraft.util.BlockPos center,
int offset,
boolean shuffle)
center - The center.offset - The offset.shuffle - If the resulting locations from the iterator should deterministicly be shuffled.public RegionIterator(net.minecraft.util.BlockPos center,
int offset)
center - The center.offset - The offset.public boolean hasNext()
hasNext in interface java.util.Iterator<net.minecraft.util.BlockPos>public net.minecraft.util.BlockPos next()
next in interface java.util.Iterator<net.minecraft.util.BlockPos>public void remove()
remove in interface java.util.Iterator<net.minecraft.util.BlockPos>