Package org.ships.vessel.common.finder
Class VesselBlockFinder
java.lang.Object
org.ships.vessel.common.finder.VesselBlockFinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Vessel
findCached
(@NotNull org.core.world.position.impl.BlockPosition position) findOvertime
(org.core.world.position.impl.BlockPosition position) findOvertime
(org.core.world.position.impl.BlockPosition position, BiConsumer<PositionableShipsStructure, org.core.world.position.impl.BlockPosition> consumer)
-
Constructor Details
-
VesselBlockFinder
public VesselBlockFinder()
-
-
Method Details
-
findCached
public static Vessel findCached(@NotNull @NotNull org.core.world.position.impl.BlockPosition position) throws LoadVesselException - Throws:
LoadVesselException
-
findOvertime
public static CompletableFuture<Map.Entry<PositionableShipsStructure,Optional<Vessel>>> findOvertime(org.core.world.position.impl.BlockPosition position) -
findOvertime
public static CompletableFuture<Map.Entry<PositionableShipsStructure,Optional<Vessel>>> findOvertime(org.core.world.position.impl.BlockPosition position, BiConsumer<PositionableShipsStructure, org.core.world.position.impl.BlockPosition> consumer)
-