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

    • property

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

    • SingleProperty

      SingleProperty(Property<T1> property)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljo$a;<init>(Lcpy;)V
      intermediary <init> Lnet/minecraft/class_4926$class_4927;<init>(Lnet/minecraft/class_2769;)V
      named <init> Lnet/minecraft/data/client/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 Ljo;b()Ljava/util/List;
      intermediary method_25791 Lnet/minecraft/class_4926;method_25791()Ljava/util/List;
      named getProperties Lnet/minecraft/data/client/BlockStateVariantMap;getProperties()Ljava/util/List;
    • register

      public BlockStateVariantMap.SingleProperty<T1> register(T1 value, List<BlockStateVariant> variants)
      Mappings:
      Namespace Name Mixin selector
      official a Ljo$a;a(Ljava/lang/Comparable;Ljava/util/List;)Ljo$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/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;
    • register

      public BlockStateVariantMap.SingleProperty<T1> register(T1 value, BlockStateVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Ljo$a;a(Ljava/lang/Comparable;Ljq;)Ljo$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/BlockStateVariantMap$SingleProperty;register(Ljava/lang/Comparable;Lnet/minecraft/data/client/BlockStateVariant;)Lnet/minecraft/data/client/BlockStateVariantMap$SingleProperty;
    • register

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

      public BlockStateVariantMap registerVariants(Function<T1,List<BlockStateVariant>> variantFactory)
      Mappings:
      Namespace Name Mixin selector
      official b Ljo$a;b(Ljava/util/function/Function;)Ljo;
      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/BlockStateVariantMap$SingleProperty;registerVariants(Ljava/util/function/Function;)Lnet/minecraft/data/client/BlockStateVariantMap;