Annotation Interface NmsClassTarget


@Target(TYPE) @Retention(RUNTIME) public @interface NmsClassTarget
Defines a class target relative to the versioned 'net.minecraft.server' package.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NonNull String
    Gets the value of the class, relative to the versioned package.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static me.lucko.shadow.TargetResolver
    A TargetResolver for the NmsClassTarget annotation.
  • Field Details

    • RESOLVER

      static final me.lucko.shadow.TargetResolver RESOLVER
      A TargetResolver for the NmsClassTarget annotation.
  • Element Details

    • value

      @NonNull String value
      Gets the value of the class, relative to the versioned package.
      Returns:
      the value