Class BlockStateVariantMap<V>

java.lang.Object
net.minecraft.client.data.BlockStateVariantMap<V>
Direct Known Subclasses:
BlockStateVariantMap.DoubleProperty, BlockStateVariantMap.QuadrupleProperty, BlockStateVariantMap.QuintupleProperty, BlockStateVariantMap.SingleProperty, BlockStateVariantMap.TripleProperty

@Environment(CLIENT) public abstract class BlockStateVariantMap<V> extends Object
An equivalence to the Map<String, WeightedUnbakedModel> passed to the constructor of ModelVariantMap.
Mappings:
Namespace Name
named net/minecraft/client/data/BlockStateVariantMap
intermediary net/minecraft/class_4926
official fsr
  • Field Details Link icon

    • variants Link icon

      private final Map<PropertiesMap,V> variants
      Mappings:
      Namespace Name Mixin selector
      named variants Lnet/minecraft/client/data/BlockStateVariantMap;variants:Ljava/util/Map;
      intermediary field_22863 Lnet/minecraft/class_4926;field_22863:Ljava/util/Map;
      official a Lfsr;a:Ljava/util/Map;
  • Constructor Details Link icon

    • BlockStateVariantMap Link icon

      public BlockStateVariantMap()
  • Method Details Link icon

    • register Link icon

      protected void register(PropertiesMap properties, V variant)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/client/data/BlockStateVariantMap;register(Lnet/minecraft/client/data/PropertiesMap;Ljava/lang/Object;)V
      intermediary method_25790 Lnet/minecraft/class_4926;method_25790(Lnet/minecraft/class_4934;Ljava/lang/Object;)V
      official a Lfsr;a(Lfss;Ljava/lang/Object;)V
    • getVariants Link icon

      Map<PropertiesMap,V> getVariants()
      Mappings:
      Namespace Name Mixin selector
      named getVariants Lnet/minecraft/client/data/BlockStateVariantMap;getVariants()Ljava/util/Map;
      intermediary method_25782 Lnet/minecraft/class_4926;method_25782()Ljava/util/Map;
      official a Lfsr;a()Ljava/util/Map;
    • validate Link icon

      private void validate()
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/client/data/BlockStateVariantMap;validate()V
      intermediary method_25792 Lnet/minecraft/class_4926;method_25792()V
      official c Lfsr;c()V
    • getProperties Link icon

      abstract List<Property<?>> getProperties()
      Mappings:
      Namespace Name Mixin selector
      named getProperties Lnet/minecraft/client/data/BlockStateVariantMap;getProperties()Ljava/util/List;
      intermediary method_25791 Lnet/minecraft/class_4926;method_25791()Ljava/util/List;
      official b Lfsr;b()Ljava/util/List;
    • models Link icon

      public static <T1 extends Comparable<T1>> BlockStateVariantMap.SingleProperty<WeightedVariant,T1> models(Property<T1> property)
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/data/BlockStateVariantMap;models(Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$SingleProperty;
      intermediary method_67864 Lnet/minecraft/class_4926;method_67864(Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4927;
      official a Lfsr;a(Lect;)Lfsr$a;
    • models Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>> BlockStateVariantMap.DoubleProperty<WeightedVariant,T1,T2> models(Property<T1> property1, Property<T2> property2)
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/data/BlockStateVariantMap;models(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$DoubleProperty;
      intermediary method_67865 Lnet/minecraft/class_4926;method_67865(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4928;
      official a Lfsr;a(Lect;Lect;)Lfsr$b;
    • models Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>> BlockStateVariantMap.TripleProperty<WeightedVariant,T1,T2,T3> models(Property<T1> property1, Property<T2> property2, Property<T3> property3)
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/data/BlockStateVariantMap;models(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$TripleProperty;
      intermediary method_67866 Lnet/minecraft/class_4926;method_67866(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4929;
      official a Lfsr;a(Lect;Lect;Lect;)Lfsr$c;
    • models Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>> BlockStateVariantMap.QuadrupleProperty<WeightedVariant,T1,T2,T3,T4> models(Property<T1> property1, Property<T2> property2, Property<T3> property3, Property<T4> property4)
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/data/BlockStateVariantMap;models(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$QuadrupleProperty;
      intermediary method_67867 Lnet/minecraft/class_4926;method_67867(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4930;
      official a Lfsr;a(Lect;Lect;Lect;Lect;)Lfsr$d;
    • models Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>> BlockStateVariantMap.QuintupleProperty<WeightedVariant,T1,T2,T3,T4,T5> models(Property<T1> property1, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/data/BlockStateVariantMap;models(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/client/data/BlockStateVariantMap$QuintupleProperty;
      intermediary method_67868 Lnet/minecraft/class_4926;method_67868(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 Lfsr;a(Lect;Lect;Lect;Lect;Lect;)Lfsr$e;
    • operations Link icon

      public static <T1 extends Comparable<T1>> BlockStateVariantMap.SingleProperty<ModelVariantOperator,T1> operations(Property<T1> property)
      Mappings:
      Namespace Name Mixin selector
      named operations Lnet/minecraft/client/data/BlockStateVariantMap;operations(Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$SingleProperty;
      intermediary method_67869 Lnet/minecraft/class_4926;method_67869(Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4927;
      official b Lfsr;b(Lect;)Lfsr$a;
    • operations Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>> BlockStateVariantMap.DoubleProperty<ModelVariantOperator,T1,T2> operations(Property<T1> property1, Property<T2> property2)
      Mappings:
      Namespace Name Mixin selector
      named operations Lnet/minecraft/client/data/BlockStateVariantMap;operations(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$DoubleProperty;
      intermediary method_67870 Lnet/minecraft/class_4926;method_67870(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4928;
      official b Lfsr;b(Lect;Lect;)Lfsr$b;
    • operations Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>> BlockStateVariantMap.TripleProperty<ModelVariantOperator,T1,T2,T3> operations(Property<T1> property1, Property<T2> property2, Property<T3> property3)
      Mappings:
      Namespace Name Mixin selector
      named operations Lnet/minecraft/client/data/BlockStateVariantMap;operations(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$TripleProperty;
      intermediary method_67871 Lnet/minecraft/class_4926;method_67871(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4929;
      official b Lfsr;b(Lect;Lect;Lect;)Lfsr$c;
    • operations Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>> BlockStateVariantMap.QuadrupleProperty<ModelVariantOperator,T1,T2,T3,T4> operations(Property<T1> property1, Property<T2> property2, Property<T3> property3, Property<T4> property4)
      Mappings:
      Namespace Name Mixin selector
      named operations Lnet/minecraft/client/data/BlockStateVariantMap;operations(Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;Lnet/minecraft/state/property/Property;)Lnet/minecraft/client/data/BlockStateVariantMap$QuadrupleProperty;
      intermediary method_67872 Lnet/minecraft/class_4926;method_67872(Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;Lnet/minecraft/class_2769;)Lnet/minecraft/class_4926$class_4930;
      official b Lfsr;b(Lect;Lect;Lect;Lect;)Lfsr$d;
    • operations Link icon

      public static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>> BlockStateVariantMap.QuintupleProperty<ModelVariantOperator,T1,T2,T3,T4,T5> operations(Property<T1> property1, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)
      Mappings:
      Namespace Name Mixin selector
      named operations Lnet/minecraft/client/data/BlockStateVariantMap;operations(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/client/data/BlockStateVariantMap$QuintupleProperty;
      intermediary method_67873 Lnet/minecraft/class_4926;method_67873(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 b Lfsr;b(Lect;Lect;Lect;Lect;Lect;)Lfsr$e;