Annotation Type DefaultNamespace


@Target(PARAMETER) @Retention(RUNTIME) public @interface DefaultNamespace
Annotation used to set a custom namespace for NamespacedKeyArgument. Without this annotation, the default namespace is NamespacedKey.MINECRAFT.
Since:
1.7.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NonNull String
    Default namespace string.
  • Element Details

    • value

      @NonNull String value
      Default namespace string.
      Returns:
      default namespace
      Since:
      1.7.0