Interface WaypointGroup


public interface WaypointGroup
  • Method Details

    • getWaypointIds

      List<String> getWaypointIds()
    • addWaypoint

      boolean addWaypoint(Waypoint waypoint)
    • getGuid

      String getGuid()
    • getModId

      String getModId()
    • getName

      String getName()
    • setName

      void setName(String name)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String description)
    • isEnabled

      boolean isEnabled()
      Is waypoint group enabled.
      Returns:
      - the Enabled boolean
    • setEnabled

      void setEnabled(boolean enabled)
      Set waypoint group enabled / disabled
      Parameters:
      enabled - - enabled
    • showDeviation

      boolean showDeviation()
      Is deviation being shown
      Returns:
      - is showing
    • setShowDeviation

      void setShowDeviation(boolean showDeviation)
      Sets the show deviation text on the beacon.
      Parameters:
      showDeviation - - the boolean
    • isLocked

      boolean isLocked()
      Can users change group settings, including adding/removing waypoints
      Returns:
      the is locked
    • setLocked

      void setLocked(boolean locked)
      Set to true to lock users from modifying the group. This includes adding/removing waypoints and changing any of the settings of the group. Default - False
      Parameters:
      locked - - the locked boolean
    • getColor

      Integer getColor()
    • setColor

      void setColor(Integer color)
    • colorOverride

      boolean colorOverride()
      Does waypoint group override individual waypoint colors.
      Returns:
      if override
    • setColorOverride

      void setColorOverride(boolean override)
      Setting this to true, waypoints will use the group color instead of individual colors. Setting to false, waypoints will use their individual colors
      Parameters:
      override - to override
    • getIconRotation

      int getIconRotation()
      Gets the rotation in degrees the image should be oriented. Zero is the default.
      Returns:
      degrees
    • setIconRotation

      void setIconRotation(int rotation)
      Sets the rotation in degrees the image should be oriented. Zero is the default.
      Parameters:
      rotation - in degrees
    • getIconColor

      Integer getIconColor()
      Gets color.
      Returns:
      the color
    • setIconColor

      void setIconColor(Integer color)
      Sets color used to tint the image. Use 0xffffff for white (no tint). This is only to be used if the icon needs to have a separate color from the waypoint.
      Parameters:
      color - the color
    • getIconOpacity

      float getIconOpacity()
      Gets opacity.
      Returns:
      the opacity
    • setIconOpacity

      void setIconOpacity(float opacity)
      Sets opacity.
      Parameters:
      opacity - the opacity
    • getIconResourceLocation

      net.minecraft.resources.ResourceLocation getIconResourceLocation()
      Gets the texture resource location.
      Returns:
      - ResourceLocation
    • setIconResourceLoctaion

      void setIconResourceLoctaion(net.minecraft.resources.ResourceLocation resourceLocation)
      Sets the texture resource location.
      Parameters:
      resourceLocation - - the resource location
    • getIconTextureWidth

      int getIconTextureWidth()
      Gets the image textureWidth.
      Returns:
      textureWidth
    • setIconTextureWidth

      void setIconTextureWidth(Integer textureWidth)
      Sets the texture width
      Parameters:
      textureWidth - - the texture width
    • getIconTextureHeight

      int getIconTextureHeight()
      Gets the image textureHeight.
      Returns:
      textureHeight
    • setIconTextureHeight

      void setIconTextureHeight(Integer textureHeight)
      Sets the texture height
      Parameters:
      textureHeight - - the texture height
    • setIconTextureSize

      default void setIconTextureSize(int width, int height)
      Set the texture size
      Parameters:
      width - - the texture width
      height - - the texture height
    • setCustomData

      void setCustomData(@Nullable @Nullable String data)
      Allows add-on devs to set custom data on their waypoint groups for use, this is not used by journeymap.
      Parameters:
      data - - String
    • getCustomData

      @Nullable @Nullable String getCustomData()
      Gets the custom data stored on a waypoint group
      Returns: