mirror of https://github.com/FabricMC/yarn.git
19 lines
750 B
Plaintext
19 lines
750 B
Plaintext
CLASS net/minecraft/class_2758 net/minecraft/state/property/IntProperty
|
|
FIELD field_12614 values Lcom/google/common/collect/ImmutableSet;
|
|
METHOD <init> (Ljava/lang/String;II)V
|
|
ARG 1 name
|
|
ARG 2 min
|
|
ARG 3 max
|
|
METHOD method_11867 of (Ljava/lang/String;II)Lnet/minecraft/class_2758;
|
|
COMMENT Creates an integer property.
|
|
COMMENT
|
|
COMMENT <p>{@code min} must be non-negative and {@code max} must be greater than {@code min}.
|
|
COMMENT
|
|
COMMENT <p>Note that this method takes O({@code max} - {@code min}) time as it computes all possible values during instantiation.
|
|
ARG 0 name
|
|
COMMENT the name of the property
|
|
ARG 1 min
|
|
COMMENT the minimum value the property can take
|
|
ARG 2 max
|
|
COMMENT the maximum value the property can take
|