Annotation Interface GameTestHolder


@Retention(RUNTIME) @Target(TYPE) public @interface GameTestHolder
Marks a class that holds static GameTest methods. value() is the template namespace (e.g. mod id) used when resolving structure paths.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Namespace / holder id for templates under this holder.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Mod ids that must be loaded before this holder is inspected.
    Optional prefix applied to template names for this holder.
  • Element Details

    • value

      String value
      Namespace / holder id for templates under this holder.
    • templatePrefix

      String templatePrefix
      Optional prefix applied to template names for this holder.
      Default:
      ""
    • requiredMods

      String[] requiredMods
      Mod ids that must be loaded before this holder is inspected. When any listed mod is absent, every GameTest in the holder is reported as skipped without loading the holder class.
      Default:
      {}