Class Property<T extends Comparable<T>>
java.lang.Object
net.minecraft.world.level.block.state.properties.Property<T>
- Direct Known Subclasses:
BooleanProperty
,EnumProperty
,IntegerProperty
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<T>
codec()
boolean
int
getName()
abstract String
abstract Collection<T>
int
hashCode()
<U, S extends StateHolder<?, S>>
com.mojang.serialization.DataResult<S>parseValue(com.mojang.serialization.DynamicOps<U> p_156032_, S p_156033_, U p_156034_)
toString()
value(StateHolder<?,?> p_61695_)
com.mojang.serialization.Codec<Property.Value<T>>
-
Field Details
-
clazz
-
name
-
hashCode
-
codec
-
valueCodec
-
-
Constructor Details
-
Property
-
-
Method Details
-
value
-
value
-
getAllValues
-
codec
-
valueCodec
-
getName
-
getValueClass
-
getPossibleValues
-
getName
-
getValue
-
toString
-
equals
-
hashCode
public final int hashCode() -
generateHashCode
public int generateHashCode() -
parseValue
public <U, S extends StateHolder<?, S>> com.mojang.serialization.DataResult<S> parseValue(com.mojang.serialization.DynamicOps<U> p_156032_, S p_156033_, U p_156034_)
-