Uses of Class
net.minecraft.util.hit.HitResult
-
Uses of HitResult in net.minecraft.client
Fields in net.minecraft.client declared as HitResult Modifier and Type Field Description @Nullable HitResult
MinecraftClient. crosshairTarget
-
Uses of HitResult in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as HitResult Modifier and Type Field Description private HitResult
DebugHud. blockHit
private HitResult
DebugHud. fluidHit
Methods in net.minecraft.client.gui.hud with parameters of type HitResult Modifier and Type Method Description private boolean
InGameHud. shouldRenderSpectatorCrosshair(HitResult hitResult)
-
Uses of HitResult in net.minecraft.client.render.block.entity
Fields in net.minecraft.client.render.block.entity declared as HitResult Modifier and Type Field Description HitResult
BlockEntityRenderDispatcher. crosshairTarget
-
Uses of HitResult in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type HitResult Modifier and Type Method Description void
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
Methods in net.minecraft.entity that return HitResult Modifier and Type Method Description HitResult
Entity. raycast(double maxDistance, float tickDelta, boolean includeFluids)
-
Uses of HitResult in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return HitResult Modifier and Type Method Description static HitResult
ProjectileUtil. getCollision(Entity entity, Predicate<Entity> predicate)
Methods in net.minecraft.entity.projectile with parameters of type HitResult Modifier and Type Method Description 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
Methods in net.minecraft.entity.projectile.thrown with parameters of type HitResult Modifier and Type Method Description protected 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.util.hit
Subclasses of HitResult in net.minecraft.util.hit Modifier and Type Class Description class
BlockHitResult
class
EntityHitResult