Class Marker

java.lang.Object
dev.cerus.maps.api.Marker

public class Marker extends Object
Represents a map marker

Changes to instances of this maker will call back to the parent clientside map (if one is present)

  • Constructor Details

    • Marker

      public Marker(int x, int y, byte direction, byte type, boolean visible)
    • Marker

      public Marker(int x, int y, byte direction, org.bukkit.map.MapCursor.Type type, boolean visible)
    • Marker

      public Marker(int x, int y, byte direction, byte type, boolean visible, net.md_5.bungee.api.chat.BaseComponent... caption)
    • Marker

      public Marker(int x, int y, byte direction, org.bukkit.map.MapCursor.Type type, boolean visible, net.md_5.bungee.api.chat.BaseComponent... caption)
  • Method Details

    • setRawType

      public void setRawType(byte type)
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getCompressedX

      public byte getCompressedX()
    • getY

      public int getY()
    • setY

      public void setY(int y)
    • getCompressedY

      public byte getCompressedY()
    • getDirection

      public byte getDirection()
    • setDirection

      public void setDirection(byte direction)
    • getType

      public byte getType()
    • setType

      public void setType(org.bukkit.map.MapCursor.Type type)
    • setType

      public void setType(byte type)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean visible)
    • hasCaption

      public boolean hasCaption()
    • getCaption

      public net.md_5.bungee.api.chat.BaseComponent[] getCaption()
    • setCaption

      public void setCaption(net.md_5.bungee.api.chat.BaseComponent[] caption)
    • getCaptionString

      public String getCaptionString()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object