Class BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>>

java.lang.Object
net.minecraft.data.client.BlockStateVariantMap
net.minecraft.data.client.BlockStateVariantMap.SingleProperty<T1>
Enclosing class:
BlockStateVariantMap

public static class BlockStateVariantMap.SingleProperty<T1 extends Comparable<T1>> extends BlockStateVariantMap
Mappings:
Namespace Name
named net/minecraft/data/client/BlockStateVariantMap$SingleProperty
intermediary net/minecraft/class_4926$class_4927
official oj$a
  • Field Details

    • property

      private final Property<T1 extends Comparable<T1>> property
      Mappings:
      Namespace Name Mixin selector
      named property Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;property:Lnet/minecraft/state/property/Property;
      intermediary field_22864 Lnet/minecraft/class_4926$class_4927;field_22864:Lnet/minecraft/class_2769;
      official a Loj$a;a:Ldyw;
  • Constructor Details

    • SingleProperty

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

    • getProperties

      public List<Property<?>> getProperties()
      Specified by:
      getProperties in class BlockStateVariantMap
      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;
    • register

      public BlockStateVariantMap.SingleProperty<T1> register(T1 value, List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;
      intermediary method_25794 Lnet/minecraft/class_4926$class_4927;method_25794(Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/class_4926$class_4927;
      official a Loj$a;a(Ljava/lang/Comparable;Ljava/util/List;)Loj$a;
    • register

      public BlockStateVariantMap.SingleProperty<T1> register(T1 value, BlockStateVariant variant)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Lnet/minecraft/data/client/BlockStateVariant;)Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;
      intermediary method_25793 Lnet/minecraft/class_4926$class_4927;method_25793(Ljava/lang/Comparable;Lnet/minecraft/class_4935;)Lnet/minecraft/class_4926$class_4927;
      official a Loj$a;a(Ljava/lang/Comparable;Lol;)Loj$a;
    • register

      public BlockStateVariantMap register(Function<T1,BlockStateVariant> variantFactory)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;register(Ljava/util/function/Function;)Lnet/minecraft/data/client/BlockStateVariantMap;
      intermediary method_25795 Lnet/minecraft/class_4926$class_4927;method_25795(Ljava/util/function/Function;)Lnet/minecraft/class_4926;
      official a Loj$a;a(Ljava/util/function/Function;)Loj;
    • registerVariants

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