Class CrossbowPull
java.lang.Object
net.minecraft.client.renderer.item.properties.numeric.CrossbowPull
- All Implemented Interfaces:
RangeSelectItemModelProperty
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
get
(ItemStack p_387470_, ClientLevel p_387947_, LivingEntity p_388564_, int p_388371_) com.mojang.serialization.MapCodec
<CrossbowPull> type()
-
Field Details
-
MAP_CODEC
-
-
Constructor Details
-
CrossbowPull
public CrossbowPull()
-
-
Method Details
-
get
public float get(ItemStack p_387470_, @Nullable ClientLevel p_387947_, @Nullable LivingEntity p_388564_, int p_388371_) - Specified by:
get
in interfaceRangeSelectItemModelProperty
-
type
- Specified by:
type
in interfaceRangeSelectItemModelProperty
-