Uses of Class
net.minecraft.util.math.BlockRayTraceResult
-
-
Uses of BlockRayTraceResult in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockRayTraceResult Modifier and Type Method Description private 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_)
ActionResultType
AbstractBlock.AbstractBlockState. use(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_)
ActionResultType
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.ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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
Methods in net.minecraft.client.multiplayer with parameters of type BlockRayTraceResult Modifier and Type Method Description ActionResultType
PlayerController. 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
Methods in net.minecraft.client.particle with parameters of type BlockRayTraceResult Modifier and Type Method Description void
ParticleManager. addBlockHitEffects(BlockPos pos, BlockRayTraceResult target)
-
Uses of BlockRayTraceResult in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type BlockRayTraceResult Modifier and Type Method Description protected 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
Fields in net.minecraft.item declared as BlockRayTraceResult Modifier and Type Field Description private BlockRayTraceResult
ItemUseContext. hitResult
Methods in net.minecraft.item that return BlockRayTraceResult Modifier and Type Method Description protected BlockRayTraceResult
ItemUseContext. getHitResult()
protected static BlockRayTraceResult
Item. getPlayerPOVHitResult(World p_219968_0_, PlayerEntity p_219968_1_, RayTraceContext.FluidMode p_219968_2_)
Methods in net.minecraft.item with parameters of type BlockRayTraceResult Modifier and Type Method Description boolean
BucketItem. emptyBucket(PlayerEntity p_180616_1_, World p_180616_2_, BlockPos p_180616_3_, BlockRayTraceResult p_180616_4_)
Constructors in net.minecraft.item with parameters of type BlockRayTraceResult Constructor Description BlockItemUseContext(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
Methods in net.minecraft.network that return BlockRayTraceResult Modifier and Type Method Description BlockRayTraceResult
PacketBuffer. readBlockHitResult()
Methods in net.minecraft.network with parameters of type BlockRayTraceResult Modifier and Type Method Description void
PacketBuffer. writeBlockHitResult(BlockRayTraceResult p_218668_1_)
-
Uses of BlockRayTraceResult in net.minecraft.network.play.client
Fields in net.minecraft.network.play.client declared as BlockRayTraceResult Modifier and Type Field Description private BlockRayTraceResult
CPlayerTryUseItemOnBlockPacket. blockHit
Methods in net.minecraft.network.play.client that return BlockRayTraceResult Modifier and Type Method Description BlockRayTraceResult
CPlayerTryUseItemOnBlockPacket. getHitResult()
Constructors in net.minecraft.network.play.client with parameters of type BlockRayTraceResult Constructor Description CPlayerTryUseItemOnBlockPacket(Hand p_i50756_1_, BlockRayTraceResult p_i50756_2_)
-
Uses of BlockRayTraceResult in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type BlockRayTraceResult Modifier and Type Method Description ActionResultType
DemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
ActionResultType
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
Methods in net.minecraft.util.math that return BlockRayTraceResult Modifier and Type Method Description static BlockRayTraceResult
AxisAlignedBB. clip(java.lang.Iterable<AxisAlignedBB> p_197743_0_, Vector3d p_197743_1_, Vector3d p_197743_2_, BlockPos p_197743_3_)
static BlockRayTraceResult
BlockRayTraceResult. miss(Vector3d p_216352_0_, Direction p_216352_1_, BlockPos p_216352_2_)
BlockRayTraceResult
BlockRayTraceResult. withDirection(Direction p_216351_1_)
BlockRayTraceResult
BlockRayTraceResult. withPosition(BlockPos p_237485_1_)
-
Uses of BlockRayTraceResult in net.minecraft.util.math.shapes
Methods in net.minecraft.util.math.shapes that return BlockRayTraceResult Modifier and Type Method Description BlockRayTraceResult
VoxelShape. clip(Vector3d p_212433_1_, Vector3d p_212433_2_, BlockPos p_212433_3_)
-
Uses of BlockRayTraceResult in net.minecraft.world
Methods in net.minecraft.world that return BlockRayTraceResult Modifier and Type Method Description default 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
Methods in net.minecraftforge.client.event that return BlockRayTraceResult Modifier and Type Method Description BlockRayTraceResult
DrawHighlightEvent.HighlightBlock. getTarget()
-
Uses of BlockRayTraceResult in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type BlockRayTraceResult Modifier and Type Method Description static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)
-
Uses of BlockRayTraceResult in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type BlockRayTraceResult Modifier and Type Method Description ActionResultType
CustomRespawnTest.CustomRespawnBlock. use(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FullPotsAccessorDemo.DioriteFlowerPotBlock. use(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit)
-
Uses of BlockRayTraceResult in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as BlockRayTraceResult Modifier and Type Field Description private BlockRayTraceResult
PlayerInteractEvent.RightClickBlock. hitVec
Methods in net.minecraftforge.event.entity.player that return BlockRayTraceResult Modifier and Type Method Description BlockRayTraceResult
PlayerInteractEvent.RightClickBlock. getHitVec()
Constructors in net.minecraftforge.event.entity.player with parameters of type BlockRayTraceResult Constructor Description RightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)
-