Package cn.nukkit.api
Annotation Interface PowerNukkitXDifference
@Retention(CLASS)
@Target({CONSTRUCTOR,METHOD,ANNOTATION_TYPE,TYPE,FIELD,PACKAGE})
@PowerNukkitXOnly
@Since("1.19.20-r3")
@Inherited
@Documented
@Repeatable(DifferenceList.class)
public @interface PowerNukkitXDifference
Indicates that the annotated element works differently in PowerNukkit environment
and may cause issues or unexpected behaviour when used in a normal NukkitX server
without PowerNukkitX's patches and features.
-
Nested Class Summary
-
Optional Element Summary
-
Element Details
-
info
- Default:
- ""
-
since
- Default:
- ""
-
extendsOnlyInPowerNukkitX
- Default:
- java.lang.Void.class
-
insteadOf
- Default:
- java.lang.Void.class
-