Code Generation
Currently includes generated key holder classes for types used in the Registry Modification API
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package io.papermc.paper.generated;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Used to mark classes which are generated from
|
||||
* a specific version of minecraft.
|
||||
*/
|
||||
@ApiStatus.Internal
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface GeneratedFrom {
|
||||
|
||||
String value();
|
||||
}
|
||||
Reference in New Issue
Block a user