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 TypeMethodDescriptionint
getConnectedBlocks
(org.core.world.position.impl.BlockPosition position) getConnectedBlocksOvertime
(@NotNull org.core.world.position.impl.BlockPosition position, @NotNull OvertimeBlockFinderUpdate runAfterFullSearch) getId()
getName()
@NotNull Ships5AsyncBlockFinder
init()
@NotNull BasicBlockFinder
setBlockLimit
(int limit) @NotNull BasicBlockFinder
setConnectedVessel
(@Nullable Vessel vessel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ships.algorthum.blockfinder.BasicBlockFinder
getConnectedBlocksOvertime
-
Constructor Details
-
Ships5AsyncBlockFinder
public Ships5AsyncBlockFinder()
-
-
Method Details
-
init
- Specified by:
init
in interfaceBasicBlockFinder
-
getConnectedBlocksOvertime
public CompletableFuture<PositionableShipsStructure> getConnectedBlocksOvertime(@NotNull @NotNull org.core.world.position.impl.BlockPosition position, @NotNull @NotNull OvertimeBlockFinderUpdate runAfterFullSearch) - Specified by:
getConnectedBlocksOvertime
in interfaceBasicBlockFinder
-
getBlockLimit
public int getBlockLimit()- Specified by:
getBlockLimit
in interfaceBasicBlockFinder
-
setBlockLimit
- Specified by:
setBlockLimit
in interfaceBasicBlockFinder
-
getConnectedVessel
- Specified by:
getConnectedVessel
in interfaceBasicBlockFinder
-
setConnectedVessel
- Specified by:
setConnectedVessel
in interfaceBasicBlockFinder
-
getConnectedBlocks
public PositionableShipsStructure getConnectedBlocks(org.core.world.position.impl.BlockPosition position) -
getId
- Specified by:
getId
in interfaceorg.core.utils.Identifiable
-
getName
- Specified by:
getName
in interfaceorg.core.utils.Identifiable
-