Uses of Class
net.minecraft.util.math.BlockRayTraceResult
Package
Description
-
Uses of BlockRayTraceResult in net.minecraft.block
Modifier and TypeMethodDescriptionprivate static int
TargetBlock.getRedstoneStrength
(BlockRayTraceResult p_235606_0_, Vector3d p_235606_1_) boolean
BellBlock.onHit
(World p_226884_1_, BlockState p_226884_2_, BlockRayTraceResult p_226884_3_, PlayerEntity p_226884_4_, boolean p_226884_5_) void
AbstractBlock.AbstractBlockState.onProjectileHit
(World p_215690_1_, BlockState p_215690_2_, BlockRayTraceResult p_215690_3_, ProjectileEntity p_215690_4_) void
AbstractBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) Deprecated.void
BellBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) void
CampfireBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) void
ChorusFlowerBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) void
TargetBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) void
TNTBlock.onProjectileHit
(World p_220066_1_, BlockState p_220066_2_, BlockRayTraceResult p_220066_3_, ProjectileEntity p_220066_4_) private static int
TargetBlock.updateRedstoneOutput
(IWorld p_235605_0_, BlockState p_235605_1_, BlockRayTraceResult p_235605_2_, Entity p_235605_3_) AbstractBlock.AbstractBlockState.use
(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_) AbstractBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) Deprecated.AbstractButtonBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AbstractFurnaceBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AbstractSignBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AnvilBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BarrelBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BeaconBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BedBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BeehiveBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BellBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BrewingStandBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CakeBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CampfireBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CartographyTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CauldronBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ChestBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CommandBlockBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ComparatorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ComposterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CraftingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DaylightDetectorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DispenserBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DoorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DragonEggBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) EnchantingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) EnderChestBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FenceBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FenceGateBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FletchingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FlowerPotBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) GrindstoneBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) HopperBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) JigsawBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) JukeboxBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LecternBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LeverBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LoomBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) MovingPistonBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) NoteBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) PumpkinBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RedstoneOreBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RedstoneWireBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RepeaterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RespawnAnchorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ShulkerBoxBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) SmithingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StairsBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StonecutterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StructureBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) SweetBerryBushBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) TNTBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) TrapDoorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) -
Uses of BlockRayTraceResult in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionPlayerController.useItemOn
(ClientPlayerEntity p_217292_1_, ClientWorld p_217292_2_, Hand p_217292_3_, BlockRayTraceResult p_217292_4_) -
Uses of BlockRayTraceResult in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
ParticleManager.addBlockHitEffects
(BlockPos pos, BlockRayTraceResult target) -
Uses of BlockRayTraceResult in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprotected void
AbstractArrowEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
FireworkRocketEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
FishingBobberEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
LlamaSpitEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
PotionEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
ProjectileEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
ShulkerBulletEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) protected void
SmallFireballEntity.onHitBlock
(BlockRayTraceResult p_230299_1_) -
Uses of BlockRayTraceResult in net.minecraft.item
Modifier and TypeMethodDescriptionprotected final BlockRayTraceResult
ItemUseContext.getHitResult()
protected static BlockRayTraceResult
Item.getPlayerPOVHitResult
(World p_219968_0_, PlayerEntity p_219968_1_, RayTraceContext.FluidMode p_219968_2_) Modifier and TypeMethodDescriptionboolean
BucketItem.emptyBucket
(PlayerEntity p_180616_1_, World p_180616_2_, BlockPos p_180616_3_, BlockRayTraceResult p_180616_4_) ModifierConstructorDescriptionBlockItemUseContext
(PlayerEntity p_i241237_1_, Hand p_i241237_2_, ItemStack p_i241237_3_, BlockRayTraceResult p_i241237_4_) BlockItemUseContext
(World p_i50056_1_, PlayerEntity p_i50056_2_, Hand p_i50056_3_, ItemStack p_i50056_4_, BlockRayTraceResult p_i50056_5_) ItemUseContext
(PlayerEntity p_i50033_1_, Hand p_i50033_2_, BlockRayTraceResult p_i50033_3_) ItemUseContext
(World p_i50034_1_, PlayerEntity p_i50034_2_, Hand p_i50034_3_, ItemStack p_i50034_4_, BlockRayTraceResult p_i50034_5_) -
Uses of BlockRayTraceResult in net.minecraft.network
Modifier and TypeMethodDescriptionvoid
PacketBuffer.writeBlockHitResult
(BlockRayTraceResult p_218668_1_) -
Uses of BlockRayTraceResult in net.minecraft.network.play.client
Modifier and TypeFieldDescriptionprivate BlockRayTraceResult
CPlayerTryUseItemOnBlockPacket.blockHit
ModifierConstructorDescriptionCPlayerTryUseItemOnBlockPacket
(Hand p_i50756_1_, BlockRayTraceResult p_i50756_2_) -
Uses of BlockRayTraceResult in net.minecraft.server.management
Modifier and TypeMethodDescriptionDemoPlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) PlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) -
Uses of BlockRayTraceResult in net.minecraft.util.math
Modifier and TypeMethodDescriptionstatic BlockRayTraceResult
AxisAlignedBB.clip
(Iterable<AxisAlignedBB> p_197743_0_, Vector3d p_197743_1_, Vector3d p_197743_2_, BlockPos p_197743_3_) static BlockRayTraceResult
BlockRayTraceResult.withDirection
(Direction p_216351_1_) BlockRayTraceResult.withPosition
(BlockPos p_237485_1_) -
Uses of BlockRayTraceResult in net.minecraft.util.math.shapes
Modifier and TypeMethodDescription -
Uses of BlockRayTraceResult in net.minecraft.world
Modifier and TypeMethodDescriptiondefault BlockRayTraceResult
IBlockReader.clip
(RayTraceContext p_217299_1_) default BlockRayTraceResult
IBlockReader.clipWithInteractionOverride
(Vector3d p_217296_1_, Vector3d p_217296_2_, BlockPos p_217296_3_, VoxelShape p_217296_4_, BlockState p_217296_5_) -
Uses of BlockRayTraceResult in net.minecraftforge.client.event
-
Uses of BlockRayTraceResult in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeHooks.onRightClickBlock
(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec) -
Uses of BlockRayTraceResult in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionCustomRespawnTest.CustomRespawnBlock.use
(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FullPotsAccessorDemo.DioriteFlowerPotBlock.use
(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) -
Uses of BlockRayTraceResult in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate BlockRayTraceResult
PlayerInteractEvent.RightClickBlock.hitVec
ModifierConstructorDescriptionRightClickBlock
(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)