public static class BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>> extends BlockStateVariantMap
BlockStateVariantMap.DoubleProperty<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, BlockStateVariantMap.QuadrupleProperty<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>>, BlockStateVariantMap.QuintupleProperty<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>,T5 extends Comparable<T5>>, BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>>, BlockStateVariantMap.TriFunction<P1,P2,P3,R>, BlockStateVariantMap.TripleProperty<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>>
Modifier | Constructor and Description |
---|---|
private |
SingleProperty(Property<T1> property) |
Modifier and Type | Method and Description |
---|---|
List<Property<?>> |
getProperties() |
BlockStateVariantMap |
register(Function<T1,BlockStateVariant> variantFactory) |
BlockStateVariantMap.SingleProperty<T1> |
register(T1 value,
BlockStateVariant variant) |
BlockStateVariantMap.SingleProperty<T1> |
register(T1 value,
List<BlockStateVariant> variants) |
create, create, create, create, create, getVariants, register
private final Property<T1 extends Comparable<T1>> property
public List<Property<?>> getProperties()
getProperties
in class BlockStateVariantMap
public BlockStateVariantMap.SingleProperty<T1> register(T1 value, List<BlockStateVariant> variants)
public BlockStateVariantMap.SingleProperty<T1> register(T1 value, BlockStateVariant variant)
public BlockStateVariantMap register(Function<T1,BlockStateVariant> variantFactory)