Uses of Class
net.minecraft.world.phys.HitResult
Package
Description
-
Uses of HitResult in net.minecraft.client
-
Uses of HitResult in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate boolean
Gui.canRenderCrosshairForSpectator(HitResult p_93025_)
-
Uses of HitResult in net.minecraft.client.gui.components
-
Uses of HitResult in net.minecraft.client.renderer.blockentity
-
Uses of HitResult in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionvoid
FindTreeTutorialStepInstance.onLookAt(ClientLevel p_120501_, HitResult p_120502_)
void
Tutorial.onLookAt(ClientLevel p_120579_, HitResult p_120580_)
default void
TutorialStepInstance.onLookAt(ClientLevel p_120617_, HitResult p_120618_)
-
Uses of HitResult in net.minecraft.world.entity
-
Uses of HitResult in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionstatic HitResult
ProjectileUtil.getHitResult(Entity p_37295_, Predicate<Entity> p_37296_)
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
-
Uses of HitResult in net.minecraft.world.phys
-
Uses of HitResult in net.minecraftforge.client
Modifier and TypeMethodDescriptiondefault boolean
IBlockRenderProperties.addHitEffects(BlockState state, Level Level, HitResult target, ParticleEngine manager)
Spawn a digging particle effect in the Level, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.static boolean
ForgeHooksClient.onDrawBlockHighlight(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
-
Uses of HitResult in net.minecraftforge.client.event
ModifierConstructorDescriptionDrawSelectionEvent(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
HighlightBlock(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
HighlightEntity(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
-
Uses of HitResult in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic InteractionResult
ForgeHooks.onInteractEntityAt(Player player, Entity entity, HitResult ray, InteractionHand hand)
static boolean
ForgeHooks.onPickBlock(HitResult target, Player player, Level world)
Called when a player uses 'pick block', calls new Entity and Block hooks. -
Uses of HitResult in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault ItemStack
IForgeBlock.getPickBlock(BlockState state, HitResult target, BlockGetter world, BlockPos pos, Player player)
Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeBlockState.getPickBlock(HitResult target, BlockGetter world, BlockPos pos, Player player)
Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeEntity.getPickedResult(HitResult target)
Called when a user uses the creative pick block button on this entity. -
Uses of HitResult in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic InteractionResultHolder<ItemStack>
ForgeEventFactory.onBucketUse(Player player, Level world, ItemStack stack, HitResult target)
static boolean
ForgeEventFactory.onProjectileImpact(Projectile projectile, HitResult ray)
-
Uses of HitResult in net.minecraftforge.event.entity
-
Uses of HitResult in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionFillBucketEvent(Player player, ItemStack current, Level world, HitResult target)