Package ch.njol.skript.classes
package ch.njol.skript.classes
Code related to handling the different types of Java, Skript, and Bukkit.
-
ClassDescriptionAnyInfo<Type extends AnyProvider>A special kind of
ClassInfo
for dealing with 'any'-accepting types.Changer<T>An interface to declare changeable values.ClassInfo<T>Cloner<T>An interface for optionally cloning an object, should return the given object if no cloning is required.ConfigurationSerializer<T extends org.bukkit.configuration.serialization.ConfigurationSerializable>Uses strings for serialisation because the whole ConfigurationSerializable interface is badly documented, and especially DelegateDeserialization doesn't work well with Yggdrasil.EnumClassInfo<T extends Enum<T>>This class can be used for an easier writing of ClassInfos that are enums, it registers a language node with usage, a serializer, default expression and a parser.EnumSerializer<T extends Enum<T>>Mainly kept for backwards compatibility, but also serves asClassResolver
for enums.Parser<T>A parser used to parse data from a string or turn data into a string.Deprecated, for removal: This API element is subject to removal in a future version.Serializer<T>YggdrasilSerializer<T extends YggdrasilSerializable>Serializer that allows Yggdrasil to automatically serialize classes that extend YggdrasilSerializable.
Predicate