Interface DataPackType<T>


@CatalogedBy(DataPackTypes.class) public interface DataPackType<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets if resources created by this type will persist even if the plugin is no longer present (or no longer performs a registration in RegisterDataPackValueEvent
    io.leangen.geantyref.TypeToken<T>
     
  • Method Details

    • type

      io.leangen.geantyref.TypeToken<T> type()
    • persistent

      boolean persistent()
      Gets if resources created by this type will persist even if the plugin is no longer present (or no longer performs a registration in RegisterDataPackValueEvent

      Consult your implementation vendor for more details on exactly what resources are kept.

      Returns:
      True if persistent, false if not