Enum Class MagicMushtree

java.lang.Object
java.lang.Enum<MagicMushtree>
net.storm.api.movement.pathfinder.model.MagicMushtree
All Implemented Interfaces:
Serializable, Comparable<MagicMushtree>, Constable

public enum MagicMushtree extends Enum<MagicMushtree>
Enumeration of Magic Mushtree destinations on Fossil Island.

MagicMushtree represents the mushroom transportation network available on Fossil Island after completing Bone Voyage. These large mushrooms teleport players between different areas of the island.

Mushtree Locations

  • House - Near the House on the Hill (main base)
  • Valley - Mushroom Forest valley area
  • Swamp - Tar Swamp region
  • Meadow - Northern meadow area

Requirements

Requires completion of the Bone Voyage quest to access Fossil Island.

Usage Example


 // Get all mushtree transports
 List<Transport> transports = MagicMushtree.getMushtreeTransports();

 MagicMushtree tree = MagicMushtree.HOUSE;
 WorldPoint location = tree.getLocation();
 int widgetComponent = tree.getComponent();
 
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static MagicMushtree[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MagicMushtree valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMushtreeTransports

      public static List<Transport> getMushtreeTransports()
      Generates Transport objects for all mushtree connections.

      Creates a transport from every mushtree to every other mushtree based on user configuration.

      Returns:
      list of mushtree transport connections
    • getWidgetInfo

      @Deprecated(forRemoval=true) public InterfaceAddress getWidgetInfo()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use
      invalid reference
      #getComponent()
      instead
      Gets the widget info for this mushtree destination.
      Returns:
      the interface address