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 TypeMethodDescriptionvoidAbstractBlock.AbstractBlockState.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) protected voidAbstractBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidAbstractCandleBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidAmethystBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidBellBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidBigDripleafBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidCampfireBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidChorusFlowerBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidDecoratedPotBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidPointedDripstoneBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidTargetBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidTntBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block. -
Uses of ProjectileEntity in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type ProjectileEntityModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.onProjectileSpawned(ServerWorld world, ItemStack weaponStack, ProjectileEntity projectile, Consumer<Item> onBreak) -
Uses of ProjectileEntity in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ProjectileEntityModifier and TypeMethodDescriptionvoidProjectileDeflection.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
Classes in net.minecraft.entity.projectile with type parameters of type ProjectileEntityModifier and TypeInterfaceDescriptionstatic interfaceProjectileEntity.class_9876<T extends ProjectileEntity>Subclasses of ProjectileEntity in net.minecraft.entity.projectileModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in net.minecraft.entity.projectile with type parameters of type ProjectileEntityModifier and TypeMethodDescriptionstatic <T extends ProjectileEntity>
TProjectileEntity.method_61548(ProjectileEntity.class_9876<T> class_9876, ServerWorld serverWorld, ItemStack itemStack, LivingEntity livingEntity, double double2, double double3, double double4, float float2, float float3) static <T extends ProjectileEntity>
TProjectileEntity.method_61549(ProjectileEntity.class_9876<T> class_9876, ServerWorld serverWorld, ItemStack itemStack, LivingEntity livingEntity, float float2, float float3, float float4) static <T extends ProjectileEntity>
TProjectileEntity.method_61551(T t, ServerWorld serverWorld, ItemStack itemStack) static <T extends ProjectileEntity>
TProjectileEntity.method_61552(T t, ServerWorld serverWorld, ItemStack itemStack, double double2, double double3, double double4, float float2, float float3) static <T extends ProjectileEntity>
TProjectileEntity.method_61553(T t, ServerWorld serverWorld, ItemStack itemStack, Consumer<T> consumer) 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 TypeClassDescriptionclassclassclassclassclassclassclass -
Uses of ProjectileEntity in net.minecraft.item
Methods in net.minecraft.item that return ProjectileEntityModifier and TypeMethodDescriptionprotected ProjectileEntityCrossbowItem.createArrowEntity(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) protected ProjectileEntityRangedWeaponItem.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 TypeMethodDescriptionvoidFireChargeItem.initializeProjectile(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) default voidProjectileItem.initializeProjectile(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) voidWindChargeItem.initializeProjectile(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty) protected voidBowItem.shoot(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target) protected voidCrossbowItem.shoot(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target) protected abstract voidRangedWeaponItem.shoot(LivingEntity shooter, ProjectileEntity projectile, int index, float speed, float divergence, float yaw, @Nullable LivingEntity target)