Package org.ships.algorthum.blockfinder
Class Ships5AsyncBlockFinder
java.lang.Object
org.ships.algorthum.blockfinder.Ships5AsyncBlockFinder
- All Implemented Interfaces:
org.core.utils.Identifiable,Algorithm,BasicBlockFinder
-
Field Summary
Fields inherited from interface org.ships.algorthum.blockfinder.BasicBlockFinder
SHIPS_FIVE, SHIPS_FIVE_ASYNC, SHIPS_SIX, SHIPS_SIX_RELEASE_ONE_MULTI_ASYNC, SHIPS_SIX_RELEASE_ONE_SINGLE_ASYNC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetConnectedBlocks(org.core.world.position.impl.BlockPosition position) getConnectedBlocksOvertime(@NotNull org.core.world.position.impl.BlockPosition position, @NotNull OvertimeBlockFinderUpdate runAfterFullSearch) getId()getName()@NotNull Ships5AsyncBlockFinderinit()@NotNull BasicBlockFindersetBlockLimit(int limit) @NotNull BasicBlockFindersetConnectedVessel(@Nullable Vessel vessel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ships.algorthum.blockfinder.BasicBlockFinder
getConnectedBlocksOvertime
-
Constructor Details
-
Ships5AsyncBlockFinder
public Ships5AsyncBlockFinder()
-
-
Method Details
-
init
- Specified by:
initin interfaceBasicBlockFinder
-
getConnectedBlocksOvertime
public CompletableFuture<PositionableShipsStructure> getConnectedBlocksOvertime(@NotNull @NotNull org.core.world.position.impl.BlockPosition position, @NotNull @NotNull OvertimeBlockFinderUpdate runAfterFullSearch) - Specified by:
getConnectedBlocksOvertimein interfaceBasicBlockFinder
-
getBlockLimit
public int getBlockLimit()- Specified by:
getBlockLimitin interfaceBasicBlockFinder
-
setBlockLimit
- Specified by:
setBlockLimitin interfaceBasicBlockFinder
-
getConnectedVessel
- Specified by:
getConnectedVesselin interfaceBasicBlockFinder
-
setConnectedVessel
- Specified by:
setConnectedVesselin interfaceBasicBlockFinder
-
getConnectedBlocks
public PositionableShipsStructure getConnectedBlocks(org.core.world.position.impl.BlockPosition position) -
getId
- Specified by:
getIdin interfaceorg.core.utils.Identifiable
-
getName
- Specified by:
getNamein interfaceorg.core.utils.Identifiable
-