public class OnionTraverser
extends java.lang.Object
implements java.lang.Iterable<net.minecraft.util.math.BlockPos>
This traverser iterates "layers" (like an onion) around the center point. Being Minecraft, the layers are boxes around the center point.
| Modifier and Type | Class and Description |
|---|---|
class |
OnionTraverser.OnionIterator |
| Constructor and Description |
|---|
OnionTraverser(net.minecraft.util.math.BlockPos center,
int radius) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<net.minecraft.util.math.BlockPos> |
iterator() |