Class BlueprintIteratorRandom
java.lang.Object
com.ldtteam.structurize.placement.AbstractBlueprintIterator
com.ldtteam.structurize.placement.BlueprintIteratorRandom
Random blueprint iterator.
Creates a seeded list of positions and iterates it.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator
AbstractBlueprintIterator.Result -
Field Summary
Fields inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator
NULL_POS, progressPos, size -
Constructor Summary
ConstructorsConstructorDescriptionBlueprintIteratorRandom(IStructureHandler structureHandler) Initialize the blueprint iterator with the structure handler. -
Method Summary
Modifier and TypeMethodDescriptionDecrement progressPos.Increment progressPos.Methods inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator
decrement, getBluePrintPositionInfo, getProgressPos, includeEntities, increment, reset, setProgressPos, setRemoving
-
Constructor Details
-
BlueprintIteratorRandom
Initialize the blueprint iterator with the structure handler.- Parameters:
structureHandler- the structure handler.
-
-
Method Details
-
increment
Increment progressPos.- Specified by:
incrementin classAbstractBlueprintIterator- Returns:
- false if the all the block have been incremented through.
-
decrement
Decrement progressPos.- Specified by:
decrementin classAbstractBlueprintIterator- Returns:
- false if progressPos can't be decremented any more.
-