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.unmapped.C_axrfhndl
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
f_evqweylu
BOW_PROJECTILES
f_43005_
public static final Predicate<ItemStack>
d
ARROW_OR_FIREWORK
field_18282
f_oatcxoeo
CROSSBOW_HELD_PROJECTILES
f_43006_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
e()
getSupportedHeldProjectiles()
method_20310()
m_cklqgcpd()
getHeldProjectiles()
m_6442_()
public abstract Predicate<ItemStack>
b()
getAllSupportedProjectiles()
method_19268()
m_yigyclfo()
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)
m_lskavclm(C_usxaxydn arg0, Predicate<C_sddaxwyk> arg1)
getHeldProjectile(LivingEntity entity, Predicate<ItemStack> predicate)
m_43010_(C_524_ p_43011_, Predicate<C_1391_> p_43012_)
public int
c()
getEnchantmentValue()
method_7837()
m_tspifhtw()
getEnchantability()
m_6473_()
public abstract int
d()
getDefaultProjectileRange()
method_24792()
m_npgeoury()
getRange()
m_6615_()