Class CoarseOnionIterator.CellIterator

java.lang.Object
net.neoforged.neoforge.server.command.generation.CoarseOnionIterator.CellIterator
All Implemented Interfaces:
Iterator<net.minecraft.world.level.ChunkPos>
Enclosing class:
CoarseOnionIterator

private static final class CoarseOnionIterator.CellIterator extends Object implements Iterator<net.minecraft.world.level.ChunkPos>
  • Field Details

    • x0

      private final int x0
    • x1

      private final int x1
    • z1

      private final int z1
    • x

      private int x
    • z

      private int z
  • Constructor Details

    • CellIterator

      private CellIterator(int x0, int z0, int x1, int z1)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<net.minecraft.world.level.ChunkPos>
    • next

      public net.minecraft.world.level.ChunkPos next()
      Specified by:
      next in interface Iterator<net.minecraft.world.level.ChunkPos>