yarn/mappings/net/minecraft/state/property/IntProperty.mapping

19 lines
750 B
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_2758 net/minecraft/state/property/IntProperty
FIELD field_12614 values Lcom/google/common/collect/ImmutableSet;
2019-06-03 12:42:57 -04:00
METHOD <init> (Ljava/lang/String;II)V
ARG 1 name
ARG 2 min
ARG 3 max
2019-06-28 17:55:20 -04:00
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.
2019-06-03 12:42:57 -04:00
ARG 0 name
COMMENT the name of the property
2019-06-03 12:42:57 -04:00
ARG 1 min
COMMENT the minimum value the property can take
2019-06-03 12:42:57 -04:00
ARG 2 max
COMMENT the maximum value the property can take