Interface SelectProperty<T>

All Known Implementing Classes:
ChargeTypeProperty, ComponentSelectProperty, ContextDimensionProperty, ContextEntityTypeProperty, CustomModelDataStringProperty, DisplayContextProperty, ItemBlockStateProperty, LocalTimeProperty, MainHandProperty, TrimMaterialProperty

@Environment(CLIENT) public interface SelectProperty<T>
Mappings:
Namespace Name
named net/minecraft/client/render/item/property/select/SelectProperty
intermediary net/minecraft/class_10494
official hjg
  • Method Details Link icon

    • getValue Link icon

      @Nullable T getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity user, int seed, ItemDisplayContext displayContext)
      Mappings:
      Namespace Name Mixin selector
      named getValue Lnet/minecraft/client/render/item/property/select/SelectProperty;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;ILnet/minecraft/item/ItemDisplayContext;)Ljava/lang/Object;
      intermediary method_65676 Lnet/minecraft/class_10494;method_65676(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;ILnet/minecraft/class_811;)Ljava/lang/Object;
      official b Lhjg;b(Ldak;Lglo;Lbyf;ILdai;)Ljava/lang/Object;
    • valueCodec Link icon

      com.mojang.serialization.Codec<T> valueCodec()
      Mappings:
      Namespace Name Mixin selector
      named valueCodec Lnet/minecraft/client/render/item/property/select/SelectProperty;valueCodec()Lcom/mojang/serialization/Codec;
      intermediary method_67287 Lnet/minecraft/class_10494;method_67287()Lcom/mojang/serialization/Codec;
      official b Lhjg;b()Lcom/mojang/serialization/Codec;
    • getType Link icon

      SelectProperty.Type<? extends SelectProperty<T>,T> getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/client/render/item/property/select/SelectProperty;getType()Lnet/minecraft/client/render/item/property/select/SelectProperty$Type;
      intermediary method_65674 Lnet/minecraft/class_10494;method_65674()Lnet/minecraft/class_10494$class_10495;
      official a Lhjg;a()Lhjg$a;