Uses of Class
net.minecraft.util.hit.EntityHitResult
Package
Description
-
Uses of EntityHitResult in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientPlayerInteractionManager.interactEntityAtLocation
(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand) -
Uses of EntityHitResult in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprotected @Nullable EntityHitResult
PersistentProjectileEntity.getEntityCollision
(Vec3d currentPosition, Vec3d nextPosition) static @Nullable EntityHitResult
ProjectileUtil.getEntityCollision
(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate) static @Nullable EntityHitResult
ProjectileUtil.getEntityCollision
(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, float margin) protected @Nullable EntityHitResult
TridentEntity.getEntityCollision
(Vec3d currentPosition, Vec3d nextPosition) static @Nullable EntityHitResult
ProjectileUtil.raycast
(Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, double maxDistance) Modifier and TypeMethodDescriptionprotected void
AbstractWindChargeEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
FireballEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
FireworkRocketEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
FishingBobberEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
LlamaSpitEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
PersistentProjectileEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
ProjectileEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
ShulkerBulletEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
SmallFireballEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
TridentEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
WitherSkullEntity.onEntityHit
(EntityHitResult entityHitResult) -
Uses of EntityHitResult in net.minecraft.entity.projectile.thrown
Modifier and TypeMethodDescriptionprotected void
EggEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
EnderPearlEntity.onEntityHit
(EntityHitResult entityHitResult) protected void
SnowballEntity.onEntityHit
(EntityHitResult entityHitResult)