Class SkriptEventInfo.ModernSkriptEventInfo<E extends SkriptEvent>
java.lang.Object
ch.njol.skript.lang.SyntaxElementInfo<E>
org.skriptlang.skript.lang.structure.StructureInfo<E>
ch.njol.skript.lang.SkriptEventInfo<E>
ch.njol.skript.lang.SkriptEventInfo.ModernSkriptEventInfo<E>
- All Implemented Interfaces:
BukkitSyntaxInfos.Event<E>, DefaultSyntaxInfos, SyntaxInfo<E>
- Enclosing class:
SkriptEventInfo<E extends SkriptEvent>
@Internal
@Deprecated(since="2.14",
forRemoval=true)
public static final class SkriptEventInfo.ModernSkriptEventInfo<E extends SkriptEvent>
extends SkriptEventInfo<E>
implements BukkitSyntaxInfos.Event<E>
Deprecated, for removal: This API element is subject to removal in a future version.
This class exists solely for compatibility reasons.
Internal wrapper class for providing compatibility with the new Registration API.
-
Nested Class Summary
Nested classes/interfaces inherited from class SkriptEventInfo
SkriptEventInfo.ModernSkriptEventInfo<E>Nested classes/interfaces inherited from interface BukkitSyntaxInfos.Event
BukkitSyntaxInfos.Event.Builder<B,E> Nested classes/interfaces inherited from interface DefaultSyntaxInfos
DefaultSyntaxInfos.Expression<E,R>, DefaultSyntaxInfos.Structure<E> Nested classes/interfaces inherited from interface SyntaxInfo
SyntaxInfo.Builder<B,E> -
Field Summary
Fields inherited from class SkriptEventInfo
events, name, NO_DOCFields inherited from class StructureInfo
entryValidator, nodeType, simpleFields inherited from class SyntaxElementInfo
elementClass, originClassPath, patternsFields inherited from interface BukkitSyntaxInfos.Event
KEYFields inherited from interface SyntaxInfo
COMBINED, PATTERN_MATCHES_EVERYTHING, SIMPLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.Collection<Class<? extends org.bukkit.event.Event>> events()Deprecated, for removal: This API element is subject to removal in a future version.examples()Deprecated, for removal: This API element is subject to removal in a future version.id()Deprecated, for removal: This API element is subject to removal in a future version.keywords()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.name()Deprecated, for removal: This API element is subject to removal in a future version.origin()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.since()Deprecated, for removal: This API element is subject to removal in a future version.BukkitSyntaxInfos.Event.Builder<? extends BukkitSyntaxInfos.Event.Builder<?, E>, E> Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class SkriptEventInfo
description, documentationID, examples, getDescription, getDocumentationID, getExamples, getId, getKeywords, getListeningBehavior, getName, getRequiredPlugins, getSince, keywords, listeningBehavior, requiredPlugins, since, sinceMethods inherited from class SyntaxElementInfo
fromModern, getElementClass, getOriginClassPath, getPatterns, instance, patterns, priority, typeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SyntaxInfo
instance, patterns, priority, type
-
Constructor Details
-
ModernSkriptEventInfo
-
-
Method Details
-
toBuilder
public BukkitSyntaxInfos.Event.Builder<? extends BukkitSyntaxInfos.Event.Builder<?,E>, E> toBuilder()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BukkitSyntaxInfos.Event- Specified by:
toBuilderin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Specified by:
toBuilderin interfaceSyntaxInfo<E extends SkriptEvent>- Overrides:
toBuilderin classSyntaxElementInfo<E extends SkriptEvent>- Returns:
- A builder representing this SyntaxInfo.
-
origin
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
originin interfaceSyntaxInfo<E extends SkriptEvent>- Overrides:
originin classSyntaxElementInfo<E extends SkriptEvent>- Returns:
- The origin of this syntax.
-
listeningBehavior
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
listeningBehaviorin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- The listening behavior for the SkriptEvent. Determines when the event should trigger.
-
name
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
namein interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- The name of the
SkriptEvent.
-
id
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
idin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- A documentation-friendly version of
BukkitSyntaxInfos.Event.name().
-
documentationId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
documentationIdin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. Used for identifying specific syntaxes in documentation.
- See Also:
-
since
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sincein interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. Represents the versions of the plugin in which a syntax was added or modified.
- See Also:
-
description
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
descriptionin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. A description of a syntax.
- See Also:
-
examples
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
examplesin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. Examples for using a syntax.
- See Also:
-
keywords
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
keywordsin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. Keywords are used by the search engine to provide relevant results.
- See Also:
-
requiredPlugins
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
requiredPluginsin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- Documentation data. Plugins other than Skript that are required by a syntax.
- See Also:
-
events
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
eventsin interfaceBukkitSyntaxInfos.Event<E extends SkriptEvent>- Returns:
- A collection of the classes representing the Bukkit events the
SkriptEventlistens for.
-