net.minecraft.world.item

public abstract class ProjectileWeaponItem

extends Item

All mapped superinterfaces:

ItemLike

bez
net.minecraft.world.item.ProjectileWeaponItem
net.minecraft.class_1811
net.minecraft.item.RangedWeaponItem
net.minecraft.item.ShootableItem
net.minecraft.server.v1_15_R1.ItemProjectileWeapon

Field summary

Modifier and TypeField
public static final Predicate<ItemStack>
a
ARROW_ONLY
field_18281
BOW_PROJECTILES
field_220007_a
public static final Predicate<ItemStack>
b
ARROW_OR_FIREWORK
field_18282
CROSSBOW_HELD_PROJECTILES
field_220008_b

Constructor summary

ModifierConstructor
public (Item$Properties settings)

Method summary

Modifier and TypeMethod
public Predicate<ItemStack>
d()
getSupportedHeldProjectiles()
method_20310()
getHeldProjectiles()
func_220006_d()
public abstract Predicate<ItemStack>
b()
getAllSupportedProjectiles()
method_19268()
getProjectiles()
func_220004_b()
public static ItemStack
a(akz arg0, Predicate<ben> arg1)
getHeldProjectile(LivingEntity arg0, Predicate<ItemStack> arg1)
method_18815(class_1309 arg0, Predicate<class_1799> arg1)
getHeldProjectile(LivingEntity entity, Predicate<ItemStack> predicate)
func_220005_a(LivingEntity arg0, Predicate<ItemStack> arg1)
public int
c()
getEnchantmentValue()
method_7837()
getEnchantability()
func_77619_b()