Package net.minecraft.data.client
Class BlockStateVariantMap
java.lang.Object
net.minecraft.data.client.BlockStateVariantMap
- Direct Known Subclasses:
BlockStateVariantMap.DoubleProperty
,BlockStateVariantMap.QuadrupleProperty
,BlockStateVariantMap.QuintupleProperty
,BlockStateVariantMap.SingleProperty
,BlockStateVariantMap.TripleProperty
An equivalence to the
Map<String, WeightedUnbakedModel>
passed to the constructor of ModelVariantMap
.- Mappings:
Namespace Name named net/minecraft/data/client/BlockStateVariantMap
intermediary net/minecraft/class_4926
official oj
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
BlockStateVariantMap.DoubleProperty<T1 extends Comparable<T1>,
T2 extends Comparable<T2>> static interface
static class
BlockStateVariantMap.QuadrupleProperty<T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>> static interface
static class
BlockStateVariantMap.QuintupleProperty<T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>> static class
BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>>
static interface
static class
BlockStateVariantMap.TripleProperty<T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
static <T1 extends Comparable<T1>>
BlockStateVariantMap.SingleProperty<T1> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
BlockStateVariantMap.DoubleProperty<T1, T2> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
BlockStateVariantMap.TripleProperty<T1, T2, T3> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>>
BlockStateVariantMap.QuadrupleProperty<T1, T2, T3, T4> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>>
BlockStateVariantMap.QuintupleProperty<T1, T2, T3, T4, T5> create
(Property<T1> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) (package private) Map
<PropertiesMap, List<BlockStateVariant>> protected void
register
(PropertiesMap condition, List<BlockStateVariant> possibleVariants)
-
Field Details
-
variants
- Mappings:
Namespace Name Mixin selector named variants
Lnet/minecraft/data/client/BlockStateVariantMap;variants:Ljava/util/Map;
intermediary field_22863
Lnet/minecraft/class_4926;field_22863:Ljava/util/Map;
official a
Loj;a:Ljava/util/Map;
-
-
Constructor Details
-
BlockStateVariantMap
public BlockStateVariantMap()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/data/client/BlockStateVariantMap;register(Lnet/minecraft/data/client/PropertiesMap;Ljava/util/List;)V
intermediary method_25790
Lnet/minecraft/class_4926;method_25790(Lnet/minecraft/class_4934;Ljava/util/List;)V
official a
Loj;a(Lok;Ljava/util/List;)V
-
getVariants
Map<PropertiesMap,List<BlockStateVariant>> getVariants()- Mappings:
Namespace Name Mixin selector named getVariants
Lnet/minecraft/data/client/BlockStateVariantMap;getVariants()Ljava/util/Map;
intermediary method_25782
Lnet/minecraft/class_4926;method_25782()Ljava/util/Map;
official a
Loj;a()Ljava/util/Map;
-
checkAllPropertyDefinitions
private void checkAllPropertyDefinitions()- Mappings:
Namespace Name Mixin selector named checkAllPropertyDefinitions
Lnet/minecraft/data/client/BlockStateVariantMap;checkAllPropertyDefinitions()V
intermediary method_25792
Lnet/minecraft/class_4926;method_25792()V
official c
Loj;c()V
-
getProperties
- Mappings:
Namespace Name Mixin selector named getProperties
Lnet/minecraft/data/client/BlockStateVariantMap;getProperties()Ljava/util/List;
intermediary method_25791
Lnet/minecraft/class_4926;method_25791()Ljava/util/List;
official b
Loj;b()Ljava/util/List;
-
create
public static <T1 extends Comparable<T1>> BlockStateVariantMap.SingleProperty<T1> create(Property<T1> property) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/client/BlockStateVariantMap;create(Lnet/minecraft/state/property/Property;)Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;
intermediary method_25783
Lnet/minecraft/class_4926;method_25783(Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4927;
official a
Loj;a(Ldyw;)Loj$a;
-
create
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> BlockStateVariantMap.DoubleProperty<T1,T2> create(Property<T1> first, Property<T2> second) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/client/BlockStateVariantMap;create(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/data/client/BlockStateVariantMap$DoubleProperty;
intermediary method_25784
Lnet/minecraft/class_4926;method_25784(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4928;
official a
Loj;a(Ldyw;Ldyw;)Loj$b;
-
create
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, BlockStateVariantMap.TripleProperty<T1,T3 extends Comparable<T3>> T2, createT3> (Property<T1> first, Property<T2> second, Property<T3> third) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/client/BlockStateVariantMap;create(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/data/client/BlockStateVariantMap$TripleProperty;
intermediary method_25785
Lnet/minecraft/class_4926;method_25785(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4929;
official a
Loj;a(Ldyw;Ldyw;Ldyw;)Loj$c;
-
create
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, BlockStateVariantMap.QuadrupleProperty<T1,T3 extends Comparable<T3>, T4 extends Comparable<T4>> T2, createT3, T4> (Property<T1> first, Property<T2> second, Property<T3> third, Property<T4> fourth) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/client/BlockStateVariantMap;create(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/data/client/BlockStateVariantMap$QuadrupleProperty;
intermediary method_25786
Lnet/minecraft/class_4926;method_25786(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4930;
official a
Loj;a(Ldyw;Ldyw;Ldyw;Ldyw;)Loj$d;
-
create
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, BlockStateVariantMap.QuintupleProperty<T1,T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>> T2, createT3, T4, T5> (Property<T1> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/data/client/BlockStateVariantMap;create(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/data/client/BlockStateVariantMap$QuintupleProperty;
intermediary method_25787
Lnet/minecraft/class_4926;method_25787(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4931;
official a
Loj;a(Ldyw;Ldyw;Ldyw;Ldyw;Ldyw;)Loj$e;
-