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

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

cfj
net.minecraft.world.level.block.state.properties.Property
net.minecraft.class_2769
net.minecraft.state.property.Property
net.minecraft.state.Property
net.minecraft.server.v1_16_R3.IBlockState

Field summary

Modifier and TypeField
private final Class<T>
a
clazz
field_24742
type
field_235913_a_
private final String
b
name
field_24743
name
field_235914_b_
private Integer
c
hashCode
field_24744
hashCodeCache
field_235915_c_
private final com.mojang.serialization.Codec<T>
d
codec
field_24745
codec
field_235916_d_
private final com.mojang.serialization.Codec<Property$Value<T>>
e
valueCodec
field_25670
valueCodec
field_241488_e_

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)
createValue(T value)
func_241490_b_(T arg0)
public Property$Value<T>
a(cej<?, ?> arg0)
value(StateHolder<?, ?> arg0)
method_30041(class_2688<?, ?> arg0)
createValue(State<?, ?> state)
func_241489_a_(StateHolder<?, ?> arg0)
public Stream<Property$Value<T>>
c()
getAllValues()
method_30043()
stream()
func_241491_c_()
public com.mojang.serialization.Codec<Property$Value<T>>
e()
valueCodec()
method_30044()
getValueCodec()
func_241492_e_()
public String
f()
getName()
method_11899()
getName()
func_177701_a()
getName()
public Class<T>
g()
getValueClass()
method_11902()
getType()
func_177699_b()
getType()
public abstract Collection<T>
a()
getPossibleValues()
method_11898()
getValues()
func_177700_c()
getValues()
public abstract String
a(T arg0)
getName(T arg0)
method_11901(T arg0)
name(T value)
func_177702_a(T arg0)
public abstract Optional<T>
b(String arg0)
getValue(String arg0)
method_11900(String arg0)
parse(String name)
func_185929_b(String arg0)
public int
b()
generateHashCode()
method_11799()
computeHashCode()
func_206906_c()