Package net.minecraft.data.client.model
Class BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>>
java.lang.Object
net.minecraft.data.client.model.BlockStateVariantMap
net.minecraft.data.client.model.BlockStateVariantMap.SingleProperty<T1>
- Enclosing class:
- BlockStateVariantMap
public static class BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>> extends BlockStateVariantMap
- Mappings:
Namespace Name official iw$a
intermediary net/minecraft/class_4926$class_4927
named net/minecraft/data/client/model/BlockStateVariantMap$SingleProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.data.client.model.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>>
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
SingleProperty(Property<T1> property)
-
Method Summary
Modifier and Type Method Description List<Property<?>>
getProperties()
BlockStateVariantMap
register(Function<T1,BlockStateVariant> variantFactory)
BlockStateVariantMap.SingleProperty<T1>
register(T1 value, List<BlockStateVariant> variants)
BlockStateVariantMap.SingleProperty<T1>
register(T1 value, BlockStateVariant variant)
Methods inherited from class net.minecraft.data.client.model.BlockStateVariantMap
create, create, create, create, create, getVariants, register
-
Field Details
-
property
- Mappings:
Namespace Name Mixin selector official a
Liw$a;a:Lciw;
intermediary field_22864
Lnet/minecraft/class_4926$class_4927;field_22864:Lnet/minecraft/class_2769;
named property
Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;property:Lnet/minecraft/state/property/Property;
-
-
Constructor Details
-
SingleProperty
-
-
Method Details
-
getProperties
- Specified by:
getProperties
in classBlockStateVariantMap
- Mappings:
Namespace Name Mixin selector official b
Liw;b()Ljava/util/List;
intermediary method_25791
Lnet/minecraft/class_4926;method_25791()Ljava/util/List;
named getProperties
Lnet/minecraft/data/client/model/BlockStateVariantMap;getProperties()Ljava/util/List;
-
register
public BlockStateVariantMap.SingleProperty<T1> register(T1 value, List<BlockStateVariant> variants)- Mappings:
Namespace Name Mixin selector official a
Liw$a;a(Ljava/lang/Comparable;Ljava/util/List;)Liw$a;
intermediary method_25794
Lnet/minecraft/class_4926$class_4927;method_25794(Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/class_4926$class_4927;
named register
Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;
-
register
- Mappings:
Namespace Name Mixin selector official a
Liw$a;a(Ljava/lang/Comparable;Liy;)Liw$a;
intermediary method_25793
Lnet/minecraft/class_4926$class_4927;method_25793(Ljava/lang/Comparable;Lnet/minecraft/class_4935;)Lnet/minecraft/class_4926$class_4927;
named register
Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Lnet/minecraft/data/client/model/BlockStateVariant;)Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;
-
register
- Mappings:
Namespace Name Mixin selector official a
Liw$a;a(Ljava/util/function/Function;)Liw;
intermediary method_25795
Lnet/minecraft/class_4926$class_4927;method_25795(Ljava/util/function/Function;)Lnet/minecraft/class_4926;
named register
Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;register(Ljava/util/function/Function;)Lnet/minecraft/data/client/model/BlockStateVariantMap;
-