Annotation Interface ModElementReference


@Target(FIELD) @Retention(RUNTIME) public @interface ModElementReference
Used to mark fields that can store names of custom elements (mappable or MEs) used by mod element instance and NOT already included as names of objects like MappableElement or Procedure.
Format of strings: with CUSTOM: prefix for entries created from other mod elements or unmapped name for data list entries.
  • Element Details

    • defaultValues

      String[] defaultValues
      Special values indicating the element is not assigned.
      Default:
      {""}
    • acceptedTypes

      Class<? extends GeneratableElement>[] acceptedTypes
      Default:
      {}