Interface NumericProperty
- All Known Implementing Classes:
BundleFullnessProperty,CompassProperty,CooldownProperty,CountProperty,CrossbowPullProperty,CustomModelDataFloatProperty,DamageProperty,TimeProperty,UseCycleProperty,UseDurationProperty
@Environment(CLIENT)
public interface NumericProperty
- Mappings:
Namespace Name named net/minecraft/client/render/item/property/numeric/NumericPropertyintermediary net/minecraft/class_1800official ieg
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends NumericProperty> getCodec()floatgetValue(ItemStack stack, @Nullable ClientWorld world, @Nullable HeldItemContext context, int seed)
-
Method Details
-
getValue
float getValue(ItemStack stack, @Nullable ClientWorld world, @Nullable HeldItemContext context, int seed) - Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/client/render/item/property/numeric/NumericProperty;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/HeldItemContext;I)Fintermediary method_65644Lnet/minecraft/class_1800;method_65644(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_11566;I)Fofficial aLieg;a(Ldkg;Lhdr;Lcgy;I)F
-
getCodec
com.mojang.serialization.MapCodec<? extends NumericProperty> getCodec()- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/property/numeric/NumericProperty;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65643Lnet/minecraft/class_1800;method_65643()Lcom/mojang/serialization/MapCodec;official aLieg;a()Lcom/mojang/serialization/MapCodec;
-