mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-28 07:35:40 +00:00
format all the things!
This commit is contained in:
1 parent
54ec75fd3d
commit
b36c6dade6
377 files changed
+6833
-6772
No files matched your search
@@ -6,20 +6,20 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Marks a bracket handler. Bracket handlers are automatically registered.
|
||||
* The marked class should have an empty constructor.
|
||||
* Marks a bracket handler. Bracket handlers are automatically registered. The
|
||||
* marked class should have an empty constructor.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
@Target({ ElementType.TYPE })
|
||||
public @interface BracketHandler {
|
||||
/**
|
||||
* Indicates priority. A lower value means a higher priority. Only change
|
||||
* if you have issues, default value is 10. Internal minetweaker handlers
|
||||
* have priorities up to 100.
|
||||
* Indicates priority. A lower value means a higher priority. Only change if
|
||||
* you have issues, default value is 10. Internal minetweaker handlers have
|
||||
* priorities up to 100.
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public int priority() default 10;
|
||||
}
|
||||
@@ -6,14 +6,15 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Indicates that a certain class is only available when a specific mod is
|
||||
* Indicates that a certain class is only available when a specific mod is
|
||||
* available. Multiple mods can be specified.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
public @interface ModOnly {
|
||||
public String[] value();
|
||||
|
||||
public String version() default "";
|
||||
}
|
||||
@@ -16,7 +16,7 @@ import java.lang.annotation.Target;
|
||||
* @author Stan
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD})
|
||||
@Target({ ElementType.METHOD })
|
||||
public @interface OnRegister {
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user