Class DataUT.UUIDDataType

java.lang.Object
studio.magemonkey.codex.util.DataUT.UUIDDataType
All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],UUID>
Enclosing class:
DataUT

public static class DataUT.UUIDDataType extends Object implements org.bukkit.persistence.PersistentDataType<byte[],UUID>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType

    org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T>
  • Field Summary

    Fields inherited from interface org.bukkit.persistence.PersistentDataType

    BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY
  • Method Summary

    Modifier and Type
    Method
    Description
    fromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context)
     
     
    Class<byte[]>
     
    byte[]
    toPrimitive(UUID complex, org.bukkit.persistence.PersistentDataAdapterContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getPrimitiveType

      @NotNull public Class<byte[]> getPrimitiveType()
      Specified by:
      getPrimitiveType in interface org.bukkit.persistence.PersistentDataType<byte[],UUID>
    • getComplexType

      @NotNull public Class<UUID> getComplexType()
      Specified by:
      getComplexType in interface org.bukkit.persistence.PersistentDataType<byte[],UUID>
    • toPrimitive

      public byte[] toPrimitive(UUID complex, org.bukkit.persistence.PersistentDataAdapterContext context)
      Specified by:
      toPrimitive in interface org.bukkit.persistence.PersistentDataType<byte[],UUID>
    • fromPrimitive

      @NotNull public UUID fromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context)
      Specified by:
      fromPrimitive in interface org.bukkit.persistence.PersistentDataType<byte[],UUID>