public abstract class Property<T extends Comparable<T>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Property.class_4933<T extends Comparable<T>> |
| Modifier and Type | Field and Description |
|---|---|
private Class<T> |
field_24742 |
private String |
field_24743 |
private Integer |
field_24744 |
private com.mojang.serialization.Codec<T> |
field_24745 |
private com.mojang.serialization.Codec<Property.class_4933<T>> |
field_25670 |
| Modifier | Constructor and Description |
|---|---|
protected |
Property(String string,
Class<T> class2) |
| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode() |
boolean |
equals(Object object) |
String |
getName() |
Class<T> |
getType() |
abstract Collection<T> |
getValues() |
int |
hashCode() |
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 String |
name(T value) |
abstract Optional<T> |
parse(String name) |
String |
toString() |
private final Class<T extends Comparable<T>> field_24742
private final String field_24743
private Integer field_24744
private final com.mojang.serialization.Codec<T extends Comparable<T>> field_24745
private final com.mojang.serialization.Codec<Property.class_4933<T extends Comparable<T>>> field_25670
public Property.class_4933<T> method_30042(T t)
public Property.class_4933<T> method_30041(State<?,?> state)
public Stream<Property.class_4933<T>> method_30043()
public com.mojang.serialization.Codec<Property.class_4933<T>> method_30044()
public String getName()
public abstract Collection<T> getValues()
public int computeHashCode()