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 jg$a
intermediary net/minecraft/class_4926$class_4927
named net/minecraft/data/client/model/BlockStateVariantMap$SingleProperty
  • Field Details

    • property

      private final Property<T1 extends Comparable<T1>> property
      Mappings:
      Namespace Name Mixin selector
      official a Ljg$a;a:Lclv;
      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

      SingleProperty(Property<T1> property)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljg$a;<init>(Lclv;)V
      intermediary <init> Lnet/minecraft/class_4926$class_4927;<init>(Lnet/minecraft/class_2769;)V
      named <init> Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;<init>(Lnet/minecraft/state/property/Property;)V
  • Method Details

    • getProperties

      public List<Property<?>> getProperties()
      Specified by:
      getProperties in class BlockStateVariantMap
      Mappings:
      Namespace Name Mixin selector
      official b Ljg;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 Ljg$a;a(Ljava/lang/Comparable;Ljava/util/List;)Ljg$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

      public BlockStateVariantMap.SingleProperty<T1> register(T1 value, BlockStateVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Ljg$a;a(Ljava/lang/Comparable;Lji;)Ljg$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

      public BlockStateVariantMap register(Function<T1,​BlockStateVariant> variantFactory)
      Mappings:
      Namespace Name Mixin selector
      official a Ljg$a;a(Ljava/util/function/Function;)Ljg;
      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;
    • registerVariants

      public BlockStateVariantMap registerVariants(Function<T1,​List<BlockStateVariant>> variantFactory)
      Mappings:
      Namespace Name Mixin selector
      official b Ljg$a;b(Ljava/util/function/Function;)Ljg;
      intermediary method_35878 Lnet/minecraft/class_4926$class_4927;method_35878(Ljava/util/function/Function;)Lnet/minecraft/class_4926;
      named registerVariants Lnet/minecraft/data/client/model/BlockStateVariantMap$SingleProperty;registerVariants(Ljava/util/function/Function;)Lnet/minecraft/data/client/model/BlockStateVariantMap;