Annotation Interface WrapWithCondition


@Target(METHOD) @Retention(RUNTIME) @Deprecated public @interface WrapWithCondition
Deprecated.
Use WrapWithCondition instead. This injector occasionally wraps @Inject handlers if it applies before them. The new version applies at a later stage, however in the unlikely case that you rely on the old ordering, make sure to test your mixin after converting.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.spongepowered.asm.mixin.injection.At[]
    Deprecated.
     
    Deprecated.
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    org.spongepowered.asm.mixin.injection.Slice[]
    Deprecated.
     
  • Element Details

    • method

      String[] method
      Deprecated.
    • at

      org.spongepowered.asm.mixin.injection.At[] at
      Deprecated.
    • slice

      org.spongepowered.asm.mixin.injection.Slice[] slice
      Deprecated.
      Default:
      {}
    • remap

      boolean remap
      Deprecated.
      Default:
      true
    • require

      int require
      Deprecated.
      Default:
      -1
    • expect

      int expect
      Deprecated.
      Default:
      1
    • allow

      int allow
      Deprecated.
      Default:
      -1