Uses of Class
net.minecraft.world.phys.BlockHitResult
Packages that use BlockHitResult
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of BlockHitResult in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type BlockHitResultModifier and TypeMethodDescriptionprivate InteractionResult
MultiPlayerGameMode.performUseItemOn
(LocalPlayer p_233747_, InteractionHand p_233748_, BlockHitResult p_233749_) MultiPlayerGameMode.useItemOn
(LocalPlayer p_233733_, InteractionHand p_233734_, BlockHitResult p_233735_) -
Uses of BlockHitResult in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type BlockHitResultModifier and TypeMethodDescriptionvoid
ParticleEngine.addBlockHitEffects
(BlockPos pos, BlockHitResult target) -
Uses of BlockHitResult in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type BlockHitResultModifier and TypeMethodDescriptionvoid
GameTestHelper.useBlock
(BlockPos p_262023_, Player p_261901_, BlockHitResult p_262040_) -
Uses of BlockHitResult in net.minecraft.network
Methods in net.minecraft.network that return BlockHitResultMethods in net.minecraft.network with parameters of type BlockHitResultModifier and TypeMethodDescriptionvoid
FriendlyByteBuf.writeBlockHitResult
(BlockHitResult p_130063_) -
Uses of BlockHitResult in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BlockHitResultModifier and TypeFieldDescriptionprivate final BlockHitResult
ServerboundUseItemOnPacket.blockHit
Methods in net.minecraft.network.protocol.game that return BlockHitResultConstructors in net.minecraft.network.protocol.game with parameters of type BlockHitResultModifierConstructorDescriptionServerboundUseItemOnPacket
(InteractionHand p_238005_, BlockHitResult p_238006_, int p_238007_) -
Uses of BlockHitResult in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type BlockHitResultModifier and TypeMethodDescriptionDemoMode.useItemOn
(ServerPlayer p_140747_, Level p_140748_, ItemStack p_140749_, InteractionHand p_140750_, BlockHitResult p_140751_) ServerPlayerGameMode.useItemOn
(ServerPlayer p_9266_, Level p_9267_, ItemStack p_9268_, InteractionHand p_9269_, BlockHitResult p_9270_) -
Uses of BlockHitResult in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type BlockHitResultModifier and TypeMethodDescriptionprotected void
AbstractArrow.onHitBlock
(BlockHitResult p_36755_) protected void
FireworkRocketEntity.onHitBlock
(BlockHitResult p_37069_) protected void
FishingHook.onHitBlock
(BlockHitResult p_37142_) protected void
LlamaSpit.onHitBlock
(BlockHitResult p_37239_) protected void
Projectile.onHitBlock
(BlockHitResult p_37258_) protected void
ShulkerBullet.onHitBlock
(BlockHitResult p_37343_) protected void
SmallFireball.onHitBlock
(BlockHitResult p_37384_) protected void
ThrownPotion.onHitBlock
(BlockHitResult p_37541_) -
Uses of BlockHitResult in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge with parameters of type BlockHitResultModifier and TypeMethodDescriptionprotected void
AbstractWindCharge.onHitBlock
(BlockHitResult p_325933_) -
Uses of BlockHitResult in net.minecraft.world.item
Methods in net.minecraft.world.item that return BlockHitResultModifier and TypeMethodDescriptionprotected static BlockHitResult
Item.getPlayerPOVHitResult
(Level p_41436_, Player p_41437_, ClipContext.Fluid p_41438_) Methods in net.minecraft.world.item with parameters of type BlockHitResultModifier and TypeMethodDescriptionboolean
BucketItem.emptyContents
(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_) Deprecated.boolean
BucketItem.emptyContents
(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_, ItemStack container) boolean
DispensibleContainerItem.emptyContents
(Player p_150821_, Level p_150822_, BlockPos p_150823_, BlockHitResult p_150824_) Deprecated.boolean
SolidBucketItem.emptyContents
(Player p_151192_, Level p_151193_, BlockPos p_151194_, BlockHitResult p_151195_) private void
BrushItem.spawnDustParticles
(Level p_278327_, BlockHitResult p_278272_, BlockState p_278235_, Vec3 p_278337_, HumanoidArm p_285071_) -
Uses of BlockHitResult in net.minecraft.world.item.context
Fields in net.minecraft.world.item.context declared as BlockHitResultMethods in net.minecraft.world.item.context that return BlockHitResultConstructors in net.minecraft.world.item.context with parameters of type BlockHitResultModifierConstructorDescriptionBlockPlaceContext
(Player p_43631_, InteractionHand p_43632_, ItemStack p_43633_, BlockHitResult p_43634_) BlockPlaceContext
(Level p_43638_, Player p_43639_, InteractionHand p_43640_, ItemStack p_43641_, BlockHitResult p_43642_) UseOnContext
(Player p_43709_, InteractionHand p_43710_, BlockHitResult p_43711_) UseOnContext
(Level p_43713_, Player p_43714_, InteractionHand p_43715_, ItemStack p_43716_, BlockHitResult p_43717_) -
Uses of BlockHitResult in net.minecraft.world.level
Methods in net.minecraft.world.level that return BlockHitResultModifier and TypeMethodDescriptiondefault BlockHitResult
BlockGetter.clip
(ClipContext p_45548_) default BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 p_45559_, Vec3 p_45560_, BlockPos p_45561_, VoxelShape p_45562_, BlockState p_45563_) default BlockHitResult
BlockGetter.isBlockInLine
(ClipBlockStateContext p_151354_) -
Uses of BlockHitResult in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type BlockHitResultModifier and TypeMethodDescriptionprivate static boolean
CandleCakeBlock.candleHit
(BlockHitResult p_152907_) private OptionalInt
ChiseledBookShelfBlock.getHitSlot
(BlockHitResult p_316156_, BlockState p_316148_) private static int
TargetBlock.getRedstoneStrength
(BlockHitResult p_57409_, Vec3 p_57410_) ChiseledBookShelfBlock.getRelativeHitCoordinatesForBlockFace
(BlockHitResult p_261714_, Direction p_262116_) private boolean
WallHangingSignBlock.isHittingEditableSide
(BlockHitResult p_278339_, BlockState p_278302_) boolean
BellBlock.onHit
(Level p_49702_, BlockState p_49703_, BlockHitResult p_49704_, Player p_49705_, boolean p_49706_) protected void
AbstractCandleBlock.onProjectileHit
(Level p_151905_, BlockState p_151906_, BlockHitResult p_151907_, Projectile p_151908_) protected void
AmethystBlock.onProjectileHit
(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected void
BellBlock.onProjectileHit
(Level p_49708_, BlockState p_49709_, BlockHitResult p_49710_, Projectile p_49711_) protected void
BigDripleafBlock.onProjectileHit
(Level p_152228_, BlockState p_152229_, BlockHitResult p_152230_, Projectile p_152231_) protected void
CampfireBlock.onProjectileHit
(Level p_51244_, BlockState p_51245_, BlockHitResult p_51246_, Projectile p_51247_) protected void
ChorusFlowerBlock.onProjectileHit
(Level p_51654_, BlockState p_51655_, BlockHitResult p_51656_, Projectile p_51657_) protected void
DecoratedPotBlock.onProjectileHit
(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected void
LightningRodBlock.onProjectileHit
(Level p_153713_, BlockState p_153714_, BlockHitResult p_153715_, Projectile p_153716_) protected void
PointedDripstoneBlock.onProjectileHit
(Level p_154042_, BlockState p_154043_, BlockHitResult p_154044_, Projectile p_154045_) protected void
TargetBlock.onProjectileHit
(Level p_57381_, BlockState p_57382_, BlockHitResult p_57383_, Projectile p_57384_) protected void
TntBlock.onProjectileHit
(Level p_57429_, BlockState p_57430_, BlockHitResult p_57431_, Projectile p_57432_) private boolean
CeilingHangingSignBlock.shouldTryToChainAnotherHangingSign
(Player p_278279_, BlockHitResult p_278273_, SignBlockEntity p_278236_, ItemStack p_278343_) private boolean
WallHangingSignBlock.shouldTryToChainAnotherHangingSign
(BlockState p_278346_, Player p_278263_, BlockHitResult p_278269_, SignBlockEntity p_278290_, ItemStack p_278238_) private static int
TargetBlock.updateRedstoneOutput
(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_) protected ItemInteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack p_316791_, BlockState p_316287_, Level p_316530_, BlockPos p_316585_, Player p_316671_, InteractionHand p_316186_, BlockHitResult p_316294_) protected ItemInteractionResult
BeehiveBlock.useItemOn
(ItemStack p_316844_, BlockState p_316365_, Level p_316306_, BlockPos p_316497_, Player p_316824_, InteractionHand p_316436_, BlockHitResult p_316125_) protected ItemInteractionResult
CakeBlock.useItemOn
(ItemStack p_316238_, BlockState p_316837_, Level p_316766_, BlockPos p_316227_, Player p_316853_, InteractionHand p_316422_, BlockHitResult p_316869_) protected ItemInteractionResult
CampfireBlock.useItemOn
(ItemStack p_316347_, BlockState p_51274_, Level p_51275_, BlockPos p_51276_, Player p_51277_, InteractionHand p_51278_, BlockHitResult p_51279_) protected ItemInteractionResult
CandleBlock.useItemOn
(ItemStack p_316279_, BlockState p_316163_, Level p_316881_, BlockPos p_316480_, Player p_316191_, InteractionHand p_316669_, BlockHitResult p_316641_) protected ItemInteractionResult
CandleCakeBlock.useItemOn
(ItemStack p_316571_, BlockState p_316514_, Level p_316171_, BlockPos p_316112_, Player p_316172_, InteractionHand p_316257_, BlockHitResult p_316286_) protected ItemInteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack p_316602_, BlockState p_316839_, Level p_316805_, BlockPos p_316894_, Player p_316202_, InteractionHand p_316538_, BlockHitResult p_316895_) protected ItemInteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack p_316457_, BlockState p_316201_, Level p_316747_, BlockPos p_316462_, Player p_316228_, InteractionHand p_316721_, BlockHitResult p_316464_) protected ItemInteractionResult
ComposterBlock.useItemOn
(ItemStack p_316332_, BlockState p_316118_, Level p_316624_, BlockPos p_316660_, Player p_316715_, InteractionHand p_316472_, BlockHitResult p_316606_) protected ItemInteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected ItemInteractionResult
FenceBlock.useItemOn
(ItemStack p_316871_, BlockState p_316305_, Level p_316763_, BlockPos p_316504_, Player p_316364_, InteractionHand p_316507_, BlockHitResult p_316760_) protected ItemInteractionResult
FlowerPotBlock.useItemOn
(ItemStack p_316610_, BlockState p_316240_, Level p_316456_, BlockPos p_316502_, Player p_316491_, InteractionHand p_316444_, BlockHitResult p_316826_) protected ItemInteractionResult
LecternBlock.useItemOn
(ItemStack p_316392_, BlockState p_316600_, Level p_316640_, BlockPos p_316673_, Player p_316670_, InteractionHand p_316384_, BlockHitResult p_316419_) protected ItemInteractionResult
NoteBlock.useItemOn
(ItemStack p_316716_, BlockState p_316688_, Level p_316672_, BlockPos p_316355_, Player p_316822_, InteractionHand p_316505_, BlockHitResult p_316667_) protected ItemInteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected ItemInteractionResult
RedStoneOreBlock.useItemOn
(ItemStack p_316235_, BlockState p_316208_, Level p_316432_, BlockPos p_316592_, Player p_316564_, InteractionHand p_316389_, BlockHitResult p_316390_) protected ItemInteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack p_316531_, BlockState p_316665_, Level p_316165_, BlockPos p_316402_, Player p_316556_, InteractionHand p_316586_, BlockHitResult p_316326_) protected ItemInteractionResult
SignBlock.useItemOn
(ItemStack p_316116_, BlockState p_316899_, Level p_316692_, BlockPos p_316578_, Player p_316244_, InteractionHand p_316196_, BlockHitResult p_316744_) protected ItemInteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack p_316636_, BlockState p_316295_, Level p_316812_, BlockPos p_316380_, Player p_316731_, InteractionHand p_316188_, BlockHitResult p_316626_) protected ItemInteractionResult
TntBlock.useItemOn
(ItemStack p_316149_, BlockState p_316217_, Level p_316520_, BlockPos p_316601_, Player p_316770_, InteractionHand p_316393_, BlockHitResult p_316532_) VaultBlock.useItemOn
(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected ItemInteractionResult
WallHangingSignBlock.useItemOn
(ItemStack p_316420_, BlockState p_316885_, Level p_316114_, BlockPos p_316297_, Player p_316609_, InteractionHand p_316187_, BlockHitResult p_316223_) protected InteractionResult
AbstractFurnaceBlock.useWithoutItem
(BlockState p_48706_, Level p_48707_, BlockPos p_48708_, Player p_48709_, BlockHitResult p_48711_) protected InteractionResult
AnvilBlock.useWithoutItem
(BlockState p_48804_, Level p_48805_, BlockPos p_48806_, Player p_48807_, BlockHitResult p_48809_) protected InteractionResult
BarrelBlock.useWithoutItem
(BlockState p_49069_, Level p_49070_, BlockPos p_49071_, Player p_49072_, BlockHitResult p_49074_) protected InteractionResult
BeaconBlock.useWithoutItem
(BlockState p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, BlockHitResult p_49437_) protected InteractionResult
BedBlock.useWithoutItem
(BlockState p_49515_, Level p_49516_, BlockPos p_49517_, Player p_49518_, BlockHitResult p_49520_) protected InteractionResult
BellBlock.useWithoutItem
(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, BlockHitResult p_49727_) protected InteractionResult
BrewingStandBlock.useWithoutItem
(BlockState p_50930_, Level p_50931_, BlockPos p_50932_, Player p_50933_, BlockHitResult p_50935_) protected InteractionResult
ButtonBlock.useWithoutItem
(BlockState p_316833_, Level p_316124_, BlockPos p_316184_, Player p_316845_, BlockHitResult p_316247_) protected InteractionResult
CakeBlock.useWithoutItem
(BlockState p_316481_, Level p_316406_, BlockPos p_316218_, Player p_316212_, BlockHitResult p_316525_) protected InteractionResult
CandleCakeBlock.useWithoutItem
(BlockState p_316519_, Level p_316226_, BlockPos p_316122_, Player p_316438_, BlockHitResult p_316849_) protected InteractionResult
CartographyTableBlock.useWithoutItem
(BlockState p_51357_, Level p_51358_, BlockPos p_51359_, Player p_51360_, BlockHitResult p_51362_) protected InteractionResult
CaveVinesBlock.useWithoutItem
(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, BlockHitResult p_152985_) protected InteractionResult
CaveVinesPlantBlock.useWithoutItem
(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, BlockHitResult p_153026_) protected InteractionResult
ChestBlock.useWithoutItem
(BlockState p_51531_, Level p_51532_, BlockPos p_51533_, Player p_51534_, BlockHitResult p_51536_) protected InteractionResult
ChiseledBookShelfBlock.useWithoutItem
(BlockState p_316403_, Level p_316842_, BlockPos p_316539_, Player p_316349_, BlockHitResult p_316278_) protected InteractionResult
CommandBlock.useWithoutItem
(BlockState p_51825_, Level p_51826_, BlockPos p_51827_, Player p_51828_, BlockHitResult p_51830_) protected InteractionResult
ComparatorBlock.useWithoutItem
(BlockState p_51880_, Level p_51881_, BlockPos p_51882_, Player p_51883_, BlockHitResult p_51885_) protected InteractionResult
ComposterBlock.useWithoutItem
(BlockState p_316361_, Level p_316271_, BlockPos p_316647_, Player p_316633_, BlockHitResult p_316555_) protected InteractionResult
CrafterBlock.useWithoutItem
(BlockState p_307454_, Level p_307255_, BlockPos p_307303_, Player p_307670_, BlockHitResult p_307546_) protected InteractionResult
CraftingTableBlock.useWithoutItem
(BlockState p_52233_, Level p_52234_, BlockPos p_52235_, Player p_52236_, BlockHitResult p_52238_) protected InteractionResult
DaylightDetectorBlock.useWithoutItem
(BlockState p_52391_, Level p_52392_, BlockPos p_52393_, Player p_52394_, BlockHitResult p_52396_) protected InteractionResult
DecoratedPotBlock.useWithoutItem
(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResult
DispenserBlock.useWithoutItem
(BlockState p_52693_, Level p_52694_, BlockPos p_52695_, Player p_52696_, BlockHitResult p_52698_) protected InteractionResult
DoorBlock.useWithoutItem
(BlockState p_52769_, Level p_52770_, BlockPos p_52771_, Player p_52772_, BlockHitResult p_52774_) protected InteractionResult
DragonEggBlock.useWithoutItem
(BlockState p_52923_, Level p_52924_, BlockPos p_52925_, Player p_52926_, BlockHitResult p_52928_) protected InteractionResult
EnchantingTableBlock.useWithoutItem
(BlockState p_341077_, Level p_341293_, BlockPos p_341394_, Player p_340990_, BlockHitResult p_341300_) protected InteractionResult
EnderChestBlock.useWithoutItem
(BlockState p_53137_, Level p_53138_, BlockPos p_53139_, Player p_53140_, BlockHitResult p_53142_) protected InteractionResult
FenceBlock.useWithoutItem
(BlockState p_316111_, Level p_316725_, BlockPos p_316646_, Player p_316453_, BlockHitResult p_316769_) protected InteractionResult
FenceGateBlock.useWithoutItem
(BlockState p_53365_, Level p_53366_, BlockPos p_53367_, Player p_53368_, BlockHitResult p_53370_) protected InteractionResult
FletchingTableBlock.useWithoutItem
(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResult
FlowerPotBlock.useWithoutItem
(BlockState p_316363_, Level p_316655_, BlockPos p_316654_, Player p_316338_, BlockHitResult p_316518_) protected InteractionResult
GrindstoneBlock.useWithoutItem
(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) protected InteractionResult
HopperBlock.useWithoutItem
(BlockState p_54071_, Level p_54072_, BlockPos p_54073_, Player p_54074_, BlockHitResult p_54076_) protected InteractionResult
JigsawBlock.useWithoutItem
(BlockState p_54231_, Level p_54232_, BlockPos p_54233_, Player p_54234_, BlockHitResult p_54236_) protected InteractionResult
JukeboxBlock.useWithoutItem
(BlockState p_54281_, Level p_54282_, BlockPos p_54283_, Player p_54284_, BlockHitResult p_54286_) protected InteractionResult
LecternBlock.useWithoutItem
(BlockState p_316164_, Level p_316515_, BlockPos p_316598_, Player p_316584_, BlockHitResult p_316197_) protected InteractionResult
LeverBlock.useWithoutItem
(BlockState p_54640_, Level p_54641_, BlockPos p_54642_, Player p_54643_, BlockHitResult p_54645_) protected InteractionResult
LightBlock.useWithoutItem
(BlockState p_153673_, Level p_153674_, BlockPos p_153675_, Player p_153676_, BlockHitResult p_153678_) protected InteractionResult
LoomBlock.useWithoutItem
(BlockState p_54787_, Level p_54788_, BlockPos p_54789_, Player p_54790_, BlockHitResult p_54792_) protected InteractionResult
NoteBlock.useWithoutItem
(BlockState p_316441_, Level p_316774_, BlockPos p_316344_, Player p_316884_, BlockHitResult p_316631_) protected InteractionResult
RedStoneWireBlock.useWithoutItem
(BlockState p_55554_, Level p_55555_, BlockPos p_55556_, Player p_55557_, BlockHitResult p_55559_) protected InteractionResult
RepeaterBlock.useWithoutItem
(BlockState p_55809_, Level p_55810_, BlockPos p_55811_, Player p_55812_, BlockHitResult p_55814_) protected InteractionResult
RespawnAnchorBlock.useWithoutItem
(BlockState p_316377_, Level p_316150_, BlockPos p_316161_, Player p_316889_, BlockHitResult p_316358_) protected InteractionResult
ShulkerBoxBlock.useWithoutItem
(BlockState p_56227_, Level p_56228_, BlockPos p_56229_, Player p_56230_, BlockHitResult p_56232_) protected InteractionResult
SignBlock.useWithoutItem
(BlockState p_316779_, Level p_316615_, BlockPos p_316127_, Player p_316173_, BlockHitResult p_316850_) protected InteractionResult
SmithingTableBlock.useWithoutItem
(BlockState p_56428_, Level p_56429_, BlockPos p_56430_, Player p_56431_, BlockHitResult p_56433_) protected InteractionResult
StonecutterBlock.useWithoutItem
(BlockState p_57083_, Level p_57084_, BlockPos p_57085_, Player p_57086_, BlockHitResult p_57088_) protected InteractionResult
StructureBlock.useWithoutItem
(BlockState p_57128_, Level p_57129_, BlockPos p_57130_, Player p_57131_, BlockHitResult p_57133_) protected InteractionResult
SweetBerryBushBlock.useWithoutItem
(BlockState p_316134_, Level p_316429_, BlockPos p_316748_, Player p_316431_, BlockHitResult p_316474_) protected InteractionResult
TrapDoorBlock.useWithoutItem
(BlockState p_57540_, Level p_57541_, BlockPos p_57542_, Player p_57543_, BlockHitResult p_57545_) -
Uses of BlockHitResult in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type BlockHitResultModifier and TypeMethodDescriptionprotected InteractionResult
MovingPistonBlock.useWithoutItem
(BlockState p_60070_, Level p_60071_, BlockPos p_60072_, Player p_60073_, BlockHitResult p_60075_) -
Uses of BlockHitResult in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type BlockHitResultModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onProjectileHit
(Level p_60670_, BlockState p_60671_, BlockHitResult p_60672_, Projectile p_60673_) protected void
BlockBehaviour.onProjectileHit
(Level p_60453_, BlockState p_60454_, BlockHitResult p_60455_, Projectile p_60456_) BlockBehaviour.BlockStateBase.useItemOn
(ItemStack p_316374_, Level p_316651_, Player p_316623_, InteractionHand p_316469_, BlockHitResult p_316877_) protected ItemInteractionResult
BlockBehaviour.useItemOn
(ItemStack p_316304_, BlockState p_316362_, Level p_316459_, BlockPos p_316366_, Player p_316132_, InteractionHand p_316595_, BlockHitResult p_316140_) BlockBehaviour.BlockStateBase.useWithoutItem
(Level p_316368_, Player p_316500_, BlockHitResult p_316346_) protected InteractionResult
BlockBehaviour.useWithoutItem
(BlockState p_60503_, Level p_60504_, BlockPos p_60505_, Player p_60506_, BlockHitResult p_60508_) -
Uses of BlockHitResult in net.minecraft.world.phys
Methods in net.minecraft.world.phys that return BlockHitResultModifier and TypeMethodDescriptionstatic BlockHitResult
static BlockHitResult
BlockHitResult.withDirection
(Direction p_82433_) BlockHitResult.withPosition
(BlockPos p_82431_) -
Uses of BlockHitResult in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return BlockHitResultModifier and TypeMethodDescription -
Uses of BlockHitResult in net.neoforged.neoforge.client.event
Methods in net.neoforged.neoforge.client.event that return BlockHitResultModifier and TypeMethodDescriptionRenderHighlightEvent.Block.getTarget()
Returns the block hit result.Constructors in net.neoforged.neoforge.client.event with parameters of type BlockHitResultModifierConstructorDescriptionBlock
(LevelRenderer levelRenderer, Camera camera, BlockHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) -
Uses of BlockHitResult in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type BlockHitResultModifier and TypeMethodDescriptionCommonHooks.onRightClickBlock
(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) -
Uses of BlockHitResult in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockHitResultModifier and TypeMethodDescriptiondefault boolean
IDispensibleContainerItemExtension.emptyContents
(@Nullable Player player, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful. -
Uses of BlockHitResult in net.neoforged.neoforge.debug.block
Methods in net.neoforged.neoforge.debug.block with parameters of type BlockHitResultModifier and TypeMethodDescriptionBlockPropertyTests.LightBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hit) -
Uses of BlockHitResult in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockHitResultModifier and TypeFieldDescriptionprivate BlockHitResult
PlayerInteractEvent.RightClickBlock.hitVec
Methods in net.neoforged.neoforge.event.entity.player that return BlockHitResultConstructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockHitResultModifierConstructorDescriptionRightClickBlock
(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) -
Uses of BlockHitResult in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block with parameters of type BlockHitResultModifier and TypeMethodDescriptionFullPotsAccessorDemo.DioriteFlowerPotBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) -
Uses of BlockHitResult in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type BlockHitResultModifier and TypeMethodDescriptionprotected ItemInteractionResult
MegaModelTest.TestBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit)