Package net.minecraft.state.property
Class Property<T extends Comparable<T>>
java.lang.Object
net.minecraft.state.property.Property<T>
- Direct Known Subclasses:
BooleanProperty,EnumProperty,IntProperty
public abstract class Property<T extends Comparable<T>> extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProperty.class_4933<T extends Comparable<T>> -
Field Summary
Fields Modifier and Type Field Description private Class<T>field_24742private Stringfield_24743private Integerfield_24744private com.mojang.serialization.Codec<T>field_24745private com.mojang.serialization.Codec<Property.class_4933<T>>field_25670 -
Constructor Summary
-
Method Summary
Modifier and Type Method Description intcomputeHashCode()booleanequals(Object object)StringgetName()Class<T>getType()abstract Collection<T>getValues()inthashCode()Property.class_4933<T>method_30041(State<?,?> state)Property.class_4933<T>method_30042(T t)Stream<Property.class_4933<T>>method_30043()com.mojang.serialization.Codec<Property.class_4933<T>>method_30044()abstract Stringname(T value)abstract Optional<T>parse(String name)StringtoString()
-
Field Details
-
field_24742
-
field_24743
-
field_24744
-
field_24745
-
field_25670
private final com.mojang.serialization.Codec<Property.class_4933<T extends Comparable<T>>> field_25670
-
-
Constructor Details
-
Method Details
-
method_30042
-
method_30041
-
method_30043
-
method_30044
-
getName
-
getType
-
getValues
-
name
-
parse
-
toString
-
equals
-
hashCode
public final int hashCode() -
computeHashCode
public int computeHashCode()
-