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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.projectile with parameters of type ProjectileModifier and TypeMethodDescriptionvoidProjectileDeflection.deflect(Projectile projectile, Entity entity, RandomSource random) Constructor parameters in net.minecraft.world.entity.projectile with type arguments of type ProjectileModifierConstructorDescriptionprotectedProjectile(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 TypeClassDescriptionclassclassclass -
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 ProjectileCrossbowItem.createProjectile(Level level, LivingEntity shooter, ItemStack weapon, ItemStack ammo, boolean isCrit) protected ProjectileProjectileWeaponItem.createProjectile(Level level, LivingEntity shooter, ItemStack weapon, ItemStack ammo, boolean isCrit) Methods in net.minecraft.world.item with parameters of type ProjectileModifier and TypeMethodDescriptionvoidFireChargeItem.shoot(Projectile projectile, double x, double y, double z, float velocity, float inaccuracy) default voidProjectileItem.shoot(Projectile projectile, double x, double y, double z, float velocity, float inaccuracy) voidWindChargeItem.shoot(Projectile p_338260_, double p_338763_, double p_338177_, double p_338349_, float p_338273_, float p_338257_) protected voidBowItem.shootProjectile(LivingEntity shooter, Projectile projectile, int index, float velocity, float inaccuracy, float angle, LivingEntity target) protected voidCrossbowItem.shootProjectile(LivingEntity shooter, Projectile projectile, int index, float velocity, float inaccuracy, float angle, LivingEntity target) protected abstract voidProjectileWeaponItem.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 voidAbstractCandleBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidAmethystBlock.onProjectileHit(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected voidBellBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidBigDripleafBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidCampfireBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidChorusFlowerBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidDecoratedPotBlock.onProjectileHit(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected voidPointedDripstoneBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidTargetBlock.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidTntBlock.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 TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.onProjectileHit(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected voidBlockBehaviour.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 booleanEventHooks.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