mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-07-01 09:05:08 +02:00
26 lines
587 B
Java
26 lines
587 B
Java
|
package com.sk89q.minecraft.util.commands;
|
||
|
|
||
|
import java.lang.annotation.Retention;
|
||
|
import java.lang.annotation.RetentionPolicy;
|
||
|
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
public @interface SuggestedRange {
|
||
|
Class clazz() default Link.class;
|
||
|
String value();
|
||
|
|
||
|
|
||
|
/**
|
||
|
* The minimum value that the number can be at, inclusive.
|
||
|
*
|
||
|
* @return the minimum value
|
||
|
*/
|
||
|
double min() default Double.MIN_VALUE;
|
||
|
|
||
|
/**
|
||
|
* The maximum value that the number can be at, inclusive.
|
||
|
*
|
||
|
* @return the maximum value
|
||
|
*/
|
||
|
double max() default Double.MAX_VALUE;
|
||
|
}
|