net.minecraft.world.item

public abstract class ProjectileWeaponItem

extends Item

All mapped superinterfaces:

ItemLike

bre
net.minecraft.world.item.ProjectileWeaponItem
net.minecraft.class_1811
net.minecraft.item.RangedWeaponItem
net.minecraft.src.C_1406_
net.minecraft.world.item.ItemProjectileWeapon

Field summary

Modifier and TypeField
public static final Predicate<ItemStack>
c
ARROW_ONLY
field_18281
BOW_PROJECTILES
f_43005_
public static final Predicate<ItemStack>
d
ARROW_OR_FIREWORK
field_18282
CROSSBOW_HELD_PROJECTILES
f_43006_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
e()
getSupportedHeldProjectiles()
method_20310()
getHeldProjectiles()
m_6442_()
public abstract Predicate<ItemStack>
b()
getAllSupportedProjectiles()
method_19268()
getProjectiles()
m_6437_()
public static ItemStack
a(atu arg0, Predicate<bqq> arg1)
getHeldProjectile(LivingEntity arg0, Predicate<ItemStack> arg1)
method_18815(class_1309 arg0, Predicate<class_1799> arg1)
getHeldProjectile(LivingEntity entity, Predicate<ItemStack> predicate)
m_43010_(C_524_ p_43011_, Predicate<C_1391_> p_43012_)
public int
c()
getEnchantmentValue()
method_7837()
getEnchantability()
m_6473_()
public abstract int
d()
getDefaultProjectileRange()
method_24792()
getRange()
m_6615_()