Class BlueprintIteratorDefault
java.lang.Object
com.ldtteam.structurize.placement.AbstractBlueprintIterator
com.ldtteam.structurize.placement.BlueprintIteratorDefault
- All Implemented Interfaces:
IBlueprintIterator
This is the default blueprint iterator.
It's a helper class used to track the progress of one iteration over the structure.
-
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, prevProgressPos, progressPos, size -
Constructor Summary
ConstructorsConstructorDescriptionBlueprintIteratorDefault(IStructureHandler structureHandler) Initialize the blueprint iterator with the structure handler. -
Method Summary
Modifier and TypeMethodDescriptionDecrement method, create in implementation.Increment progressPos.Methods inherited from class com.ldtteam.structurize.placement.AbstractBlueprintIterator
decrement, getBluePrintPositionInfo, getPrevProgressPos, getProgressPos, getSize, getStructureHandler, hasEntities, includeEntities, increment, isRemoving, reset, setProgressPos, setRemoving
-
Constructor Details
-
BlueprintIteratorDefault
Initialize the blueprint iterator with the structure handler.- Parameters:
structureHandler- the structure handler.
-
-
Method Details
-
increment
Increment progressPos.- Returns:
- false if the all the block have been incremented through.
-
decrement
Description copied from interface:IBlueprintIteratorDecrement method, create in implementation.- Returns:
- decrement the structure position (y--).
-