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.onDrawHighlight
(LevelRenderer context, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) -
Uses of HitResult in net.minecraftforge.client.event
ModifierConstructorDescriptionDrawSelectionEvent
(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTicks, PoseStack poseStack, MultiBufferSource multiBufferSource) HighlightBlock
(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) HighlightEntity
(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) -
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 level) 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.getCloneItemStack
(BlockState state, HitResult target, BlockGetter level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeBlockState.getCloneItemStack
(HitResult target, BlockGetter level, 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 level, 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)