Package org.skriptlang.skript.docs
Interface Origin
- All Known Subinterfaces:
AddonModule.ModuleOrigin,Origin.AddonOrigin
Provides information about the origin of something (such as syntax).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn origin to be used for something provided by an addon. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionname()static Originof(SkriptAddon addon) Constructs an origin from an addon.
-
Field Details
-
UNKNOWN
An origin to be used in cases where no information is known.
-
-
Method Details
-
of
Constructs an origin from an addon.- Parameters:
addon- The addon to construct this origin from.- Returns:
- An origin pointing to the provided addon.
-
name
String name()- Returns:
- A string representing this origin.
-