Interface SelectProperty<T>
- All Known Implementing Classes:
ChargeTypeProperty
,ComponentSelectProperty
,ContextDimensionProperty
,ContextEntityTypeProperty
,CustomModelDataStringProperty
,DisplayContextProperty
,ItemBlockStateProperty
,LocalTimeProperty
,MainHandProperty
,TrimMaterialProperty
- Mappings:
Namespace Name named net/minecraft/client/render/item/property/select/SelectProperty
intermediary net/minecraft/class_10494
official hjg
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
SelectProperty.Type<P extends SelectProperty<T>,
T> -
Method Summary
Modifier and TypeMethodDescriptionSelectProperty.Type
<? extends SelectProperty<T>, T> getType()
getValue
(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity user, int seed, ItemDisplayContext displayContext) com.mojang.serialization.Codec
<T>
-
Method Details
-
getValue
@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
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
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;
-