Class PositionIteratorUtils
java.lang.Object
me.hsgamer.hscore.minecraft.block.utils.PositionIteratorUtils
The utility class for 
PositionIterator- 
Method SummaryModifier and TypeMethodDescriptionstatic PositionIteratorGet thePositionIteratorby the typeGet the registered typesstatic PositionIteratorCreate aRandomTypePositionIteratorfor theBlockBoxstatic voidregisterType(String type, Function<BlockBox, PositionIterator> typeFunction) Register aPositionIteratortype
- 
Method Details- 
registerTypeRegister aPositionIteratortype- Parameters:
- type- the type
- typeFunction- the function to create the- PositionIterator
 
- 
randomCreate aRandomTypePositionIteratorfor theBlockBox- Parameters:
- box- the- BlockBox
- Returns:
- the PositionIterator
 
- 
getGet thePositionIteratorby the type- Parameters:
- type- the type
- box- the- BlockBox
- Returns:
- the PositionIterator
 
- 
getRegisteredTypesGet the registered types- Returns:
- the registered types
 
 
-