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

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

cgl
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_R1.IBlockState

Field summary

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

Constructor summary

ModifierConstructor
protected (String arg0, Class<T> arg1)

Method summary

Modifier and TypeMethod
public Property$Value<T>
b(T arg0)
value(T arg0)
method_30042(T arg0)
method_30042(T arg0)
func_241490_b_(T arg0)
public Property$Value<T>
a(cfl<?, ?> arg0)
value(StateHolder<?, ?> arg0)
method_30041(class_2688<?, ?> arg0)
method_30041(State<?, ?> arg0)
func_241489_a_(StateHolder<?, ?> arg0)
public Stream<Property$Value<T>>
c()
getAllValues()
method_30043()
method_30043()
func_241491_c_()
public com.mojang.serialization.Codec<Property$Value<T>>
e()
valueCodec()
method_30044()
method_30044()
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()