public interface WaypointGroup
| Modifier and Type | Method and Description |
|---|---|
boolean |
addWaypoint(Waypoint waypoint) |
boolean |
colorOverride()
Does waypoint group override individual waypoint colors.
|
default java.lang.Integer |
getBeaconColor() |
java.lang.Integer |
getColor() |
@Nullable java.lang.String |
getCustomData(java.lang.String key)
Gets the custom data stored on a waypoint group
|
java.lang.String |
getDescription() |
java.lang.String |
getGuid() |
java.lang.Integer |
getIconColor()
Gets color.
|
net.minecraft.resources.ResourceLocation |
getIconIdentifier()
Gets the texture resource location.
|
float |
getIconOpacity()
Gets opacity.
|
int |
getIconRotation()
Gets the rotation in degrees the image should be oriented.
|
int |
getIconTextureHeight()
Gets the image textureHeight.
|
int |
getIconTextureWidth()
Gets the image textureWidth.
|
default java.lang.Integer |
getLabelColor() |
java.lang.String |
getModId() |
java.lang.String |
getName() |
@Nullable java.lang.String |
getTag()
A tag to easily identify waypoints in world an on the map.
|
java.util.List<java.lang.String> |
getWaypointIds() |
boolean |
iconOverride()
Does waypoint group override individual waypoint icons.
|
boolean |
isEnabled()
Is waypoint group enabled.
|
boolean |
isLocked()
Can users change group settings, including adding/removing waypoints
|
boolean |
isPersistent() |
boolean |
isShowOnLocatorBar() |
default boolean |
overrideColors() |
default boolean |
overrideSettings() |
default void |
setBeaconColor(java.lang.Integer beaconColor) |
void |
setColor(java.lang.Integer color) |
void |
setColorOverride(boolean override)
Setting this to true, waypoints will use the group color instead of individual colors.
|
void |
setCustomData(java.lang.String key,
@Nullable java.lang.String data)
Allows add-on devs to set custom data on their waypoint group for use, this is not used by journeymap.
|
void |
setDescription(java.lang.String description) |
void |
setEnabled(boolean enabled)
Set waypoint group enabled / disabled
|
void |
setIconColor(java.lang.Integer color)
Sets color used to tint the image.
|
void |
setIconIdentifier(net.minecraft.resources.ResourceLocation ResourceLocation)
Sets the texture resource location.
|
void |
setIconOpacity(float opacity)
Sets opacity.
|
void |
setIconOverride(boolean override)
Setting this to true, waypoints will use the group icons instead of individual iconss.
|
void |
setIconRotation(int rotation)
Sets the rotation in degrees the image should be oriented.
|
void |
setIconTextureHeight(java.lang.Integer textureHeight)
Sets the texture height
|
default void |
setIconTextureSize(int width,
int height)
Set the texture size
|
void |
setIconTextureWidth(java.lang.Integer textureWidth)
Sets the texture width
|
default void |
setLabelColor(java.lang.Integer labelColor) |
void |
setLocked(boolean locked)
Set to true to lock users from modifying the group.
|
void |
setName(java.lang.String name) |
default void |
setOverrideColors(boolean overrideColors) |
default void |
setOverrideSettings(boolean overrideSettings) |
void |
setPersistent(boolean persistent) |
default void |
setShowBeacon(boolean showBeacon) |
void |
setShowDeviation(boolean showDeviation)
Sets the show deviation text on the beacon.
|
default void |
setShowIcon(boolean showIcon) |
default void |
setShowInWorld(boolean showInWorld) |
default void |
setShowLabel(boolean showLabel) |
void |
setShowOnLocatorBar(boolean showOnLocatorBar)
Show waypoints in this group on the locator bar.
|
default void |
setShowOnMap(boolean showOnMap) |
void |
setTag(@Nullable java.lang.String tab)
Sets the tag.
|
default boolean |
showBeacon() |
boolean |
showDeviation()
Is deviation being shown
|
default boolean |
showIcon() |
default boolean |
showInWorld() |
default boolean |
showLabel() |
default boolean |
showOnMap() |
java.util.List<java.lang.String> getWaypointIds()
boolean addWaypoint(Waypoint waypoint)
java.lang.String getGuid()
java.lang.String getModId()
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getDescription()
void setDescription(java.lang.String description)
@Nullable @Nullable java.lang.String getTag()
Example giving the group the tag 'Farm' would make the name -> "[Farm] Carrots" All waypoints in the group will have this tag.
void setTag(@Nullable
@Nullable java.lang.String tab)
tab - - the Tagboolean isEnabled()
void setEnabled(boolean enabled)
enabled - - enabledboolean isPersistent()
void setPersistent(boolean persistent)
boolean showDeviation()
void setShowDeviation(boolean showDeviation)
showDeviation - - the booleanboolean isLocked()
void setLocked(boolean locked)
locked - - the locked booleanjava.lang.Integer getColor()
void setColor(java.lang.Integer color)
boolean colorOverride()
void setColorOverride(boolean override)
override - to overrideboolean iconOverride()
void setIconOverride(boolean override)
override - to overrideint getIconRotation()
void setIconRotation(int rotation)
rotation - in degreesjava.lang.Integer getIconColor()
void setIconColor(java.lang.Integer color)
color - the colorfloat getIconOpacity()
void setIconOpacity(float opacity)
opacity - the opacitynet.minecraft.resources.ResourceLocation getIconIdentifier()
void setIconIdentifier(net.minecraft.resources.ResourceLocation ResourceLocation)
ResourceLocation - - the resource locationint getIconTextureWidth()
void setIconTextureWidth(java.lang.Integer textureWidth)
textureWidth - - the texture widthint getIconTextureHeight()
void setIconTextureHeight(java.lang.Integer textureHeight)
textureHeight - - the texture heightdefault void setIconTextureSize(int width,
int height)
width - - the texture widthheight - - the texture heightvoid setCustomData(java.lang.String key,
@Nullable
@Nullable java.lang.String data)
key - - they key for the datadata - - String@Nullable @Nullable java.lang.String getCustomData(java.lang.String key)
key - - they key for the databoolean isShowOnLocatorBar()
void setShowOnLocatorBar(boolean showOnLocatorBar)
default boolean showBeacon()
default void setShowBeacon(boolean showBeacon)
default boolean showOnMap()
default void setShowOnMap(boolean showOnMap)
default boolean showInWorld()
default void setShowInWorld(boolean showInWorld)
default boolean showLabel()
default void setShowLabel(boolean showLabel)
default boolean showIcon()
default void setShowIcon(boolean showIcon)
default java.lang.Integer getBeaconColor()
default void setBeaconColor(java.lang.Integer beaconColor)
default java.lang.Integer getLabelColor()
default void setLabelColor(java.lang.Integer labelColor)
default boolean overrideColors()
default void setOverrideColors(boolean overrideColors)
default boolean overrideSettings()
default void setOverrideSettings(boolean overrideSettings)