9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-30 20:39:19 +00:00

API improvements

This commit is contained in:
XiaoMoMi
2024-09-06 22:15:58 +08:00
parent 6e25b3f6b7
commit aac132da25
15 changed files with 59 additions and 46 deletions

View File

@@ -17,12 +17,13 @@
package net.momirealms.customcrops.common.annotation;
import org.jetbrains.annotations.ApiStatus;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@ApiStatus.Internal
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DoNotUse {
String message() default "This class is internal and should not be used.";
}