net.minecraft.world.level.block.state.properties

public abstract class Property<T extends Comparable<T>>

dgm
net.minecraft.world.level.block.state.properties.Property
net.minecraft.class_2769
net.minecraft.unmapped.C_vzlztuyw
net.minecraft.state.property.Property
net.minecraft.state.property.Property
net.minecraft.src.C_2097_
net.minecraft.world.level.block.state.properties.IBlockState

Field summary

Modifier and TypeField
private final Class<T>
a
clazz
field_24742
f_foyzqkej
type
type
f_61686_
private final String
b
name
field_24743
f_txtahaeo
name
name
f_61687_
private Integer
c
hashCode
field_24744
f_lmsfeafv
hashCodeCache
hashCodeCache
f_61688_
private final com.mojang.serialization.Codec<T>
d
codec
field_24745
f_odzwfkmd
codec
codec
f_61689_
private final com.mojang.serialization.Codec<Property$Value<T>>
e
valueCodec
field_25670
f_qeixswkv
valueCodec
valueCodec
f_61690_

Constructor summary

ModifierConstructor
protected (String name, Class<T> type)

Method summary

Modifier and TypeMethod
public Property$Value<T>
b(T arg0)
value(T arg0)
method_30042(T arg0)
m_wtcmjjgx(T arg0)
createValue(T value)
createValue(T value)
m_61699_(T arg0)
public Property$Value<T>
a(dfl<?, ?> arg0)
value(StateHolder<?, ?> arg0)
method_30041(class_2688<?, ?> arg0)
m_edvothkd(C_jccsnmmo<?, ?> arg0)
createValue(State<?, ?> state)
createValue(State<?, ?> state)
m_61694_(C_2068_<?, ?> arg0)
public Stream<Property$Value<T>>
c()
getAllValues()
method_30043()
m_zzyvycig()
stream()
stream()
m_61702_()
public com.mojang.serialization.Codec<T>
d()
codec()
method_35308()
m_yktpzxsh()
getCodec()
getCodec()
m_156037_()
public com.mojang.serialization.Codec<Property$Value<T>>
e()
valueCodec()
method_30044()
m_hqpmnkux()
getValueCodec()
getValueCodec()
m_61705_()
public String
f()
getName()
method_11899()
m_cmzdmyqv()
getName()
getName()
m_61708_()
public Class<T>
g()
getValueClass()
method_11902()
m_sbsesker()
getType()
getType()
m_61709_()
public abstract Collection<T>
a()
getPossibleValues()
method_11898()
m_jejjdmtc()
getValues()
getValues()
m_6908_()
public abstract String
a(T arg0)
getName(T arg0)
method_11901(T arg0)
m_lcdpbnwn(T arg0)
name(T value)
name(T value)
m_6940_(T arg0)
public abstract Optional<T>
b(String arg0)
getValue(String arg0)
method_11900(String arg0)
m_umgcucjc(String arg0)
parse(String name)
parse(String name)
m_6215_(String arg0)
public int
b()
generateHashCode()
method_11799()
m_rdgegnio()
computeHashCode()
computeHashCode()
m_6310_()
public <U, S extends StateHolder<?, S>> com.mojang.serialization.DataResult<S>
a(com.mojang.serialization.DynamicOps<U> arg0, S arg1, U arg2)
parseValue(com.mojang.serialization.DynamicOps<U> arg0, S arg1, U arg2)
method_35307(com.mojang.serialization.DynamicOps<U> arg0, S arg1, U arg2)
m_gjdjqjml(com.mojang.serialization.DynamicOps<U> arg0, S arg1, U arg2)
parse(com.mojang.serialization.DynamicOps<U> ops, S state, U input)
m_gjdjqjml(com.mojang.serialization.DynamicOps<U> ops, S arg1, U arg2)
m_156031_(com.mojang.serialization.DynamicOps<U> p_156033_, S p_156034_, U arg2)