Package ch.njol.skript.classes
Class AnyInfo<Type extends AnyProvider>
java.lang.Object
ch.njol.skript.classes.ClassInfo<Type>
ch.njol.skript.classes.AnyInfo<Type>
- All Implemented Interfaces:
Debuggable
@Deprecated(since="2.13",
forRemoval=true)
public class AnyInfo<Type extends AnyProvider>
extends ClassInfo<Type>
Deprecated, for removal: This API element is subject to removal in a future version.
A special kind of
ClassInfo
for dealing with 'any'-accepting types.
These auto-generate their user patterns (e.g. named
-> any named thing
).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.classes.ClassInfo
ClassInfo.PropertyDocs
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.classes.ClassInfo
after, after, before, before, changer, clone, cloner, defaultExpression, description, documentationId, examples, getAllProperties, getC, getChanger, getCloner, getCodeName, getDefaultExpression, getDescription, getDocName, getDocumentationID, getExamples, getName, getParser, getPropertyDocumentation, getPropertyInfo, getRequiredPlugins, getSerializeAs, getSerializer, getSince, getSupplier, getUsage, getUserInputPatterns, hasDocs, hasProperty, isValidCodeName, matchesUserInput, name, parser, property, requiredPlugins, serializeAs, serializer, since, supplier, supplier, toString, toString, toString, usage
-
Constructor Details
-
AnyInfo
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
c
- The classcodeName
- The name used in patterns
-
-
Method Details
-
user
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
user
in classClassInfo<Type extends AnyProvider>
- Parameters:
userInputPatterns
- Regex patterns to match this class, e.g. in the expressions loop-[type], random [type] out of ..., or as command arguments. These patterns must be english and match singular and plural.- Throws:
PatternSyntaxException
- If any of the patterns' syntaxes is invalid
-
Property
instead.