Package org.ships.vessel.sign
Class LicenceSign
java.lang.Object
org.ships.vessel.sign.LicenceSign
- All Implemented Interfaces:
org.core.utils.Identifiable,ShipsSign
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeInto(@NotNull org.core.world.position.block.entity.sign.SignSide sign) getId()getName()getShip(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)
-
Constructor Details
-
LicenceSign
public LicenceSign()
-
-
Method Details
-
getShip
-
isSign
-
changeInto
public void changeInto(@NotNull @NotNull org.core.world.position.block.entity.sign.SignSide sign) throws IOException - Specified by:
changeIntoin interfaceShipsSign- Throws:
IOException
-
onPrimaryClick
public boolean onPrimaryClick(@NotNull @NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) - Specified by:
onPrimaryClickin interfaceShipsSign
-
onSecondClick
public boolean onSecondClick(@NotNull @NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) - Specified by:
onSecondClickin interfaceShipsSign
-
getId
- Specified by:
getIdin interfaceorg.core.utils.Identifiable
-
getName
- Specified by:
getNamein interfaceorg.core.utils.Identifiable
-