Class MoveSign

java.lang.Object
org.ships.vessel.sign.MoveSign
All Implemented Interfaces:
org.core.utils.Identifiable, ShipsSign

public class MoveSign extends Object implements ShipsSign
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeInto(@NotNull org.core.world.position.block.entity.sign.SignSide sign)
     
     
     
    List<net.kyori.adventure.text.Component>
     
    boolean
    isSign(List<? extends net.kyori.adventure.text.Component> lines)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.ships.vessel.sign.ShipsSign

    getSide, isSign
  • Constructor Details

    • MoveSign

      public MoveSign()
  • Method Details

    • getSignText

      public List<net.kyori.adventure.text.Component> getSignText()
    • isSign

      public boolean isSign(List<? extends net.kyori.adventure.text.Component> lines)
      Specified by:
      isSign in interface ShipsSign
    • changeInto

      public void changeInto(@NotNull @NotNull org.core.world.position.block.entity.sign.SignSide sign) throws IOException
      Specified by:
      changeInto in interface ShipsSign
      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 interface ShipsSign
    • 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 interface ShipsSign
    • getId

      public String getId()
      Specified by:
      getId in interface org.core.utils.Identifiable
    • getName

      public String getName()
      Specified by:
      getName in interface org.core.utils.Identifiable