Uses of Class
net.minecraft.world.entity.projectile.Projectile
Packages that use Projectile
Package
Description
-
Uses of Projectile in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type Projectile -
Uses of Projectile in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze with parameters of type Projectile -
Uses of Projectile in net.minecraft.world.entity.projectile
Subclasses of Projectile in net.minecraft.world.entity.projectileModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Methods in net.minecraft.world.entity.projectile with parameters of type ProjectileModifier and TypeMethodDescriptionvoid
ProjectileDeflection.deflect
(Projectile projectile, Entity entity, RandomSource random) Constructor parameters in net.minecraft.world.entity.projectile with type arguments of type ProjectileModifierConstructorDescriptionprotected
Projectile
(EntityType<? extends Projectile> entityType, Level level) -
Uses of Projectile in net.minecraft.world.entity.projectile.windcharge
Subclasses of Projectile in net.minecraft.world.entity.projectile.windchargeModifier and TypeClassDescriptionclass
class
class
-
Uses of Projectile in net.minecraft.world.item
Methods in net.minecraft.world.item that return ProjectileModifier and TypeMethodDescriptionArrowItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) EggItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) FireChargeItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) ProjectileItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) SnowballItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.asProjectile
(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) TridentItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) WindChargeItem.asProjectile
(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) protected Projectile
CrossbowItem.createProjectile
(Level level, LivingEntity shooter, ItemStack weapon, ItemStack ammo, boolean isCrit) protected Projectile
ProjectileWeaponItem.createProjectile
(Level level, LivingEntity shooter, ItemStack weapon, ItemStack ammo, boolean isCrit) Methods in net.minecraft.world.item with parameters of type ProjectileModifier and TypeMethodDescriptionvoid
FireChargeItem.shoot
(Projectile projectile, double x, double y, double z, float velocity, float inaccuracy) default void
ProjectileItem.shoot
(Projectile projectile, double x, double y, double z, float velocity, float inaccuracy) void
WindChargeItem.shoot
(Projectile p_338260_, double p_338763_, double p_338177_, double p_338349_, float p_338273_, float p_338257_) protected void
BowItem.shootProjectile
(LivingEntity shooter, Projectile projectile, int index, float velocity, float inaccuracy, float angle, LivingEntity target) protected void
CrossbowItem.shootProjectile
(LivingEntity shooter, Projectile projectile, int index, float velocity, float inaccuracy, float angle, LivingEntity target) protected abstract void
ProjectileWeaponItem.shootProjectile
(LivingEntity shooter, Projectile projectile, int index, float velocity, float inaccuracy, float angle, LivingEntity target) -
Uses of Projectile in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type ProjectileModifier and TypeMethodDescriptionprotected void
AbstractCandleBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
AmethystBlock.onProjectileHit
(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected void
BellBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
BigDripleafBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
CampfireBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
ChorusFlowerBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
DecoratedPotBlock.onProjectileHit
(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected void
PointedDripstoneBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
TargetBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
TntBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) -
Uses of Projectile in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type ProjectileModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
BlockBehaviour.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) -
Uses of Projectile in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ProjectileModifier and TypeMethodDescriptionstatic boolean
EventHooks.onProjectileImpact
(Projectile projectile, HitResult ray) -
Uses of Projectile in net.neoforged.neoforge.event.entity
Fields in net.neoforged.neoforge.event.entity declared as ProjectileMethods in net.neoforged.neoforge.event.entity that return ProjectileConstructors in net.neoforged.neoforge.event.entity with parameters of type Projectile