Class LocaleComponentArrayDataType
- java.lang.Object
-
- me.keehl.elevators.api.util.persistantDataTypes.LocaleComponentArrayDataType
-
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
public class LocaleComponentArrayDataType extends java.lang.Object implements org.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
-
-
Constructor Summary
Constructors Constructor Description LocaleComponentArrayDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ILocaleComponent @NotNull []fromPrimitive(byte @NotNull [] bytes, @NotNull org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext)@NotNull java.lang.Class<ILocaleComponent[]>getComplexType()@NotNull java.lang.Class<byte[]>getPrimitiveType()byte @NotNull []toPrimitive(ILocaleComponent[] components, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
-
-
-
Method Detail
-
getPrimitiveType
@NotNull public @NotNull java.lang.Class<byte[]> getPrimitiveType()
- Specified by:
getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
-
getComplexType
@NotNull public @NotNull java.lang.Class<ILocaleComponent[]> getComplexType()
- Specified by:
getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
-
toPrimitive
public byte @NotNull [] toPrimitive(ILocaleComponent[] components, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
- Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
-
fromPrimitive
@NotNull public @NotNull ILocaleComponent @NotNull [] fromPrimitive(byte @NotNull [] bytes, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext)
- Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent[]>
-
-