Package org.ships.movement
Class MovementContext
java.lang.Object
org.ships.movement.MovementContext
-
Constructor Summary
ConstructorsConstructorDescriptionMovementContext
(@NotNull MovementDetails details, @NotNull MovementInstruction instruction) -
Method Summary
Modifier and TypeMethodDescriptionOptional<net.kyori.adventure.bossbar.BossBar>
Optional<org.core.world.boss.ServerBossBar>
Deprecated, for removal: This API element is subject to removal in a future version.Optional<org.core.world.position.impl.BlockPosition>
@NotNull Map<org.core.entity.EntitySnapshot<? extends org.core.entity.LiveEntity>,
MovingBlock> BiConsumer<MovementContext,
? super Throwable> @NotNull BasicMovement
boolean
-
Constructor Details
-
MovementContext
public MovementContext(@NotNull @NotNull MovementDetails details, @NotNull @NotNull MovementInstruction instruction)
-
-
Method Details
-
getClicked
-
getBossBar
Deprecated, for removal: This API element is subject to removal in a future version. -
getAdventureBossBar
-
isStrictMovement
public boolean isStrictMovement() -
getMovingStructure
-
getMovement
-
getException
-
getEntities
@NotNull public @NotNull Map<org.core.entity.EntitySnapshot<? extends org.core.entity.LiveEntity>,MovingBlock> getEntities() -
getPostMovementProcess
-
getMidMovementProcess
-
move
- Throws:
MoveException
-