Uses of Class
net.minecraft.entity.projectile.ProjectileEntity
Package
Description
-
Uses of ProjectileEntity in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
AbstractBlock.AbstractBlockState.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Deprecated.void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
LightningRodBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) -
Uses of ProjectileEntity in net.minecraft.block.dispenser
Modifier and TypeMethodDescriptionprotected abstract ProjectileEntity
ProjectileDispenserBehavior.createProjectile
(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser. -
Uses of ProjectileEntity in net.minecraft.entity
Modifier and TypeMethodDescriptiondefault void
CrossbowUser.shoot
(LivingEntity entity, LivingEntity target, ProjectileEntity projectile, float multishotSpray, float speed) void
CrossbowUser.shoot
(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) -
Uses of ProjectileEntity in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionvoid
PiglinEntity.shoot
(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) void
PillagerEntity.shoot
(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray) -
Uses of ProjectileEntity in net.minecraft.entity.projectile
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
ModifierConstructorDescription(package private)
ProjectileEntity
(EntityType<? extends ProjectileEntity> type, World world) -
Uses of ProjectileEntity in net.minecraft.entity.projectile.thrown
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
AbstractBlock.AbstractBlockState.onProjectileHit(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.hit.BlockHitResult, net.minecraft.entity.projectile.ProjectileEntity)
instead.