cn.nukkit.api.PowerNukkitDifference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.api;
import java.lang.annotation.*;
/**
* 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 PowerNukkit's patches and features.
*/
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.ANNOTATION_TYPE, ElementType.TYPE,
ElementType.FIELD, ElementType.PACKAGE})
@PowerNukkitOnly
@Since("1.3.0.0-PN")
@Inherited
@Documented
@Repeatable(PowerNukkitDifference.DifferenceList.class)
public @interface PowerNukkitDifference {
String info();
String since() default "";
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.ANNOTATION_TYPE, ElementType.TYPE,
ElementType.FIELD, ElementType.PACKAGE})
@PowerNukkitOnly
@Since("1.4.0.0-PN")
@Inherited
@Documented
@interface DifferenceList {
PowerNukkitDifference[] value();
}
}