Uses of Class
net.minecraft.world.phys.EntityHitResult
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of EntityHitResult in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionMultiPlayerGameMode.interactAt
(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprotected EntityHitResult
AbstractArrow.findHitEntity
(Vec3 p_36758_, Vec3 p_36759_) protected EntityHitResult
ThrownTrident.findHitEntity
(Vec3 p_37575_, Vec3 p_37576_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) Modifier and TypeMethodDescriptionprotected void
AbstractArrow.onHitEntity
(EntityHitResult p_36757_) protected void
FireworkRocketEntity.onHitEntity
(EntityHitResult p_37071_) protected void
FishingHook.onHitEntity
(EntityHitResult p_37144_) protected void
LargeFireball.onHitEntity
(EntityHitResult p_37216_) protected void
LlamaSpit.onHitEntity
(EntityHitResult p_37241_) protected void
Projectile.onHitEntity
(EntityHitResult p_37259_) protected void
ShulkerBullet.onHitEntity
(EntityHitResult p_37345_) protected void
SmallFireball.onHitEntity
(EntityHitResult p_37386_) protected void
Snowball.onHitEntity
(EntityHitResult p_37404_) protected void
ThrownEgg.onHitEntity
(EntityHitResult p_37486_) protected void
ThrownEnderpearl.onHitEntity
(EntityHitResult p_37502_) protected void
ThrownTrident.onHitEntity
(EntityHitResult p_37573_) protected void
WitherSkull.onHitEntity
(EntityHitResult p_37626_) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.windcharge
Modifier and TypeMethodDescriptionprotected void
AbstractWindCharge.onHitEntity
(EntityHitResult p_326121_) -
Uses of EntityHitResult in net.neoforged.neoforge.client.event
Modifier and TypeMethodDescriptionRenderHighlightEvent.Entity.getTarget()
Returns the entity hit result.ModifierConstructorDescriptionEntity
(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource)