Uses of Class
net.minecraft.entity.projectile.ProjectileEntity
Packages that use ProjectileEntity
Package
Description
-
Uses of ProjectileEntity in net.minecraft.block
Methods in net.minecraft.block with parameters of type ProjectileEntityModifier and TypeMethodDescriptionvoid
AbstractBlock.AbstractBlockState.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) protected void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
DecoratedPotBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block. -
Uses of ProjectileEntity in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ProjectileEntityModifier and TypeMethodDescriptionvoid
ProjectileDeflection.deflect
(ProjectileEntity projectile, @Nullable Entity hitEntity, Random random) Entity.getProjectileDeflection
(ProjectileEntity projectile) -
Uses of ProjectileEntity in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ProjectileEntityModifier and TypeMethodDescriptionBreezeEntity.getProjectileDeflection
(ProjectileEntity projectile) -
Uses of ProjectileEntity in net.minecraft.entity.projectile
Subclasses of ProjectileEntity in net.minecraft.entity.projectileModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Constructor parameters in net.minecraft.entity.projectile with type arguments of type ProjectileEntityModifierConstructorDescription(package private)
ProjectileEntity
(EntityType<? extends ProjectileEntity> type, World world) -
Uses of ProjectileEntity in net.minecraft.entity.projectile.thrown
Subclasses of ProjectileEntity in net.minecraft.entity.projectile.thrownModifier and TypeClassDescriptionclass
class
class
class
class
class
class
-
Uses of ProjectileEntity in net.minecraft.item
Methods in net.minecraft.item that return ProjectileEntityModifier and TypeMethodDescriptionprotected ProjectileEntity
CrossbowItem.createArrowEntity
(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) protected ProjectileEntity
RangedWeaponItem.createArrowEntity
(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) ArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) EggItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ThrowablePotionItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) Methods in net.minecraft.item with parameters of type ProjectileEntityModifier and TypeMethodDescriptionvoid
FireChargeItem.initializeProjectile
(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) default void
ProjectileItem.initializeProjectile
(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) void
WindChargeItem.initializeProjectile
(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) protected void
BowItem.shoot
(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target) protected void
CrossbowItem.shoot
(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target) protected abstract void
RangedWeaponItem.shoot
(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target)