Uses of Class
net.minecraft.util.hit.HitResult
Package
Description
-
Uses of HitResult in net.minecraft.client
-
Uses of HitResult in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate HitResult
DebugHud.blockHit
private HitResult
DebugHud.fluidHit
Modifier and TypeMethodDescriptionprivate boolean
InGameHud.shouldRenderSpectatorCrosshair
(@Nullable HitResult hitResult) -
Uses of HitResult in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate static HitResult
GameRenderer.ensureTargetInRange
(HitResult hitResult, Vec3d cameraPos, double interactionRange) private HitResult
GameRenderer.findCrosshairTarget
(Entity camera, double blockInteractionRange, double entityInteractionRange, float tickDelta) Modifier and TypeMethodDescriptionprivate static HitResult
GameRenderer.ensureTargetInRange
(HitResult hitResult, Vec3d cameraPos, double interactionRange) -
Uses of HitResult in net.minecraft.client.render.block.entity
-
Uses of HitResult in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionvoid
FindTreeTutorialStepHandler.onTarget
(ClientWorld world, HitResult hitResult) default void
TutorialStepHandler.onTarget
(ClientWorld world, HitResult hitResult) void
TutorialManager.tick
(@Nullable ClientWorld world, @Nullable HitResult hitResult) -
Uses of HitResult in net.minecraft.entity
-
Uses of HitResult in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionstatic HitResult
ProjectileUtil.getCollision
(Entity entity, Predicate<Entity> predicate) static HitResult
ProjectileUtil.getCollision
(Entity entity, Predicate<Entity> predicate, double range) static HitResult
ProjectileUtil.getCollision
(Entity entity, Predicate<Entity> predicate, RaycastContext.ShapeType raycastShapeType) private static HitResult
ProjectileUtil.getCollision
(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext.ShapeType raycastShapeType) Modifier and TypeMethodDescriptionprotected ProjectileDeflection
ProjectileEntity.hitOrDeflect
(HitResult hitResult) protected void
AbstractWindChargeEntity.onCollision
(HitResult hitResult) protected void
DragonFireballEntity.onCollision
(HitResult hitResult) protected void
FireballEntity.onCollision
(HitResult hitResult) protected void
ProjectileEntity.onCollision
(HitResult hitResult) protected void
ShulkerBulletEntity.onCollision
(HitResult hitResult) protected void
SmallFireballEntity.onCollision
(HitResult hitResult) protected void
WitherSkullEntity.onCollision
(HitResult hitResult) -
Uses of HitResult in net.minecraft.entity.projectile.thrown
Modifier and TypeMethodDescriptionprotected void
EggEntity.onCollision
(HitResult hitResult) protected void
EnderPearlEntity.onCollision
(HitResult hitResult) protected void
ExperienceBottleEntity.onCollision
(HitResult hitResult) protected void
PotionEntity.onCollision
(HitResult hitResult) protected void
SnowballEntity.onCollision
(HitResult hitResult) -
Uses of HitResult in net.minecraft.item
Modifier and TypeMethodDescriptionprivate @Nullable AbstractBoatEntity
BoatItem.createEntity
(World world, HitResult hitResult, ItemStack stack, PlayerEntity player) -
Uses of HitResult in net.minecraft.util.hit