Uses of Class
net.minecraft.world.InteractionResultHolder
Packages that use InteractionResultHolder
Package
Description
-
Uses of InteractionResultHolder in net.minecraft.world
Methods in net.minecraft.world that return InteractionResultHolderModifier and TypeMethodDescriptionstatic <T> InteractionResultHolder
<T> InteractionResultHolder.consume
(T pType) static <T> InteractionResultHolder
<T> InteractionResultHolder.fail
(T pType) static <T> InteractionResultHolder
<T> InteractionResultHolder.pass
(T pType) static <T> InteractionResultHolder
<T> InteractionResultHolder.sidedSuccess
(T pObject, boolean pIsClientSide) static <T> InteractionResultHolder
<T> InteractionResultHolder.success
(T pType) -
Uses of InteractionResultHolder in net.minecraft.world.item
Methods in net.minecraft.world.item that return InteractionResultHolderModifier and TypeMethodDescriptionstatic InteractionResultHolder
<ItemStack> ItemUtils.startUsingInstantly
(Level pLevel, Player pPlayer, InteractionHand pHand) default InteractionResultHolder
<ItemStack> Equipable.swapWithEquipmentSlot
(Item pItem, Level pLevel, Player pPlayer, InteractionHand pHand) ArmorItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.BoatItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.BottleItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.BowItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.BucketItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.BundleItem.use
(Level pLevel, Player pPlayer, InteractionHand pUsedHand) Called to trigger the item's "innate" right click behavior.CrossbowItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.EggItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.ElytraItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.EmptyMapItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.EnderEyeItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.EnderpearlItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.ExperienceBottleItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.FireworkRocketItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.FishingRodItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.FoodOnAStickItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.HoneyBottleItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.InstrumentItem.use
(Level pLevel, Player pPlayer, InteractionHand pUsedHand) Called to trigger the item's "innate" right click behavior.Item.use
(Level pLevel, Player pPlayer, InteractionHand pUsedHand) Called to trigger the item's "innate" right click behavior.ItemStack.use
(Level pLevel, Player pPlayer, InteractionHand pUsedHand) Called when theItemStack
is equipped and right-clicked.KnowledgeBookItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.LingeringPotionItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.MilkBucketItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.OminousBottleItem.use
(Level p_338229_, Player p_338350_, InteractionHand p_338729_) PlaceOnWaterBlockItem.use
(Level p_220231_, Player p_220232_, InteractionHand p_220233_) PotionItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.ShieldItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.SnowballItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.SpawnEggItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.SplashPotionItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.SpyglassItem.use
(Level pLevel, Player pPlayer, InteractionHand pUsedHand) Called to trigger the item's "innate" right click behavior.ThrowablePotionItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.TridentItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.WindChargeItem.use
(Level p_326306_, Player p_326042_, InteractionHand p_326470_) WritableBookItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior.WrittenBookItem.use
(Level pLevel, Player pPlayer, InteractionHand pHand) Called to trigger the item's "innate" right click behavior. -
Uses of InteractionResultHolder in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return InteractionResultHolderModifier and TypeMethodDescriptionstatic InteractionResultHolder
<ItemStack> EventHooks.onArrowNock
(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) -
Uses of InteractionResultHolder in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as InteractionResultHolderModifier and TypeFieldDescriptionprivate InteractionResultHolder
<ItemStack> ArrowNockEvent.action
Methods in net.neoforged.neoforge.event.entity.player that return InteractionResultHolderMethods in net.neoforged.neoforge.event.entity.player with parameters of type InteractionResultHolderModifier and TypeMethodDescriptionvoid
ArrowNockEvent.setAction
(InteractionResultHolder<ItemStack> action) -
Uses of InteractionResultHolder in net.neoforged.neoforge.oldtest.client
Methods in net.neoforged.neoforge.oldtest.client that return InteractionResultHolderModifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.use
(Level level, Player player, InteractionHand hand) -
Uses of InteractionResultHolder in net.neoforged.neoforge.oldtest.item
Methods in net.neoforged.neoforge.oldtest.item that return InteractionResultHolderModifier and TypeMethodDescriptionCustomFluidContainerTest.CustomFluidContainer.use
(Level level, Player player, InteractionHand hand) CustomShieldTest.CustomShieldItem.use
(Level world, Player player, InteractionHand hand) StopUsingItemTest.InvertedTelescope.use
(Level level, Player player, InteractionHand hand)