net.minecraft.world.item

public abstract class ProjectileWeaponItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cvj
net.minecraft.world.item.ProjectileWeaponItem
net.minecraft.class_1811
net.minecraft.unmapped.C_axrfhndl
net.minecraft.item.RangedWeaponItem
net.minecraft.item.RangedWeaponItem
net.minecraft.src.C_1406_
net.minecraft.world.item.ProjectileItem

Field summary

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

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
d()
getSupportedHeldProjectiles()
method_20310()
m_cklqgcpd()
getHeldProjectiles()
getHeldProjectiles()
m_6442_()
public abstract Predicate<ItemStack>
b()
getAllSupportedProjectiles()
method_19268()
m_yigyclfo()
getProjectiles()
getProjectiles()
m_6437_()
public static ItemStack
a(btq arg0, Predicate<cuq> 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)
getHeldProjectile(LivingEntity entity, Predicate<ItemStack> predicate)
m_43010_(C_524_ p_43011_, Predicate<C_1391_> p_43012_)
public int
g()
getEnchantmentValue()
method_7837()
m_tspifhtw()
getEnchantability()
getEnchantability()
m_6473_()
public abstract int
c()
getDefaultProjectileRange()
method_24792()
m_npgeoury()
getRange()
getRange()
m_6615_()
protected void
a(dbz arg0, btq arg1, bqu arg2, cuq arg3, List<cuq> arg4, float arg5, float arg6, boolean arg7, btq arg8)
shoot(Level arg0, LivingEntity arg1, InteractionHand arg2, ItemStack arg3, List<ItemStack> arg4, float arg5, float arg6, boolean arg7, LivingEntity arg8)
method_57393(class_1937 arg0, class_1309 arg1, class_1268 arg2, class_1799 arg3, List<class_1799> arg4, float arg5, float arg6, boolean arg7, class_1309 arg8)
m_bcqhkdxf(C_cdctfzbn arg0, C_usxaxydn arg1, C_laxmzoqs arg2, C_sddaxwyk arg3, List<C_sddaxwyk> arg4, float arg5, float arg6, boolean arg7, C_usxaxydn arg8)
shootAll(World world, LivingEntity shooter, Hand hand, ItemStack stack, List<ItemStack> projectiles, float speed, float divergence, boolean critical, LivingEntity target)
m_bcqhkdxf(World world, LivingEntity arg1, Hand hand, ItemStack stack, List<ItemStack> arg4, float arg5, float arg6, boolean arg7, LivingEntity arg8)
m_324710_(C_1596_ p_332682_, C_524_ p_333462_, C_470_ p_333670_, C_1391_ p_328443_, List<C_1391_> p_330956_, float p_333326_, float p_332457_, boolean p_328954_, C_524_ arg8)
protected int
k(cuq arg0)
getDurabilityUse(ItemStack arg0)
method_57345(class_1799 arg0)
m_tlsladkr(C_sddaxwyk arg0)
getWeaponStackDamage(ItemStack projectile)
m_tlsladkr(ItemStack stack)
m_319432_(C_1391_ arg0)
protected abstract void
a(btq arg0, cnq arg1, int arg2, float arg3, float arg4, float arg5, btq arg6)
shootProjectile(LivingEntity arg0, Projectile arg1, int arg2, float arg3, float arg4, float arg5, LivingEntity arg6)
method_7763(class_1309 arg0, class_1676 arg1, int arg2, float arg3, float arg4, float arg5, class_1309 arg6)
m_fhkzmpeo(C_usxaxydn arg0, C_ltpsyvhj arg1, int arg2, float arg3, float arg4, float arg5, C_usxaxydn arg6)
shoot(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, LivingEntity target)
m_40894_(C_524_ p_328720_, C_1167_ p_328740_, int p_335337_, float p_332934_, float p_329948_, float p_329516_, C_524_ arg6)
protected Projectile
a(dbz arg0, btq arg1, cuq arg2, cuq arg3, boolean arg4)
createProjectile(Level arg0, LivingEntity arg1, ItemStack arg2, ItemStack arg3, boolean arg4)
method_57344(class_1937 arg0, class_1309 arg1, class_1799 arg2, class_1799 arg3, boolean arg4)
m_rbhackqr(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, C_sddaxwyk arg3, boolean arg4)
createArrowEntity(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical)
m_rbhackqr(World world, LivingEntity arg1, ItemStack arg2, ItemStack arg3, boolean arg4)
m_40862_(C_1596_ p_334736_, C_524_ p_333680_, C_1391_ p_329118_, C_1391_ p_336242_, boolean arg4)
protected static boolean
a(cuq arg0, cuq arg1, boolean arg2)
hasInfiniteArrows(ItemStack arg0, ItemStack arg1, boolean arg2)
method_57392(class_1799 arg0, class_1799 arg1, boolean arg2)
m_culsjopr(C_sddaxwyk arg0, C_sddaxwyk arg1, boolean arg2)
isInfinity(ItemStack weaponStack, ItemStack projectileStack, boolean creative)
m_culsjopr(ItemStack stack, ItemStack arg1, boolean arg2)
m_324621_(C_1391_ p_336325_, C_1391_ p_333325_, boolean p_333373_)
protected static List<ItemStack>
a(cuq arg0, cuq arg1, btq arg2)
draw(ItemStack arg0, ItemStack arg1, LivingEntity arg2)
method_57390(class_1799 arg0, class_1799 arg1, class_1309 arg2)
m_xmlyrvdl(C_sddaxwyk arg0, C_sddaxwyk arg1, C_usxaxydn arg2)
load(ItemStack weaponStack, ItemStack projectileStack, LivingEntity shooter)
m_xmlyrvdl(ItemStack stack, ItemStack arg1, LivingEntity arg2)
m_320555_(C_1391_ p_329054_, C_1391_ p_328618_, C_524_ p_335616_)
protected static ItemStack
a(cuq arg0, cuq arg1, btq arg2, boolean arg3)
useAmmo(ItemStack arg0, ItemStack arg1, LivingEntity arg2, boolean arg3)
method_57391(class_1799 arg0, class_1799 arg1, class_1309 arg2, boolean arg3)
m_rvgcyhtv(C_sddaxwyk arg0, C_sddaxwyk arg1, C_usxaxydn arg2, boolean arg3)
getProjectile(ItemStack weaponStack, ItemStack projectileStack, LivingEntity shooter, boolean multishot)
m_rvgcyhtv(ItemStack stack, ItemStack arg1, LivingEntity arg2, boolean arg3)
m_324157_(C_1391_ p_335938_, C_1391_ p_332014_, C_524_ p_332327_, boolean p_327685_)