Uses of Class
net.minecraft.util.math.RayTraceResult
-
-
Uses of RayTraceResult in net.minecraft.client
Fields in net.minecraft.client declared as RayTraceResult Modifier and Type Field Description RayTraceResult
Minecraft. hitResult
-
Uses of RayTraceResult in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type RayTraceResult Modifier and Type Method Description private boolean
IngameGui. canRenderCrosshairForSpectator(RayTraceResult p_212913_1_)
-
Uses of RayTraceResult in net.minecraft.client.gui.overlay
Fields in net.minecraft.client.gui.overlay declared as RayTraceResult Modifier and Type Field Description protected RayTraceResult
DebugOverlayGui. block
protected RayTraceResult
DebugOverlayGui. liquid
-
Uses of RayTraceResult in net.minecraft.client.renderer.tileentity
Fields in net.minecraft.client.renderer.tileentity declared as RayTraceResult Modifier and Type Field Description RayTraceResult
TileEntityRendererDispatcher. cameraHitResult
Methods in net.minecraft.client.renderer.tileentity with parameters of type RayTraceResult Modifier and Type Method Description void
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
Methods in net.minecraft.client.tutorial with parameters of type RayTraceResult Modifier and Type Method Description void
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
Methods in net.minecraft.entity that return RayTraceResult Modifier and Type Method Description RayTraceResult
Entity. pick(double p_213324_1_, float p_213324_3_, boolean p_213324_4_)
-
Uses of RayTraceResult in net.minecraft.entity.item
Methods in net.minecraft.entity.item with parameters of type RayTraceResult Modifier and Type Method Description protected void
EnderPearlEntity. onHit(RayTraceResult p_70227_1_)
protected void
ExperienceBottleEntity. onHit(RayTraceResult p_70227_1_)
-
Uses of RayTraceResult in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return RayTraceResult Modifier and Type Method Description static RayTraceResult
ProjectileHelper. getHitResult(Entity p_234618_0_, java.util.function.Predicate<Entity> p_234618_1_)
Methods in net.minecraft.entity.projectile with parameters of type RayTraceResult Modifier and Type Method Description protected 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
Subclasses of RayTraceResult in net.minecraft.util.math Modifier and Type Class Description class
BlockRayTraceResult
class
EntityRayTraceResult
-
Uses of RayTraceResult in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type RayTraceResult Modifier and Type Method Description static boolean
ForgeHooksClient. onDrawBlockHighlight(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
Uses of RayTraceResult in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as RayTraceResult Modifier and Type Field Description private RayTraceResult
DrawHighlightEvent. target
Methods in net.minecraftforge.client.event that return RayTraceResult Modifier and Type Method Description RayTraceResult
DrawHighlightEvent. getTarget()
Constructors in net.minecraftforge.client.event with parameters of type RayTraceResult Constructor Description DrawHighlightEvent(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
Methods in net.minecraftforge.common with parameters of type RayTraceResult Modifier and Type Method Description static 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
Methods in net.minecraftforge.common.extensions with parameters of type RayTraceResult Modifier and Type Method Description default 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
Methods in net.minecraftforge.event with parameters of type RayTraceResult Modifier and Type Method Description static 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
Fields in net.minecraftforge.event.entity declared as RayTraceResult Modifier and Type Field Description private RayTraceResult
ProjectileImpactEvent. ray
Methods in net.minecraftforge.event.entity that return RayTraceResult Modifier and Type Method Description RayTraceResult
ProjectileImpactEvent. getRayTraceResult()
Constructors in net.minecraftforge.event.entity with parameters of type RayTraceResult Constructor Description Arrow(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
Fields in net.minecraftforge.event.entity.player declared as RayTraceResult Modifier and Type Field Description private RayTraceResult
FillBucketEvent. target
Methods in net.minecraftforge.event.entity.player that return RayTraceResult Modifier and Type Method Description RayTraceResult
FillBucketEvent. getTarget()
Constructors in net.minecraftforge.event.entity.player with parameters of type RayTraceResult Constructor Description FillBucketEvent(PlayerEntity player, ItemStack current, World world, RayTraceResult target)
-