Interface Wyck
- All Known Implementing Classes:
Wyck.ShadedWyck
Common interface for miscellaneous Wyck (BiomesAPI) methods and utilities.
Implemented by the main plugin class when running as a standalone plugin, and by a default
implementation when shaded into a consumer plugin.
- Since:
- 2.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThe default implementation of Wyck when shaded into a consumer plugin. -
Field Summary
Fields -
Method Summary
-
Field Details
-
WIRE
-
-
Method Details
-
wyck
-
plugin
Determines the plugin instance associated with Wyck.- Returns:
- the plugin instance if the library is running as a standalone plugin or
JavaPlugin.getProvidingPlugin(Class)otherwise. - Throws:
IllegalStateException- if called from the static initializer for the given JavaPlugin- Since:
- 2.1.0
-
version
-
isShaded
- Returns:
- true if the library is shaded into a consumer plugin (no standalone instance available).
- Since:
- 2.1.0
-
isExternal
- Returns:
- true if the library is running as a standalone plugin.
- Since:
- 2.1.0
-