net.minecraft.item

public class BowItem

extends RangedWeaponItem

All mapped superinterfaces:

ItemConvertible, ToggleableFeature

net.minecraft.world.item.BowItem
net.minecraft.class_1753
net.minecraft.item.BowItem

Field summary

Modifier and TypeField
public static final int
MAX_DRAW_DURATION
field_30855
TICKS_PER_SECOND
public static final int
DEFAULT_RANGE
field_30856
RANGE

Constructor summary

ModifierConstructor
public (Item$Settings properties)

Method summary

Modifier and TypeMethod
public boolean
releaseUsing(ItemStack itemStack, Level level, LivingEntity entity, int remainingTime)
method_7840(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
onStoppedUsing(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
protected void
shootProjectile(LivingEntity shooter, Projectile projectileEntity, int index, float power, float uncertainty, float angle, LivingEntity targetOverrride)
method_7763(class_1309 arg0, class_1676 arg1, int arg2, float arg3, float arg4, float arg5, class_1309 arg6)
shoot(LivingEntity arg0, ProjectileEntity arg1, int arg2, float arg3, float arg4, float arg5, LivingEntity arg6)
public static float
getPowerForTime(int timeHeld)
method_7722(int arg0)
getPullProgress(int useTicks)
public int
getUseDuration(ItemStack itemStack, LivingEntity user)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
public UseAction
getUseAnimation(ItemStack itemStack)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
public ActionResult
use(Level level, Player player, InteractionHand hand)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
public Predicate<ItemStack>
getAllSupportedProjectiles()
method_19268()
getProjectiles()
public int
getDefaultProjectileRange()
method_24792()
getRange()