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 TypeMethodDescriptionvoid
changeInto
(@NotNull org.core.world.position.block.entity.sign.SignSide sign) getId()
getName()
getShip
(org.core.world.position.block.entity.sign.SignTileEntity entity) boolean
boolean
onPrimaryClick
(@NotNull org.core.entity.living.human.player.LivePlayer player, @NotNull org.core.world.position.impl.sync.SyncBlockPosition position) boolean
onSecondClick
(@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:
changeInto
in 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:
onPrimaryClick
in 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:
onSecondClick
in interfaceShipsSign
-
getId
- Specified by:
getId
in interfaceorg.core.utils.Identifiable
-
getName
- Specified by:
getName
in interfaceorg.core.utils.Identifiable
-