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/NumericProperty
intermediary net/minecraft/class_1800
official hcu
  • Method Details Link icon

    • getValue Link icon

      float getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity holder, int seed)
      Mappings:
      Namespace Name Mixin selector
      named getValue Lnet/minecraft/client/render/item/property/numeric/NumericProperty;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)F
      intermediary method_65644 Lnet/minecraft/class_1800;method_65644(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
      official a Lhcu;a(Lcwq;Lgga;Lbvi;I)F
    • getCodec Link icon

      com.mojang.serialization.MapCodec<? extends NumericProperty> getCodec()
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/client/render/item/property/numeric/NumericProperty;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_65643 Lnet/minecraft/class_1800;method_65643()Lcom/mojang/serialization/MapCodec;
      official a Lhcu;a()Lcom/mojang/serialization/MapCodec;