Uses of Class
net.minecraft.util.math.RayTraceResult
Package
Description
-
Uses of RayTraceResult in net.minecraft.client
-
Uses of RayTraceResult in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate boolean
IngameGui.canRenderCrosshairForSpectator
(RayTraceResult p_212913_1_) -
Uses of RayTraceResult in net.minecraft.client.gui.overlay
Modifier and TypeFieldDescriptionprotected RayTraceResult
DebugOverlayGui.block
protected RayTraceResult
DebugOverlayGui.liquid
-
Uses of RayTraceResult in net.minecraft.client.renderer.tileentity
Modifier and TypeMethodDescriptionvoid
TileEntityRendererDispatcher.prepare
(World p_217665_1_, TextureManager p_217665_2_, FontRenderer p_217665_3_, ActiveRenderInfo p_217665_4_, RayTraceResult p_217665_5_) -
Uses of RayTraceResult in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionvoid
FindTreeStep.onLookAt
(ClientWorld p_193246_1_, RayTraceResult p_193246_2_) default void
ITutorialStep.onLookAt
(ClientWorld p_193246_1_, RayTraceResult p_193246_2_) void
Tutorial.onLookAt
(ClientWorld p_193297_1_, RayTraceResult p_193297_2_) -
Uses of RayTraceResult in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.pick
(double p_213324_1_, float p_213324_3_, boolean p_213324_4_) -
Uses of RayTraceResult in net.minecraft.entity.item
Modifier and TypeMethodDescriptionprotected void
EnderPearlEntity.onHit
(RayTraceResult p_70227_1_) protected void
ExperienceBottleEntity.onHit
(RayTraceResult p_70227_1_) -
Uses of RayTraceResult in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionstatic RayTraceResult
ProjectileHelper.getHitResult
(Entity p_234618_0_, Predicate<Entity> p_234618_1_) Modifier and TypeMethodDescriptionprotected void
DragonFireballEntity.onHit
(RayTraceResult p_70227_1_) protected void
EggEntity.onHit
(RayTraceResult p_70227_1_) protected void
FireballEntity.onHit
(RayTraceResult p_70227_1_) protected void
FireworkRocketEntity.onHit
(RayTraceResult result) protected void
PotionEntity.onHit
(RayTraceResult p_70227_1_) protected void
ProjectileEntity.onHit
(RayTraceResult p_70227_1_) protected void
ShulkerBulletEntity.onHit
(RayTraceResult p_70227_1_) protected void
SmallFireballEntity.onHit
(RayTraceResult p_70227_1_) protected void
SnowballEntity.onHit
(RayTraceResult p_70227_1_) protected void
WitherSkullEntity.onHit
(RayTraceResult p_70227_1_) -
Uses of RayTraceResult in net.minecraft.util.math
-
Uses of RayTraceResult in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooksClient.onDrawBlockHighlight
(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers) -
Uses of RayTraceResult in net.minecraftforge.client.event
ModifierConstructorDescriptionDrawHighlightEvent
(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers) HighlightBlock
(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers) HighlightEntity
(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers) -
Uses of RayTraceResult in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic ActionResultType
ForgeHooks.onInteractEntityAt
(PlayerEntity player, Entity entity, RayTraceResult ray, Hand hand) static boolean
ForgeHooks.onPickBlock
(RayTraceResult target, PlayerEntity player, World world) Called when a player uses 'pick block', calls new Entity and Block hooks. -
Uses of RayTraceResult in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addHitEffects
(BlockState state, World world, RayTraceResult target, ParticleManager manager) Spawn a digging particle effect in the world, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.default boolean
IForgeBlockState.addHitEffects
(World world, RayTraceResult target, ParticleManager manager) Spawn a digging particle effect in the world, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.default ItemStack
IForgeBlock.getPickBlock
(BlockState state, RayTraceResult target, IBlockReader world, BlockPos pos, PlayerEntity player) Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeBlockState.getPickBlock
(RayTraceResult target, IBlockReader world, BlockPos pos, PlayerEntity player) Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeEntity.getPickedResult
(RayTraceResult target) Called when a user uses the creative pick block button on this entity. -
Uses of RayTraceResult in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic ActionResult<ItemStack>
ForgeEventFactory.onBucketUse
(PlayerEntity player, World world, ItemStack stack, RayTraceResult target) static boolean
ForgeEventFactory.onProjectileImpact
(Entity entity, RayTraceResult ray) static boolean
ForgeEventFactory.onProjectileImpact
(AbstractArrowEntity arrow, RayTraceResult ray) static boolean
ForgeEventFactory.onProjectileImpact
(DamagingProjectileEntity fireball, RayTraceResult ray) static boolean
ForgeEventFactory.onProjectileImpact
(FireworkRocketEntity fireworkRocket, RayTraceResult ray) static boolean
ForgeEventFactory.onProjectileImpact
(FishingBobberEntity fishingBobber, RayTraceResult ray) static boolean
ForgeEventFactory.onProjectileImpact
(ThrowableEntity throwable, RayTraceResult ray) -
Uses of RayTraceResult in net.minecraftforge.event.entity
ModifierConstructorDescriptionArrow
(AbstractArrowEntity arrow, RayTraceResult ray) Fireball
(DamagingProjectileEntity fireball, RayTraceResult ray) FireworkRocket
(FireworkRocketEntity fireworkRocket, RayTraceResult ray) FishingBobber
(FishingBobberEntity fishingBobber, RayTraceResult ray) ProjectileImpactEvent
(Entity entity, RayTraceResult ray) Throwable
(ThrowableEntity throwable, RayTraceResult ray) -
Uses of RayTraceResult in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionFillBucketEvent
(PlayerEntity player, ItemStack current, World world, RayTraceResult target)