Class AltitudeSign

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

public class AltitudeSign extends Object implements ShipsSign
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<net.kyori.adventure.text.Component>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeInto(@NotNull org.core.world.position.block.entity.sign.SignSide sign)
     
     
     
    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
  • Field Details

    • SIGN

      public static final List<net.kyori.adventure.text.Component> SIGN
  • Constructor Details

    • AltitudeSign

      public AltitudeSign()
  • Method Details

    • 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