Package org.ships.vessel.sign
Interface ShipsSign
- All Superinterfaces:
org.core.utils.Identifiable
- All Known Implementing Classes:
AltitudeSign,EOTSign,LicenceSign,MoveSign,WheelSign
public interface ShipsSign
extends org.core.utils.Identifiable
-
Method Summary
Modifier and TypeMethodDescriptionvoidchangeInto(@NotNull org.core.world.position.block.entity.sign.SignSide sign) default Optional<org.core.world.position.block.entity.sign.SignSide>getSide(org.core.world.position.block.entity.sign.SignTileEntity entity) default booleanisSign(@NotNull org.core.world.position.block.entity.sign.SignTileEntity entity) booleanbooleanonPrimaryClick(@NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) booleanonSecondClick(@NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) Methods inherited from interface org.core.utils.Identifiable
getId, getName
-
Method Details
-
isSign
-
changeInto
void changeInto(@NotNull @NotNull org.core.world.position.block.entity.sign.SignSide sign) throws IOException - Throws:
IOException
-
onPrimaryClick
boolean onPrimaryClick(@NotNull @NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) -
onSecondClick
boolean onSecondClick(@NotNull @NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) -
isSign
default boolean isSign(@NotNull @NotNull org.core.world.position.block.entity.sign.SignTileEntity entity) -
getSide
default Optional<org.core.world.position.block.entity.sign.SignSide> getSide(org.core.world.position.block.entity.sign.SignTileEntity entity)
-