Class LocaleComponentDataType
- java.lang.Object
-
- me.keehl.elevators.api.util.persistantDataTypes.LocaleComponentDataType
-
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent>
public class LocaleComponentDataType extends java.lang.Object implements org.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent>
-
-
Constructor Summary
Constructors Constructor Description LocaleComponentDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ILocaleComponentfromPrimitive(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 component, @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 component, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
- Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent>
-
fromPrimitive
@NotNull public @NotNull ILocaleComponent fromPrimitive(byte @NotNull [] bytes, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext itemTagAdapterContext)
- Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],ILocaleComponent>
-
-