Uses of Class
net.minecraft.world.phys.EntityHitResult
Packages that use 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
Methods in net.minecraft.client.multiplayer with parameters of type EntityHitResultModifier and TypeMethodDescriptionMultiPlayerGameMode.interactAt(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return EntityHitResultModifier and TypeMethodDescriptionprotected EntityHitResultAbstractArrow.findHitEntity(Vec3 p_36758_, Vec3 p_36759_) protected EntityHitResultThrownTrident.findHitEntity(Vec3 p_37575_, Vec3 p_37576_) static EntityHitResultProjectileUtil.getEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) Methods in net.minecraft.world.entity.projectile with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidAbstractArrow.onHitEntity(EntityHitResult p_36757_) protected voidFireworkRocketEntity.onHitEntity(EntityHitResult p_37071_) protected voidFishingHook.onHitEntity(EntityHitResult p_37144_) protected voidLargeFireball.onHitEntity(EntityHitResult p_37216_) protected voidLlamaSpit.onHitEntity(EntityHitResult p_37241_) protected voidProjectile.onHitEntity(EntityHitResult p_37259_) protected voidShulkerBullet.onHitEntity(EntityHitResult p_37345_) protected voidSmallFireball.onHitEntity(EntityHitResult p_37386_) protected voidSnowball.onHitEntity(EntityHitResult p_37404_) protected voidThrownEgg.onHitEntity(EntityHitResult p_37486_) protected voidThrownEnderpearl.onHitEntity(EntityHitResult p_37502_) protected voidThrownTrident.onHitEntity(EntityHitResult p_37573_) protected voidWitherSkull.onHitEntity(EntityHitResult p_37626_) -
Uses of EntityHitResult in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge with parameters of type EntityHitResultModifier and TypeMethodDescriptionprotected voidAbstractWindCharge.onHitEntity(EntityHitResult p_326121_) -
Uses of EntityHitResult in net.neoforged.neoforge.client.event
Methods in net.neoforged.neoforge.client.event that return EntityHitResultModifier and TypeMethodDescriptionRenderHighlightEvent.Entity.getTarget()Returns the entity hit result.Constructors in net.neoforged.neoforge.client.event with parameters of type EntityHitResultModifierConstructorDescriptionEntity(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, DeltaTracker deltaTracker, PoseStack poseStack, MultiBufferSource bufferSource)