Class OnionIterator
java.lang.Object
net.neoforged.neoforge.server.command.generation.OnionIterator
- All Implemented Interfaces:
Iterator<net.minecraft.world.level.ChunkPos>
Special thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!
Original code: https://github.com/jaskarth/fabric-chunkpregenerator
-
Field Details
-
EAST
private static final byte EAST- See Also:
-
SOUTH
private static final byte SOUTH- See Also:
-
WEST
private static final byte WEST- See Also:
-
NORTH
private static final byte NORTH- See Also:
-
STOP
private static final byte STOP- See Also:
-
radius
private final int radius -
x
private int x -
z
private int z -
distance
private int distance -
state
private byte state
-
-
Constructor Details
-
OnionIterator
public OnionIterator(int radius)
-
-
Method Details