Uses of Enum Class
net.minecraft.world.InteractionHand
Packages that use InteractionHand
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of InteractionHand in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as InteractionHandConstructors in net.minecraft.client.gui.screens.inventory with parameters of type InteractionHandModifierConstructorDescriptionBookEditScreen(Player p_98076_, ItemStack p_98077_, InteractionHand p_98078_) -
Uses of InteractionHand in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type InteractionHandModifier and TypeMethodDescriptionMultiPlayerGameMode.interact(Player p_105227_, Entity p_105228_, InteractionHand p_105229_) MultiPlayerGameMode.interactAt(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_) private InteractionResultMultiPlayerGameMode.performUseItemOn(LocalPlayer p_233747_, InteractionHand p_233748_, BlockHitResult p_233749_) MultiPlayerGameMode.useItem(Player p_233722_, InteractionHand p_233723_) MultiPlayerGameMode.useItemOn(LocalPlayer p_233733_, InteractionHand p_233734_, BlockHitResult p_233735_) -
Uses of InteractionHand in net.minecraft.client.player
Fields in net.minecraft.client.player declared as InteractionHandMethods in net.minecraft.client.player that return InteractionHandMethods in net.minecraft.client.player with parameters of type InteractionHandModifier and TypeMethodDescriptionvoidLocalPlayer.openItemGui(ItemStack p_108673_, InteractionHand p_108674_) voidLocalPlayer.startUsingItem(InteractionHand p_108718_) voidLocalPlayer.swing(InteractionHand p_108660_) -
Uses of InteractionHand in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type InteractionHandModifier and TypeMethodDescriptionvoidItemInHandRenderer.itemUsed(InteractionHand p_109321_) ItemInHandRenderer.HandRenderSelection.onlyForHand(InteractionHand p_172932_) private voidItemInHandRenderer.renderArmWithItem(AbstractClientPlayer p_109372_, float p_109373_, float p_109374_, InteractionHand p_109375_, float p_109376_, ItemStack p_109377_, float p_109378_, PoseStack p_109379_, MultiBufferSource p_109380_, int p_109381_) -
Uses of InteractionHand in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player with parameters of type InteractionHandModifier and TypeMethodDescriptionprivate static HumanoidModel.ArmPosePlayerRenderer.getArmPose(AbstractClientPlayer p_117795_, InteractionHand p_117796_) -
Uses of InteractionHand in net.minecraft.core.cauldron
Methods in net.minecraft.core.cauldron with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic InteractionResultCauldronInteraction.emptyBucket(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_) static InteractionResultCauldronInteraction.fillBucket(BlockState p_175636_, Level p_175637_, BlockPos p_175638_, Player p_175639_, InteractionHand p_175640_, ItemStack p_175641_, ItemStack p_175642_, Predicate<BlockState> p_175643_, SoundEvent p_175644_) CauldronInteraction.interact(BlockState p_175711_, Level p_175712_, BlockPos p_175713_, Player p_175714_, InteractionHand p_175715_, ItemStack p_175716_) -
Uses of InteractionHand in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as InteractionHandModifier and TypeFieldDescriptionprivate final InteractionHandClientboundOpenBookPacket.handprivate final InteractionHandServerboundInteractPacket.InteractionAction.handprivate final InteractionHandServerboundInteractPacket.InteractionAtLocationAction.handprivate final InteractionHandServerboundSwingPacket.handprivate final InteractionHandServerboundUseItemOnPacket.handprivate final InteractionHandServerboundUseItemPacket.handMethods in net.minecraft.network.protocol.game that return InteractionHandModifier and TypeMethodDescriptionClientboundOpenBookPacket.getHand()ServerboundSwingPacket.getHand()ServerboundUseItemOnPacket.getHand()ServerboundUseItemPacket.getHand()Methods in net.minecraft.network.protocol.game with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic ServerboundInteractPacketServerboundInteractPacket.createInteractionPacket(Entity p_179609_, boolean p_179610_, InteractionHand p_179611_) static ServerboundInteractPacketServerboundInteractPacket.createInteractionPacket(Entity p_179613_, boolean p_179614_, InteractionHand p_179615_, Vec3 p_179616_) voidServerboundInteractPacket.Handler.onInteraction(InteractionHand p_179643_) voidServerboundInteractPacket.Handler.onInteraction(InteractionHand p_179644_, Vec3 p_179645_) Constructors in net.minecraft.network.protocol.game with parameters of type InteractionHandModifierConstructorDescriptionClientboundOpenBookPacket(InteractionHand p_132601_) (package private)InteractionAction(InteractionHand p_179648_) (package private)InteractionAtLocationAction(InteractionHand p_179659_, Vec3 p_179660_) ServerboundSwingPacket(InteractionHand p_134667_) ServerboundUseItemOnPacket(InteractionHand p_238005_, BlockHitResult p_238006_, int p_238007_) ServerboundUseItemPacket(InteractionHand p_238011_, int p_238012_) -
Uses of InteractionHand in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type InteractionHandModifier and TypeMethodDescriptionvoidServerPlayer.openItemGui(ItemStack p_9082_, InteractionHand p_9083_) voidServerPlayer.swing(InteractionHand p_9031_) DemoMode.useItem(ServerPlayer p_140742_, Level p_140743_, ItemStack p_140744_, InteractionHand p_140745_) ServerPlayerGameMode.useItem(ServerPlayer p_9262_, Level p_9263_, ItemStack p_9264_, InteractionHand p_9265_) DemoMode.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 InteractionHand in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type InteractionHandModifier and TypeMethodDescriptionServerGamePacketListenerImpl.EntityInteraction.run(ServerPlayer p_143695_, Entity p_143696_, InteractionHand p_143697_) -
Uses of InteractionHand in net.minecraft.world
Methods in net.minecraft.world that return InteractionHandModifier and TypeMethodDescriptionstatic InteractionHandReturns the enum constant of this class with the specified name.static InteractionHand[]InteractionHand.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of InteractionHand in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as InteractionHandMethods in net.minecraft.world.entity that return InteractionHandMethods in net.minecraft.world.entity with parameters of type InteractionHandModifier and TypeMethodDescriptionvoidLivingEntity.broadcastBreakEvent(InteractionHand p_21191_) private InteractionResultMob.checkAndHandleImportantInteractions(Player p_21500_, InteractionHand p_21501_) LivingEntity.getItemInHand(InteractionHand p_21121_) Entity.interact(Player p_19978_, InteractionHand p_19979_) final InteractionResultMob.interact(Player p_21420_, InteractionHand p_21421_) Entity.interactAt(Player p_19980_, Vec3 p_19981_, InteractionHand p_19982_) protected InteractionResultMob.mobInteract(Player p_21472_, InteractionHand p_21473_) voidLivingEntity.setItemInHand(InteractionHand p_21009_, ItemStack p_21010_) voidLivingEntity.startUsingItem(InteractionHand p_21159_) voidLivingEntity.swing(InteractionHand p_21007_) voidLivingEntity.swing(InteractionHand p_21012_, boolean p_21013_) -
Uses of InteractionHand in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<InteractionResult>Bucketable.bucketMobPickup(Player p_148829_, InteractionHand p_148830_, T p_148831_) protected InteractionResultAbstractFish.mobInteract(Player p_27477_, InteractionHand p_27478_) Animal.mobInteract(Player p_27584_, InteractionHand p_27585_) Cat.mobInteract(Player p_28153_, InteractionHand p_28154_) Cow.mobInteract(Player p_28298_, InteractionHand p_28299_) protected InteractionResultDolphin.mobInteract(Player p_28359_, InteractionHand p_28360_) protected InteractionResultIronGolem.mobInteract(Player p_28861_, InteractionHand p_28862_) MushroomCow.mobInteract(Player p_28941_, InteractionHand p_28942_) Ocelot.mobInteract(Player p_29021_, InteractionHand p_29022_) Panda.mobInteract(Player p_29123_, InteractionHand p_29124_) Parrot.mobInteract(Player p_29414_, InteractionHand p_29415_) Pig.mobInteract(Player p_29489_, InteractionHand p_29490_) Sheep.mobInteract(Player p_29853_, InteractionHand p_29854_) protected InteractionResultSnowGolem.mobInteract(Player p_29920_, InteractionHand p_29921_) Wolf.mobInteract(Player p_30412_, InteractionHand p_30413_) protected voidAnimal.usePlayerItem(Player p_148715_, InteractionHand p_148716_, ItemStack p_148717_) protected voidCat.usePlayerItem(Player p_148866_, InteractionHand p_148867_, ItemStack p_148868_) protected voidFox.usePlayerItem(Player p_148908_, InteractionHand p_148909_, ItemStack p_148910_) -
Uses of InteractionHand in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type InteractionHandModifier and TypeMethodDescriptionprotected InteractionResultAllay.mobInteract(Player p_218361_, InteractionHand p_218362_) -
Uses of InteractionHand in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type InteractionHandModifier and TypeMethodDescriptionAxolotl.mobInteract(Player p_149155_, InteractionHand p_149156_) protected voidAxolotl.usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) -
Uses of InteractionHand in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type InteractionHand -
Uses of InteractionHand in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type InteractionHandModifier and TypeMethodDescriptionTadpole.mobInteract(Player p_218703_, InteractionHand p_218704_) -
Uses of InteractionHand in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type InteractionHand -
Uses of InteractionHand in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type InteractionHandModifier and TypeMethodDescriptionAbstractChestedHorse.mobInteract(Player p_30493_, InteractionHand p_30494_) AbstractHorse.mobInteract(Player p_252289_, InteractionHand p_248927_) Horse.mobInteract(Player p_30713_, InteractionHand p_30714_) SkeletonHorse.mobInteract(Player p_30904_, InteractionHand p_30905_) ZombieHorse.mobInteract(Player p_31001_, InteractionHand p_31002_) -
Uses of InteractionHand in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration with parameters of type InteractionHandModifier and TypeMethodDescriptionItemFrame.interact(Player p_31787_, InteractionHand p_31788_) LeashFenceKnotEntity.interact(Player p_31842_, InteractionHand p_31843_) ArmorStand.interactAt(Player p_31594_, Vec3 p_31595_, InteractionHand p_31596_) private booleanArmorStand.swapItem(Player p_31589_, EquipmentSlot p_31590_, ItemStack p_31591_, InteractionHand p_31592_) -
Uses of InteractionHand in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type InteractionHandModifier and TypeMethodDescriptionprotected InteractionResultCreeper.mobInteract(Player p_32301_, InteractionHand p_32302_) Strider.mobInteract(Player p_33910_, InteractionHand p_33911_) ZombieVillager.mobInteract(Player p_34394_, InteractionHand p_34395_) -
Uses of InteractionHand in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type InteractionHand -
Uses of InteractionHand in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type InteractionHandModifier and TypeMethodDescriptionPiglin.mobInteract(Player p_34745_, InteractionHand p_34746_) static InteractionResultPiglinAi.mobInteract(Piglin p_34847_, Player p_34848_, InteractionHand p_34849_) -
Uses of InteractionHand in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type InteractionHandModifier and TypeMethodDescriptionVillager.mobInteract(Player p_35472_, InteractionHand p_35473_) WanderingTrader.mobInteract(Player p_35856_, InteractionHand p_35857_) -
Uses of InteractionHand in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type InteractionHandModifier and TypeMethodDescriptionPlayer.interactOn(Entity p_36158_, InteractionHand p_36159_) voidPlayer.openItemGui(ItemStack p_36174_, InteractionHand p_36175_) -
Uses of InteractionHand in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return InteractionHandModifier and TypeMethodDescriptionstatic InteractionHandProjectileUtil.getWeaponHoldingHand(LivingEntity livingEntity, Predicate<Item> itemPredicate) static InteractionHandProjectileUtil.getWeaponHoldingHand(LivingEntity p_37298_, Item p_37299_) Deprecated. -
Uses of InteractionHand in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type InteractionHandModifier and TypeMethodDescriptionAbstractMinecartContainer.interact(Player p_38232_, InteractionHand p_38233_) Boat.interact(Player p_38330_, InteractionHand p_38331_) ChestBoat.interact(Player p_219898_, InteractionHand p_219899_) Minecart.interact(Player p_38483_, InteractionHand p_38484_) MinecartCommandBlock.interact(Player p_38522_, InteractionHand p_38523_) MinecartFurnace.interact(Player p_38562_, InteractionHand p_38563_) -
Uses of InteractionHand in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type InteractionHandModifier and TypeMethodDescriptionDyeItem.interactLivingEntity(ItemStack p_41085_, Player p_41086_, LivingEntity p_41087_, InteractionHand p_41088_) Item.interactLivingEntity(ItemStack p_41398_, Player p_41399_, LivingEntity p_41400_, InteractionHand p_41401_) ItemStack.interactLivingEntity(Player p_41648_, LivingEntity p_41649_, InteractionHand p_41650_) NameTagItem.interactLivingEntity(ItemStack p_42954_, Player p_42955_, LivingEntity p_42956_, InteractionHand p_42957_) SaddleItem.interactLivingEntity(ItemStack p_43055_, Player p_43056_, LivingEntity p_43057_, InteractionHand p_43058_) ShearsItem.interactLivingEntity(ItemStack stack, Player playerIn, LivingEntity entity, InteractionHand hand) static voidCrossbowItem.performShooting(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_) private static voidCrossbowItem.shootProjectile(Level p_40895_, LivingEntity p_40896_, InteractionHand p_40897_, ItemStack p_40898_, ItemStack p_40899_, float p_40900_, boolean p_40901_, float p_40902_, float p_40903_, float p_40904_) static InteractionResultHolder<ItemStack>ItemUtils.startUsingInstantly(Level p_150960_, Player p_150961_, InteractionHand p_150962_) ArmorItem.use(Level p_40395_, Player p_40396_, InteractionHand p_40397_) BoatItem.use(Level p_40622_, Player p_40623_, InteractionHand p_40624_) BottleItem.use(Level p_40656_, Player p_40657_, InteractionHand p_40658_) BowItem.use(Level p_40672_, Player p_40673_, InteractionHand p_40674_) BucketItem.use(Level p_40703_, Player p_40704_, InteractionHand p_40705_) BundleItem.use(Level p_150760_, Player p_150761_, InteractionHand p_150762_) CrossbowItem.use(Level p_40920_, Player p_40921_, InteractionHand p_40922_) EggItem.use(Level p_41128_, Player p_41129_, InteractionHand p_41130_) ElytraItem.use(Level p_41137_, Player p_41138_, InteractionHand p_41139_) EmptyMapItem.use(Level p_41145_, Player p_41146_, InteractionHand p_41147_) EnderEyeItem.use(Level p_41184_, Player p_41185_, InteractionHand p_41186_) EnderpearlItem.use(Level p_41190_, Player p_41191_, InteractionHand p_41192_) ExperienceBottleItem.use(Level p_41196_, Player p_41197_, InteractionHand p_41198_) FireworkRocketItem.use(Level p_41218_, Player p_41219_, InteractionHand p_41220_) FishingRodItem.use(Level p_41290_, Player p_41291_, InteractionHand p_41292_) FoodOnAStickItem.use(Level p_41314_, Player p_41315_, InteractionHand p_41316_) HoneyBottleItem.use(Level p_41352_, Player p_41353_, InteractionHand p_41354_) InstrumentItem.use(Level p_220123_, Player p_220124_, InteractionHand p_220125_) Item.use(Level p_41432_, Player p_41433_, InteractionHand p_41434_) ItemStack.use(Level p_41683_, Player p_41684_, InteractionHand p_41685_) KnowledgeBookItem.use(Level p_42824_, Player p_42825_, InteractionHand p_42826_) LingeringPotionItem.use(Level p_42843_, Player p_42844_, InteractionHand p_42845_) MilkBucketItem.use(Level p_42927_, Player p_42928_, InteractionHand p_42929_) PlaceOnWaterBlockItem.use(Level p_220231_, Player p_220232_, InteractionHand p_220233_) PotionItem.use(Level p_42993_, Player p_42994_, InteractionHand p_42995_) ShieldItem.use(Level p_43099_, Player p_43100_, InteractionHand p_43101_) SnowballItem.use(Level p_43142_, Player p_43143_, InteractionHand p_43144_) SpawnEggItem.use(Level p_43225_, Player p_43226_, InteractionHand p_43227_) SplashPotionItem.use(Level p_43243_, Player p_43244_, InteractionHand p_43245_) SpyglassItem.use(Level p_151218_, Player p_151219_, InteractionHand p_151220_) ThrowablePotionItem.use(Level p_43303_, Player p_43304_, InteractionHand p_43305_) TridentItem.use(Level p_43405_, Player p_43406_, InteractionHand p_43407_) WritableBookItem.use(Level p_43449_, Player p_43450_, InteractionHand p_43451_) WrittenBookItem.use(Level p_43468_, Player p_43469_, InteractionHand p_43470_) -
Uses of InteractionHand in net.minecraft.world.item.context
Fields in net.minecraft.world.item.context declared as InteractionHandMethods in net.minecraft.world.item.context that return InteractionHandConstructors in net.minecraft.world.item.context with parameters of type InteractionHandModifierConstructorDescriptionBlockPlaceContext(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 InteractionHand in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type InteractionHandModifier and TypeMethodDescriptionAbstractCauldronBlock.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_) CeilingHangingSignBlock.use(BlockState p_251161_, Level p_249327_, BlockPos p_248552_, Player p_248644_, InteractionHand p_251941_, BlockHitResult p_252016_) ChestBlock.use(BlockState p_51531_, Level p_51532_, BlockPos p_51533_, Player p_51534_, InteractionHand p_51535_, BlockHitResult p_51536_) ChiseledBookShelfBlock.use(BlockState p_251144_, Level p_251668_, BlockPos p_249108_, Player p_249954_, InteractionHand p_249823_, BlockHitResult p_250640_) 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_) WallHangingSignBlock.use(BlockState p_251703_, Level p_249080_, BlockPos p_250832_, Player p_251881_, InteractionHand p_249800_, BlockHitResult p_252293_) -
Uses of InteractionHand in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type InteractionHandModifier and TypeMethodDescriptionMovingPistonBlock.use(BlockState p_60070_, Level p_60071_, BlockPos p_60072_, Player p_60073_, InteractionHand p_60074_, BlockHitResult p_60075_) -
Uses of InteractionHand in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type InteractionHandModifier and TypeMethodDescriptionBlockBehaviour.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 InteractionHand in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type InteractionHandModifier and TypeMethodDescriptionForgeHooksClient.onClickInput(int button, KeyMapping keyBinding, InteractionHand hand) static booleanForgeHooksClient.renderSpecificFirstPersonHand(InteractionHand hand, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, float partialTick, float interpPitch, float swingProgress, float equipProgress, ItemStack stack) -
Uses of InteractionHand in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as InteractionHandModifier and TypeFieldDescriptionprivate final InteractionHandInputEvent.InteractionKeyMappingTriggered.handprivate final InteractionHandRenderHandEvent.handMethods in net.minecraftforge.client.event that return InteractionHandModifier and TypeMethodDescriptionInputEvent.InteractionKeyMappingTriggered.getHand()Returns the hand that caused the input.RenderHandEvent.getHand()Returns the hand being rendered.Constructors in net.minecraftforge.client.event with parameters of type InteractionHandModifierConstructorDescriptionInteractionKeyMappingTriggered(int button, KeyMapping keyMapping, InteractionHand hand) RenderHandEvent(InteractionHand hand, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick, float interpolatedPitch, float swingProgress, float equipProgress, ItemStack stack) -
Uses of InteractionHand in net.minecraftforge.client.extensions.common
Methods in net.minecraftforge.client.extensions.common with parameters of type InteractionHandModifier and TypeMethodDescriptiondefault HumanoidModel.ArmPoseIClientItemExtensions.getArmPose(LivingEntity entityLiving, InteractionHand hand, ItemStack itemStack) This method returns an ArmPose that can be defined using theHumanoidModel.ArmPose.create(String, boolean, IArmPoseTransformer)method. -
Uses of InteractionHand in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic voidForgeHooks.onEmptyClick(Player player, InteractionHand hand) static InteractionResultForgeHooks.onInteractEntity(Player player, Entity entity, InteractionHand hand) static InteractionResultForgeHooks.onInteractEntityAt(Player player, Entity entity, HitResult ray, InteractionHand hand) static InteractionResultForgeHooks.onInteractEntityAt(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) static InteractionResultForgeHooks.onItemRightClick(Player player, InteractionHand hand) static booleanForgeHooks.onLivingUseTotem(LivingEntity entity, DamageSource damageSource, ItemStack totem, InteractionHand hand) ForgeHooks.onRightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) -
Uses of InteractionHand in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type InteractionHandModifier 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 InteractionHand in net.minecraftforge.debug.client
Methods in net.minecraftforge.debug.client with parameters of type InteractionHandModifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.use(Level level, Player player, InteractionHand hand) -
Uses of InteractionHand in net.minecraftforge.debug.client.model
Methods in net.minecraftforge.debug.client.model with parameters of type InteractionHandModifier and TypeMethodDescriptionMegaModelTest.TestBlock.use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) -
Uses of InteractionHand in net.minecraftforge.debug.item
Methods in net.minecraftforge.debug.item with parameters of type InteractionHandModifier and TypeMethodDescriptionCustomShieldTest.CustomShieldItem.use(Level world, Player player, InteractionHand hand) -
Uses of InteractionHand in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic InteractionResultHolder<ItemStack>ForgeEventFactory.onArrowNock(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) static voidForgeEventFactory.onPlayerDestroyItem(Player player, @NotNull ItemStack stack, @Nullable InteractionHand hand) -
Uses of InteractionHand in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as InteractionHandMethods in net.minecraftforge.event.entity.living that return InteractionHandModifier and TypeMethodDescriptionLivingUseTotemEvent.getHandHolding()Returns the hand holding the totem.Constructors in net.minecraftforge.event.entity.living with parameters of type InteractionHandModifierConstructorDescriptionLivingUseTotemEvent(LivingEntity entity, DamageSource source, ItemStack totem, InteractionHand hand) -
Uses of InteractionHand in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as InteractionHandModifier and TypeFieldDescriptionprivate final InteractionHandArrowNockEvent.handprivate final @Nullable InteractionHandPlayerDestroyItemEvent.handprivate final InteractionHandPlayerInteractEvent.handMethods in net.minecraftforge.event.entity.player that return InteractionHandModifier and TypeMethodDescriptionArrowNockEvent.getHand()@Nullable InteractionHandPlayerDestroyItemEvent.getHand()@NotNull InteractionHandPlayerInteractEvent.getHand()Constructors in net.minecraftforge.event.entity.player with parameters of type InteractionHandModifierConstructorDescriptionArrowNockEvent(Player player, @NotNull ItemStack item, InteractionHand hand, Level level, boolean hasAmmo) EntityInteract(Player player, InteractionHand hand, Entity target) EntityInteractSpecific(Player player, InteractionHand hand, Entity target, Vec3 localPos) PlayerDestroyItemEvent(Player player, @NotNull ItemStack original, @Nullable InteractionHand hand) privatePlayerInteractEvent(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) RightClickBlock(Player player, InteractionHand hand, BlockPos pos, BlockHitResult hitVec) RightClickEmpty(Player player, InteractionHand hand) RightClickItem(Player player, InteractionHand hand) -
Uses of InteractionHand in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type InteractionHandModifier and TypeMethodDescriptionstatic booleanFluidUtil.interactWithFluidHandler(@NotNull Player player, @NotNull InteractionHand hand, @NotNull Level level, @NotNull BlockPos pos, @Nullable Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static booleanFluidUtil.interactWithFluidHandler(@NotNull Player player, @NotNull InteractionHand hand, @NotNull IFluidHandler handler) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.static @NotNull FluidActionResultFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, @NotNull ItemStack container, FluidStack resource) static booleanFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource) Tries to place a fluid resource into the level as a block and drains the fluidSource.