Enum Class MagicMushtree
- All Implemented Interfaces:
Serializable,Comparable<MagicMushtree>,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGenerates Transport objects for all mushtree connections.Deprecated, for removal: This API element is subject to removal in a future version.static MagicMushtreeReturns the enum constant of this class with the specified name.static MagicMushtree[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOUSE
-
VALLEY
-
SWAMP
-
MEADOW
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
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, for removal: This API element is subject to removal in a future version.Useinsteadinvalid reference
#getComponent()Gets the widget info for this mushtree destination.- Returns:
- the interface address
-
invalid reference