CLASS net/minecraft/class_2754 net/minecraft/state/property/EnumProperty COMMENT Represents a property that has enum values. COMMENT COMMENT
Notes on the enum class: COMMENT
See {@link net.minecraft.state.property.Properties} for example
COMMENT usages.
FIELD field_12595 values Lcom/google/common/collect/ImmutableSet;
FIELD field_12596 byName Ljava/util/Map;
METHOD See notes on the enum class.
COMMENT
COMMENT @throws IllegalArgumentException if multiple values have the same name
COMMENT
COMMENT @see #of(String, Class)
ARG 0 name
COMMENT the name of the property; see {@linkplain Property#name the note on the
COMMENT name}
ARG 1 type
COMMENT the type of the values the property contains
ARG 2 values
COMMENT the values the property contains; required to have 2 or more values
METHOD method_11848 of (Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Predicate;)Lnet/minecraft/class_2754;
COMMENT Creates an enum property with the values allowed by the given filter.
COMMENT
COMMENT See notes on the enum class.
COMMENT
COMMENT @throws IllegalArgumentException if multiple values have the same name
COMMENT
COMMENT @see #of(String, Class)
ARG 0 name
COMMENT the name of the property; see {@linkplain Property#name the note on the
COMMENT name}
ARG 1 type
COMMENT the type of the values the property contains
ARG 2 filter
COMMENT the filter which specifies if a value is allowed; required to allow 2
COMMENT or more values
METHOD method_11849 of (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Enum;)Lnet/minecraft/class_2754;
COMMENT Creates an enum property with the given values.
COMMENT
COMMENT See notes on the enum class.
COMMENT
COMMENT @throws IllegalArgumentException if multiple values have the same name
COMMENT
COMMENT @see #of(String, Class)
ARG 0 name
COMMENT the name of the property; see {@linkplain Property#name the note on the
COMMENT name}
ARG 1 type
COMMENT the type of the values the property contains
ARG 2 values
COMMENT the values the property contains; required to have 2 or more values
METHOD method_11850 of (Ljava/lang/String;Ljava/lang/Class;)Lnet/minecraft/class_2754;
COMMENT Creates an enum property with all values of the given enum class.
COMMENT
COMMENT See notes on the enum class.
COMMENT
COMMENT @throws IllegalArgumentException if multiple values have the same name
ARG 0 name
COMMENT the name of the property; see {@linkplain Property#name the note on the
COMMENT name}
ARG 1 type
COMMENT the type of the values the property contains