Package ch.njol.skript.classes.registry
Class RegistryClassInfo<R extends org.bukkit.Keyed>
java.lang.Object
ch.njol.skript.classes.ClassInfo<R>
ch.njol.skript.classes.registry.RegistryClassInfo<R>
- Type Parameters:
R
- The Registry class.
- All Implemented Interfaces:
Debuggable
This class can be used for easily creating ClassInfos for
Registry
s.
It registers a language node with usage, a serializer, default expression, and a parser.-
Field Summary
-
Constructor Summary
ConstructorDescriptionRegistryClassInfo
(Class<R> registryClass, org.bukkit.Registry<R> registry, String codeName, String languageNode) RegistryClassInfo
(Class<R> registryClass, org.bukkit.Registry<R> registry, String codeName, String languageNode, DefaultExpression<R> defaultExpression) -
Method Summary
Methods inherited from class ch.njol.skript.classes.ClassInfo
after, after, before, before, changer, changer, clone, cloner, defaultExpression, description, documentationId, examples, getC, getChanger, getCloner, getCodeName, getDefaultExpression, getDescription, getDocName, getDocumentationID, getExamples, getMath, getMathRelativeType, getName, getParser, getRelativeMath, getRequiredPlugins, getSerializeAs, getSerializer, getSince, getSupplier, getUsage, getUserInputPatterns, hasDocs, isVaildCodeName, isValidCodeName, math, name, parser, requiredPlugins, serializeAs, serializer, since, supplier, supplier, toString, toString, toString, usage, user