Uses of Class
net.minecraft.world.phys.EntityHitResult
Packages that use EntityHitResult
Package
Description
-
Uses of EntityHitResult in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type EntityHitResultModifier and TypeMethodDescriptionMultiPlayerGameMode.interact(Player player, Entity entity, EntityHitResult hitResult, InteractionHand hand) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return EntityHitResultModifier and TypeMethodDescriptionstatic @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Entity except, Vec3 from, Vec3 to, AABB box, Predicate<Entity> matching, double maxValue) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Level level, Projectile source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching) Methods in net.minecraft.world.entity.projectile that return types with arguments of type EntityHitResultModifier and TypeMethodDescriptionstatic Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity attacker, AttackRange attackRange, Predicate<Entity> matching, ClipContext.Block blockClipType) private static Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity source, Vec3 origin, Vec3 from, Predicate<Entity> matching, Vec3 to, float entityMargin, ClipContext.Block clipType) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, boolean includeFromEntity) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin, ClipContext.Block clipType, boolean includeFromEntity) Methods in net.minecraft.world.entity.projectile with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidFireworkRocketEntity.onHitEntity(EntityHitResult hitResult) protected voidFishingHook.onHitEntity(EntityHitResult hitResult) protected voidLlamaSpit.onHitEntity(EntityHitResult hitResult) protected voidProjectile.onHitEntity(EntityHitResult hitResult) protected voidShulkerBullet.onHitEntity(EntityHitResult hitResult) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.arrow
Methods in net.minecraft.world.entity.projectile.arrow that return EntityHitResultModifier and TypeMethodDescriptionprotected @Nullable EntityHitResultAbstractArrow.findHitEntity(Vec3 from, Vec3 to) protected @Nullable EntityHitResultThrownTrident.findHitEntity(Vec3 from, Vec3 to) Methods in net.minecraft.world.entity.projectile.arrow that return types with arguments of type EntityHitResultModifier and TypeMethodDescriptionprotected Collection<EntityHitResult> AbstractArrow.findHitEntities(Vec3 from, Vec3 to) protected Collection<EntityHitResult> ThrownTrident.findHitEntities(Vec3 from, Vec3 to) Methods in net.minecraft.world.entity.projectile.arrow with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidAbstractArrow.onHitEntity(EntityHitResult hitResult) protected voidThrownTrident.onHitEntity(EntityHitResult hitResult) Method parameters in net.minecraft.world.entity.projectile.arrow with type arguments of type EntityHitResultModifier and TypeMethodDescriptionprivate ProjectileDeflectionAbstractArrow.hitTargetsOrDeflectSelf(Collection<EntityHitResult> entityHitResults) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.hurtingprojectile
Methods in net.minecraft.world.entity.projectile.hurtingprojectile with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidLargeFireball.onHitEntity(EntityHitResult hitResult) protected voidSmallFireball.onHitEntity(EntityHitResult hitResult) protected voidWitherSkull.onHitEntity(EntityHitResult hitResult) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge
Methods in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidAbstractWindCharge.onHitEntity(EntityHitResult hitResult) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.throwableitemprojectile
Methods in net.minecraft.world.entity.projectile.throwableitemprojectile with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidSnowball.onHitEntity(EntityHitResult hitResult) protected voidThrownEgg.onHitEntity(EntityHitResult hitResult) protected voidThrownEnderpearl.onHitEntity(EntityHitResult hitResult)