Uses of Class
net.minecraft.world.InteractionResultHolder
Package
Description
-
Uses of InteractionResultHolder in net.minecraft.world
Modifier and TypeMethodDescriptionstatic <T> InteractionResultHolder<T>
InteractionResultHolder.consume
(T p_19097_) static <T> InteractionResultHolder<T>
InteractionResultHolder.fail
(T p_19101_) static <T> InteractionResultHolder<T>
InteractionResultHolder.pass
(T p_19099_) static <T> InteractionResultHolder<T>
InteractionResultHolder.sidedSuccess
(T p_19093_, boolean p_19094_) static <T> InteractionResultHolder<T>
InteractionResultHolder.success
(T p_19091_) -
Uses of InteractionResultHolder in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic InteractionResultHolder<ItemStack>
ItemUtils.startUsingInstantly
(Level p_150960_, Player p_150961_, InteractionHand p_150962_) default InteractionResultHolder<ItemStack>
Equipable.swapWithEquipmentSlot
(Item p_270453_, Level p_270395_, Player p_270300_, InteractionHand p_270262_) 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 InteractionResultHolder in net.neoforged.neoforge.debug.client
Modifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.use
(Level level, Player player, InteractionHand hand) -
Uses of InteractionResultHolder in net.neoforged.neoforge.debug.item
Modifier 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) -
Uses of InteractionResultHolder in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic InteractionResultHolder<ItemStack>
EventHooks.onArrowNock
(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) static @Nullable InteractionResultHolder<ItemStack>
EventHooks.onBucketUse
(@NotNull Player player, @NotNull Level level, @NotNull ItemStack stack, @Nullable HitResult target) -
Uses of InteractionResultHolder in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate InteractionResultHolder<ItemStack>
ArrowNockEvent.action
Modifier and TypeMethodDescriptionvoid
ArrowNockEvent.setAction
(InteractionResultHolder<ItemStack> action)