public static class BlockStateVariantMap.DoubleProperty<T1 extends Comparable<T1>,T2 extends Comparable<T2>> 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 and Type | Field and Description |
---|---|
private Property<T1> |
first |
private Property<T2> |
second |
Modifier | Constructor and Description |
---|---|
private |
DoubleProperty(Property<T1> property,
Property<T2> property2) |
Modifier and Type | Method and Description |
---|---|
List<Property<?>> |
getProperties() |
BlockStateVariantMap |
register(BiFunction<T1,T2,BlockStateVariant> variantFactory) |
BlockStateVariantMap.DoubleProperty<T1,T2> |
register(T1 t1,
T2 t2,
BlockStateVariant blockStateVariant) |
BlockStateVariantMap.DoubleProperty<T1,T2> |
register(T1 t1,
T2 t2,
List<BlockStateVariant> list) |
BlockStateVariantMap |
registerVariants(BiFunction<T1,T2,List<BlockStateVariant>> variantsFactory) |
create, create, create, create, create, getVariants, register
private final Property<T1 extends Comparable<T1>> first
private final Property<T2 extends Comparable<T2>> second
public List<Property<?>> getProperties()
getProperties
in class BlockStateVariantMap
public BlockStateVariantMap.DoubleProperty<T1,T2> register(T1 t1, T2 t2, List<BlockStateVariant> list)
public BlockStateVariantMap.DoubleProperty<T1,T2> register(T1 t1, T2 t2, BlockStateVariant blockStateVariant)
public BlockStateVariantMap register(BiFunction<T1,T2,BlockStateVariant> variantFactory)
public BlockStateVariantMap registerVariants(BiFunction<T1,T2,List<BlockStateVariant>> variantsFactory)