net.minecraft.world.item

public class CrossbowItem

extends ProjectileWeaponItem implements Vanishable

All mapped superinterfaces:

ItemLike, Vanishable

bkq
net.minecraft.world.item.CrossbowItem
net.minecraft.class_1764
net.minecraft.unmapped.C_fatxcdqp
net.minecraft.item.CrossbowItem
net.minecraft.item.CrossbowItem
net.minecraft.server.v1_16_R2.ItemCrossbow

Field summary

Modifier and TypeField
private boolean
c
startSoundPlayed
field_7937
f_xcgsrusg
charged
field_220034_c
private boolean
d
midLoadSoundPlayed
field_7936
f_cbjxbbpk
loaded
field_220035_d

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
e()
getSupportedHeldProjectiles()
method_20310()
m_cklqgcpd()
getHeldProjectiles()
func_220006_d()
public Predicate<ItemStack>
b()
getAllSupportedProjectiles()
method_19268()
m_yigyclfo()
getProjectiles()
func_220004_b()
public InteractionResultHolder<ItemStack>
a(bru arg0, bft arg1, aoq arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
public void
a(bly arg0, bru arg1, aqj arg2, int arg3)
releaseUsing(ItemStack arg0, Level arg1, LivingEntity arg2, int arg3)
method_7840(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
m_hwkxajsh(C_sddaxwyk arg0, C_cdctfzbn arg1, C_usxaxydn arg2, int arg3)
onStoppedUsing(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
func_77615_a(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
private static boolean
a(aqj arg0, bly arg1)
tryLoadProjectiles(LivingEntity arg0, ItemStack arg1)
method_7767(class_1309 arg0, class_1799 arg1)
m_tgjukcva(C_usxaxydn arg0, C_sddaxwyk arg1)
loadProjectiles(LivingEntity shooter, ItemStack projectile)
func_220021_a(LivingEntity arg0, ItemStack arg1)
private static boolean
a(aqj arg0, bly arg1, bly arg2, boolean arg3, boolean arg4)
loadProjectile(LivingEntity arg0, ItemStack arg1, ItemStack arg2, boolean arg3, boolean arg4)
method_7765(class_1309 arg0, class_1799 arg1, class_1799 arg2, boolean arg3, boolean arg4)
m_wwvixakz(C_usxaxydn arg0, C_sddaxwyk arg1, C_sddaxwyk arg2, boolean arg3, boolean arg4)
loadProjectile(LivingEntity shooter, ItemStack crossbow, ItemStack projectile, boolean simulated, boolean creative)
func_220023_a(LivingEntity arg0, ItemStack arg1, ItemStack arg2, boolean arg3, boolean arg4)
public static boolean
d(bly arg0)
isCharged(ItemStack arg0)
method_7781(class_1799 arg0)
m_wiqutonr(C_sddaxwyk arg0)
isCharged(ItemStack stack)
func_220012_d(ItemStack arg0)
public static void
a(bly arg0, boolean arg1)
setCharged(ItemStack arg0, boolean arg1)
method_7782(class_1799 arg0, boolean arg1)
m_tjndsbpq(C_sddaxwyk arg0, boolean arg1)
setCharged(ItemStack stack, boolean charged)
func_220011_a(ItemStack arg0, boolean arg1)
private static void
b(bly arg0, bly arg1)
addChargedProjectile(ItemStack arg0, ItemStack arg1)
method_7778(class_1799 arg0, class_1799 arg1)
m_mnfirsfv(C_sddaxwyk arg0, C_sddaxwyk arg1)
putProjectile(ItemStack crossbow, ItemStack projectile)
func_220029_b(ItemStack arg0, ItemStack arg1)
private static List<ItemStack>
k(bly arg0)
getChargedProjectiles(ItemStack arg0)
method_7785(class_1799 arg0)
m_spiwpqoc(C_sddaxwyk arg0)
getProjectiles(ItemStack crossbow)
func_220018_j(ItemStack arg0)
private static void
l(bly arg0)
clearChargedProjectiles(ItemStack arg0)
method_7766(class_1799 arg0)
m_yewtxbqj(C_sddaxwyk arg0)
clearProjectiles(ItemStack crossbow)
func_220027_k(ItemStack arg0)
public static boolean
a(bly arg0, blu arg1)
containsChargedProjectile(ItemStack arg0, Item arg1)
method_7772(class_1799 arg0, class_1792 arg1)
m_sjuzgbts(C_sddaxwyk arg0, C_vorddnax arg1)
hasProjectile(ItemStack crossbow, Item projectile)
func_220019_a(ItemStack arg0, Item arg1)
private static void
a(bru arg0, aqj arg1, aoq arg2, bly arg3, bly arg4, float arg5, boolean arg6, float arg7, float arg8, float arg9)
shootProjectile(Level arg0, LivingEntity arg1, InteractionHand arg2, ItemStack arg3, ItemStack arg4, float arg5, boolean arg6, float arg7, float arg8, float arg9)
method_7763(class_1937 arg0, class_1309 arg1, class_1268 arg2, class_1799 arg3, class_1799 arg4, float arg5, boolean arg6, float arg7, float arg8, float arg9)
m_krhanshc(C_cdctfzbn arg0, C_usxaxydn arg1, C_laxmzoqs arg2, C_sddaxwyk arg3, C_sddaxwyk arg4, float arg5, boolean arg6, float arg7, float arg8, float arg9)
shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated)
func_220016_a(World arg0, LivingEntity arg1, Hand arg2, ItemStack arg3, ItemStack arg4, float arg5, boolean arg6, float arg7, float arg8, float arg9)
private static AbstractArrow
a(bru arg0, aqj arg1, bly arg2, bly arg3)
getArrow(Level arg0, LivingEntity arg1, ItemStack arg2, ItemStack arg3)
method_18814(class_1937 arg0, class_1309 arg1, class_1799 arg2, class_1799 arg3)
m_vbpofhmy(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, C_sddaxwyk arg3)
createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow)
func_220024_a(World arg0, LivingEntity arg1, ItemStack arg2, ItemStack arg3)
public static void
a(bru arg0, aqj arg1, aoq arg2, bly arg3, float arg4, float arg5)
performShooting(Level arg0, LivingEntity arg1, InteractionHand arg2, ItemStack arg3, float arg4, float arg5)
method_7777(class_1937 arg0, class_1309 arg1, class_1268 arg2, class_1799 arg3, float arg4, float arg5)
m_btbqnuxf(C_cdctfzbn arg0, C_usxaxydn arg1, C_laxmzoqs arg2, C_sddaxwyk arg3, float arg4, float arg5)
shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence)
func_220014_a(World arg0, LivingEntity arg1, Hand arg2, ItemStack arg3, float arg4, float arg5)
private static float[]
a(Random arg0)
getShotPitches(Random arg0)
method_7780(Random arg0)
m_ivxpakrq(Random arg0)
getSoundPitches(Random random)
func_220028_a(Random arg0)
private static float
a(boolean arg0)
getRandomShotPitch(boolean arg0)
method_7784(boolean arg0)
m_tmspkiwg(boolean arg0)
getSoundPitch(boolean flag)
func_220032_a(boolean arg0)
private static void
a(bru arg0, aqj arg1, bly arg2)
onCrossbowShot(Level arg0, LivingEntity arg1, ItemStack arg2)
method_7769(class_1937 arg0, class_1309 arg1, class_1799 arg2)
m_cjrlqcre(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2)
postShoot(World world, LivingEntity entity, ItemStack stack)
func_220015_a(World arg0, LivingEntity arg1, ItemStack arg2)
public void
a(bru arg0, aqj arg1, bly arg2, int arg3)
onUseTick(Level arg0, LivingEntity arg1, ItemStack arg2, int arg3)
method_7852(class_1937 arg0, class_1309 arg1, class_1799 arg2, int arg3)
m_mvuvxzgn(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, int arg3)
usageTick(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
func_219972_a(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
public int
e_(bly arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
m_hwznhtnf(C_sddaxwyk arg0)
getMaxUseTime(ItemStack arg0)
func_77626_a(ItemStack arg0)
public static int
g(bly arg0)
getChargeDuration(ItemStack arg0)
method_7775(class_1799 arg0)
m_jwwdtsib(C_sddaxwyk arg0)
getPullTime(ItemStack stack)
func_220026_e(ItemStack arg0)
public UseAnim
d_(bly arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
m_yvddkccr(C_sddaxwyk arg0)
getUseAction(ItemStack arg0)
func_77661_b(ItemStack arg0)
private SoundEvent
a(int arg0)
getStartSound(int arg0)
method_7773(int arg0)
m_todzzqoj(int arg0)
getQuickChargeSound(int stage)
func_220025_a(int arg0)
private static float
a(int arg0, bly arg1)
getPowerForTime(int arg0, ItemStack arg1)
method_7770(int arg0, class_1799 arg1)
m_xefbydko(int arg0, C_sddaxwyk arg1)
getPullProgress(int useTicks, ItemStack stack)
func_220031_a(int arg0, ItemStack arg1)
private static float
m(bly arg0)
getShootingPower(ItemStack arg0)
method_20309(class_1799 arg0)
m_pfmniexj(C_sddaxwyk arg0)
getSpeed(ItemStack stack)
func_220013_l(ItemStack arg0)
public int
d()
getDefaultProjectileRange()
method_24792()
m_npgeoury()
getRange()
func_230305_d_()
public void
a(bly arg0, bru arg1, List<nr> arg2, bni arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)