Class CrossbowPullProperty

java.lang.Object
net.minecraft.client.render.item.property.numeric.CrossbowPullProperty
All Implemented Interfaces:
NumericProperty

@Environment(CLIENT) public class CrossbowPullProperty extends Object implements NumericProperty
Mappings:
Namespace Name
named net/minecraft/client/render/item/property/numeric/CrossbowPullProperty
intermediary net/minecraft/class_10477
official hcp
  • Field Details Link icon

    • CODEC Link icon

      public static final com.mojang.serialization.MapCodec<CrossbowPullProperty> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/item/property/numeric/CrossbowPullProperty;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_55398 Lnet/minecraft/class_10477;field_55398:Lcom/mojang/serialization/MapCodec;
      official a Lhcp;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details Link icon

    • CrossbowPullProperty Link icon

      public CrossbowPullProperty()
  • Method Details Link icon

    • getValue Link icon

      public float getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity holder, int seed)
      Specified by:
      getValue in interface NumericProperty
      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

      public com.mojang.serialization.MapCodec<CrossbowPullProperty> getCodec()
      Specified by:
      getCodec in interface NumericProperty
      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;