Annotation Interface EntrySyncData


@Retention(RUNTIME) @Target(FIELD) public @interface EntrySyncData
Provides the attributes of a syncable config entry. See FrozenLibConfig and FrozenLibConfigGui for an example.
Since:
1.5.2
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Used to determine the behavior of a config entry on a server/LAN world.
    Used to identify config entries so their attributes can impact GUIs.
  • Element Details

    • value

      String value
      Used to identify config entries so their attributes can impact GUIs. Without this, it isn't possible to find the field needed in order to access their unique attributes for syncing.
      Default:
      ""
    • behavior

      SyncBehavior behavior
      Used to determine the behavior of a config entry on a server/LAN world.
      Default:
      SYNCABLE