Uses of Class
net.minecraft.world.phys.BlockHitResult
Package
Description
-
Uses of BlockHitResult in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionMultiPlayerGameMode.useItemOn(LocalPlayer p_105263_, ClientLevel p_105264_, InteractionHand p_105265_, BlockHitResult p_105266_)
-
Uses of BlockHitResult in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
ParticleEngine.addBlockHitEffects(BlockPos pos, BlockHitResult target)
-
Uses of BlockHitResult in net.minecraft.network
Modifier and TypeMethodDescriptionvoid
FriendlyByteBuf.writeBlockHitResult(BlockHitResult p_130063_)
-
Uses of BlockHitResult in net.minecraft.network.protocol.game
ModifierConstructorDescriptionServerboundUseItemOnPacket(InteractionHand p_134695_, BlockHitResult p_134696_)
-
Uses of BlockHitResult in net.minecraft.server.level
Modifier 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
Modifier 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.item
Modifier and TypeMethodDescriptionprotected static BlockHitResult
Item.getPlayerPOVHitResult(Level p_41436_, Player p_41437_, ClipContext.Fluid p_41438_)
Modifier and TypeMethodDescriptionboolean
BucketItem.emptyContents(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_)
boolean
DispensibleContainerItem.emptyContents(Player p_150821_, Level p_150822_, BlockPos p_150823_, BlockHitResult p_150824_)
boolean
SolidBucketItem.emptyContents(Player p_151192_, Level p_151193_, BlockPos p_151194_, BlockHitResult p_151195_)
-
Uses of BlockHitResult in net.minecraft.world.item.context
ModifierConstructorDescriptionBlockPlaceContext(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
Modifier 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
Modifier and TypeMethodDescriptionprivate static boolean
CandleCakeBlock.candleHit(BlockHitResult p_152907_)
private static int
TargetBlock.getRedstoneStrength(BlockHitResult p_57409_, Vec3 p_57410_)
boolean
BellBlock.onHit(Level p_49702_, BlockState p_49703_, BlockHitResult p_49704_, Player p_49705_, boolean p_49706_)
void
AbstractCandleBlock.onProjectileHit(Level p_151905_, BlockState p_151906_, BlockHitResult p_151907_, Projectile p_151908_)
void
AmethystBlock.onProjectileHit(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_)
void
BellBlock.onProjectileHit(Level p_49708_, BlockState p_49709_, BlockHitResult p_49710_, Projectile p_49711_)
void
BigDripleafBlock.onProjectileHit(Level p_152228_, BlockState p_152229_, BlockHitResult p_152230_, Projectile p_152231_)
void
CampfireBlock.onProjectileHit(Level p_51244_, BlockState p_51245_, BlockHitResult p_51246_, Projectile p_51247_)
void
ChorusFlowerBlock.onProjectileHit(Level p_51654_, BlockState p_51655_, BlockHitResult p_51656_, Projectile p_51657_)
void
LightningRodBlock.onProjectileHit(Level p_153713_, BlockState p_153714_, BlockHitResult p_153715_, Projectile p_153716_)
void
PointedDripstoneBlock.onProjectileHit(Level p_154042_, BlockState p_154043_, BlockHitResult p_154044_, Projectile p_154045_)
void
TargetBlock.onProjectileHit(Level p_57381_, BlockState p_57382_, BlockHitResult p_57383_, Projectile p_57384_)
void
TntBlock.onProjectileHit(Level p_57429_, BlockState p_57430_, BlockHitResult p_57431_, Projectile p_57432_)
private static int
TargetBlock.updateRedstoneOutput(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_)
AbstractCauldronBlock.use(BlockState p_151969_, Level p_151970_, BlockPos p_151971_, Player p_151972_, InteractionHand p_151973_, BlockHitResult p_151974_)
AbstractFurnaceBlock.use(BlockState p_48706_, Level p_48707_, BlockPos p_48708_, Player p_48709_, InteractionHand p_48710_, BlockHitResult p_48711_)
AnvilBlock.use(BlockState p_48804_, Level p_48805_, BlockPos p_48806_, Player p_48807_, InteractionHand p_48808_, BlockHitResult p_48809_)
BarrelBlock.use(BlockState p_49069_, Level p_49070_, BlockPos p_49071_, Player p_49072_, InteractionHand p_49073_, BlockHitResult p_49074_)
BeaconBlock.use(BlockState p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, InteractionHand p_49436_, BlockHitResult p_49437_)
BedBlock.use(BlockState p_49515_, Level p_49516_, BlockPos p_49517_, Player p_49518_, InteractionHand p_49519_, BlockHitResult p_49520_)
BeehiveBlock.use(BlockState p_49624_, Level p_49625_, BlockPos p_49626_, Player p_49627_, InteractionHand p_49628_, BlockHitResult p_49629_)
BellBlock.use(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, InteractionHand p_49726_, BlockHitResult p_49727_)
BrewingStandBlock.use(BlockState p_50930_, Level p_50931_, BlockPos p_50932_, Player p_50933_, InteractionHand p_50934_, BlockHitResult p_50935_)
ButtonBlock.use(BlockState p_51088_, Level p_51089_, BlockPos p_51090_, Player p_51091_, InteractionHand p_51092_, BlockHitResult p_51093_)
CakeBlock.use(BlockState p_51202_, Level p_51203_, BlockPos p_51204_, Player p_51205_, InteractionHand p_51206_, BlockHitResult p_51207_)
CampfireBlock.use(BlockState p_51274_, Level p_51275_, BlockPos p_51276_, Player p_51277_, InteractionHand p_51278_, BlockHitResult p_51279_)
CandleBlock.use(BlockState p_152822_, Level p_152823_, BlockPos p_152824_, Player p_152825_, InteractionHand p_152826_, BlockHitResult p_152827_)
CandleCakeBlock.use(BlockState p_152884_, Level p_152885_, BlockPos p_152886_, Player p_152887_, InteractionHand p_152888_, BlockHitResult p_152889_)
CartographyTableBlock.use(BlockState p_51357_, Level p_51358_, BlockPos p_51359_, Player p_51360_, InteractionHand p_51361_, BlockHitResult p_51362_)
CaveVinesBlock.use(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, InteractionHand p_152984_, BlockHitResult p_152985_)
CaveVinesPlantBlock.use(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, InteractionHand p_153025_, BlockHitResult p_153026_)
ChestBlock.use(BlockState p_51531_, Level p_51532_, BlockPos p_51533_, Player p_51534_, InteractionHand p_51535_, BlockHitResult p_51536_)
CommandBlock.use(BlockState p_51825_, Level p_51826_, BlockPos p_51827_, Player p_51828_, InteractionHand p_51829_, BlockHitResult p_51830_)
ComparatorBlock.use(BlockState p_51880_, Level p_51881_, BlockPos p_51882_, Player p_51883_, InteractionHand p_51884_, BlockHitResult p_51885_)
ComposterBlock.use(BlockState p_51949_, Level p_51950_, BlockPos p_51951_, Player p_51952_, InteractionHand p_51953_, BlockHitResult p_51954_)
CraftingTableBlock.use(BlockState p_52233_, Level p_52234_, BlockPos p_52235_, Player p_52236_, InteractionHand p_52237_, BlockHitResult p_52238_)
DaylightDetectorBlock.use(BlockState p_52391_, Level p_52392_, BlockPos p_52393_, Player p_52394_, InteractionHand p_52395_, BlockHitResult p_52396_)
DispenserBlock.use(BlockState p_52693_, Level p_52694_, BlockPos p_52695_, Player p_52696_, InteractionHand p_52697_, BlockHitResult p_52698_)
DoorBlock.use(BlockState p_52769_, Level p_52770_, BlockPos p_52771_, Player p_52772_, InteractionHand p_52773_, BlockHitResult p_52774_)
DragonEggBlock.use(BlockState p_52923_, Level p_52924_, BlockPos p_52925_, Player p_52926_, InteractionHand p_52927_, BlockHitResult p_52928_)
EnchantmentTableBlock.use(BlockState p_52974_, Level p_52975_, BlockPos p_52976_, Player p_52977_, InteractionHand p_52978_, BlockHitResult p_52979_)
EnderChestBlock.use(BlockState p_53137_, Level p_53138_, BlockPos p_53139_, Player p_53140_, InteractionHand p_53141_, BlockHitResult p_53142_)
FenceBlock.use(BlockState p_53316_, Level p_53317_, BlockPos p_53318_, Player p_53319_, InteractionHand p_53320_, BlockHitResult p_53321_)
FenceGateBlock.use(BlockState p_53365_, Level p_53366_, BlockPos p_53367_, Player p_53368_, InteractionHand p_53369_, BlockHitResult p_53370_)
FletchingTableBlock.use(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, InteractionHand p_53505_, BlockHitResult p_53506_)
FlowerPotBlock.use(BlockState p_53540_, Level p_53541_, BlockPos p_53542_, Player p_53543_, InteractionHand p_53544_, BlockHitResult p_53545_)
GrindstoneBlock.use(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, InteractionHand p_53825_, BlockHitResult p_53826_)
HopperBlock.use(BlockState p_54071_, Level p_54072_, BlockPos p_54073_, Player p_54074_, InteractionHand p_54075_, BlockHitResult p_54076_)
JigsawBlock.use(BlockState p_54231_, Level p_54232_, BlockPos p_54233_, Player p_54234_, InteractionHand p_54235_, BlockHitResult p_54236_)
JukeboxBlock.use(BlockState p_54281_, Level p_54282_, BlockPos p_54283_, Player p_54284_, InteractionHand p_54285_, BlockHitResult p_54286_)
LecternBlock.use(BlockState p_54524_, Level p_54525_, BlockPos p_54526_, Player p_54527_, InteractionHand p_54528_, BlockHitResult p_54529_)
LeverBlock.use(BlockState p_54640_, Level p_54641_, BlockPos p_54642_, Player p_54643_, InteractionHand p_54644_, BlockHitResult p_54645_)
LightBlock.use(BlockState p_153673_, Level p_153674_, BlockPos p_153675_, Player p_153676_, InteractionHand p_153677_, BlockHitResult p_153678_)
LoomBlock.use(BlockState p_54787_, Level p_54788_, BlockPos p_54789_, Player p_54790_, InteractionHand p_54791_, BlockHitResult p_54792_)
NoteBlock.use(BlockState p_55034_, Level p_55035_, BlockPos p_55036_, Player p_55037_, InteractionHand p_55038_, BlockHitResult p_55039_)
PumpkinBlock.use(BlockState p_55289_, Level p_55290_, BlockPos p_55291_, Player p_55292_, InteractionHand p_55293_, BlockHitResult p_55294_)
RedStoneOreBlock.use(BlockState p_55472_, Level p_55473_, BlockPos p_55474_, Player p_55475_, InteractionHand p_55476_, BlockHitResult p_55477_)
RedStoneWireBlock.use(BlockState p_55554_, Level p_55555_, BlockPos p_55556_, Player p_55557_, InteractionHand p_55558_, BlockHitResult p_55559_)
RepeaterBlock.use(BlockState p_55809_, Level p_55810_, BlockPos p_55811_, Player p_55812_, InteractionHand p_55813_, BlockHitResult p_55814_)
RespawnAnchorBlock.use(BlockState p_55874_, Level p_55875_, BlockPos p_55876_, Player p_55877_, InteractionHand p_55878_, BlockHitResult p_55879_)
ShulkerBoxBlock.use(BlockState p_56227_, Level p_56228_, BlockPos p_56229_, Player p_56230_, InteractionHand p_56231_, BlockHitResult p_56232_)
SignBlock.use(BlockState p_56278_, Level p_56279_, BlockPos p_56280_, Player p_56281_, InteractionHand p_56282_, BlockHitResult p_56283_)
SmithingTableBlock.use(BlockState p_56428_, Level p_56429_, BlockPos p_56430_, Player p_56431_, InteractionHand p_56432_, BlockHitResult p_56433_)
StairBlock.use(BlockState p_56901_, Level p_56902_, BlockPos p_56903_, Player p_56904_, InteractionHand p_56905_, BlockHitResult p_56906_)
StonecutterBlock.use(BlockState p_57083_, Level p_57084_, BlockPos p_57085_, Player p_57086_, InteractionHand p_57087_, BlockHitResult p_57088_)
StructureBlock.use(BlockState p_57128_, Level p_57129_, BlockPos p_57130_, Player p_57131_, InteractionHand p_57132_, BlockHitResult p_57133_)
SweetBerryBushBlock.use(BlockState p_57275_, Level p_57276_, BlockPos p_57277_, Player p_57278_, InteractionHand p_57279_, BlockHitResult p_57280_)
TntBlock.use(BlockState p_57450_, Level p_57451_, BlockPos p_57452_, Player p_57453_, InteractionHand p_57454_, BlockHitResult p_57455_)
TrapDoorBlock.use(BlockState p_57540_, Level p_57541_, BlockPos p_57542_, Player p_57543_, InteractionHand p_57544_, BlockHitResult p_57545_)
-
Uses of BlockHitResult in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionMovingPistonBlock.use(BlockState p_60070_, Level p_60071_, BlockPos p_60072_, Player p_60073_, InteractionHand p_60074_, BlockHitResult p_60075_)
-
Uses of BlockHitResult in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onProjectileHit(Level p_60670_, BlockState p_60671_, BlockHitResult p_60672_, Projectile p_60673_)
void
BlockBehaviour.onProjectileHit(Level p_60453_, BlockState p_60454_, BlockHitResult p_60455_, Projectile p_60456_)
Deprecated.BlockBehaviour.BlockStateBase.use(Level p_60665_, Player p_60666_, InteractionHand p_60667_, BlockHitResult p_60668_)
BlockBehaviour.use(BlockState p_60503_, Level p_60504_, BlockPos p_60505_, Player p_60506_, InteractionHand p_60507_, BlockHitResult p_60508_)
Deprecated. -
Uses of BlockHitResult in net.minecraft.world.phys
Modifier and TypeMethodDescriptionstatic BlockHitResult
static BlockHitResult
BlockHitResult.withDirection(Direction p_82433_)
BlockHitResult.withPosition(BlockPos p_82431_)
-
Uses of BlockHitResult in net.minecraft.world.phys.shapes
Modifier and TypeMethodDescription -
Uses of BlockHitResult in net.minecraftforge.client.event
-
Uses of BlockHitResult in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeHooks.onRightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec)
-
Uses of BlockHitResult in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionBlockEntityOnLoadTest.TestBlock.use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit)
CustomRespawnTest.CustomRespawnBlock.use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult blockHitResult)
FullPotsAccessorDemo.DioriteFlowerPotBlock.use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit)
-
Uses of BlockHitResult in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate BlockHitResult
PlayerInteractEvent.RightClickBlock.hitVec
ModifierConstructorDescriptionRightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec)