Uses of Class
net.minecraft.world.item.ItemStack
Packages that use ItemStack
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for 
client-only classes.- 
Uses of ItemStack in net.minecraft.advancementsFields in net.minecraft.advancements declared as ItemStackMethods in net.minecraft.advancements that return ItemStackMethods in net.minecraft.advancements with parameters of type ItemStackModifier and TypeMethodDescriptionAdvancement.Builder.display(ItemStack p_312724_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, AdvancementType p_312711_, boolean p_138377_, boolean p_138378_, boolean p_138379_) Constructors in net.minecraft.advancements with parameters of type ItemStackModifierConstructorDescriptionDisplayInfo(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_312452_, AdvancementType p_312497_, boolean p_14974_, boolean p_14975_, boolean p_14976_) 
- 
Uses of ItemStack in net.minecraft.advancements.critereonMethods in net.minecraft.advancements.critereon with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanBeeNestDestroyedTrigger.TriggerInstance.matches(BlockState p_146662_, ItemStack p_146663_, int p_146664_) booleanbooleanbooleanbooleanFishingRodHookedTrigger.TriggerInstance.matches(ItemStack p_40444_, LootContext p_40445_, Collection<ItemStack> p_40446_) booleanInventoryChangeTrigger.TriggerInstance.matches(Inventory p_43187_, ItemStack p_43188_, int p_43189_, int p_43190_, int p_43191_) booleanbooleanbooleanbooleanPickedUpItemTrigger.TriggerInstance.matches(ServerPlayer p_221323_, ItemStack p_221324_, LootContext p_221325_) booleanPlayerInteractTrigger.TriggerInstance.matches(ItemStack p_61522_, LootContext p_61523_) booleanbooleanTradeTrigger.TriggerInstance.matches(LootContext p_70985_, ItemStack p_70986_) booleanbooleanvoidBeeNestDestroyedTrigger.trigger(ServerPlayer p_146652_, BlockState p_146653_, ItemStack p_146654_, int p_146655_) voidConsumeItemTrigger.trigger(ServerPlayer p_23683_, ItemStack p_23684_) voidEnchantedItemTrigger.trigger(ServerPlayer p_27669_, ItemStack p_27670_, int p_27671_) voidFilledBucketTrigger.trigger(ServerPlayer p_38773_, ItemStack p_38774_) voidFishingRodHookedTrigger.trigger(ServerPlayer p_40417_, ItemStack p_40418_, FishingHook p_40419_, Collection<ItemStack> p_40420_) voidInventoryChangeTrigger.trigger(ServerPlayer p_43150_, Inventory p_43151_, ItemStack p_43152_) private voidInventoryChangeTrigger.trigger(ServerPlayer p_43154_, Inventory p_43155_, ItemStack p_43156_, int p_43157_, int p_43158_, int p_43159_) voidItemDurabilityTrigger.trigger(ServerPlayer p_43670_, ItemStack p_43671_, int p_43672_) voidItemUsedOnLocationTrigger.trigger(ServerPlayer p_286813_, BlockPos p_286625_, ItemStack p_286620_) voidPickedUpItemTrigger.trigger(ServerPlayer p_221299_, ItemStack p_221300_, Entity p_221301_) voidPlayerInteractTrigger.trigger(ServerPlayer p_61495_, ItemStack p_61496_, Entity p_61497_) voidShotCrossbowTrigger.trigger(ServerPlayer p_65463_, ItemStack p_65464_) voidTradeTrigger.trigger(ServerPlayer p_70960_, AbstractVillager p_70961_, ItemStack p_70962_) voidUsedTotemTrigger.trigger(ServerPlayer p_74432_, ItemStack p_74433_) voidUsingItemTrigger.trigger(ServerPlayer p_163866_, ItemStack p_163867_) Method parameters in net.minecraft.advancements.critereon with type arguments of type ItemStackModifier and TypeMethodDescriptionbooleanFishingRodHookedTrigger.TriggerInstance.matches(ItemStack p_40444_, LootContext p_40445_, Collection<ItemStack> p_40446_) (package private) booleanRecipeCraftedTrigger.TriggerInstance.matches(ResourceLocation p_283528_, List<ItemStack> p_283698_) voidFishingRodHookedTrigger.trigger(ServerPlayer p_40417_, ItemStack p_40418_, FishingHook p_40419_, Collection<ItemStack> p_40420_) voidRecipeCraftedTrigger.trigger(ServerPlayer p_281468_, ResourceLocation p_282903_, List<ItemStack> p_282070_) 
- 
Uses of ItemStack in net.minecraft.clientFields in net.minecraft.client with type parameters of type ItemStackMethods in net.minecraft.client that return types with arguments of type ItemStackMethods in net.minecraft.client with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidMinecraft.addCustomNbtData(ItemStack p_263370_, BlockEntity p_263368_) static RecipeBookCategoriesConstructors in net.minecraft.client with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.client.color.itemMethods in net.minecraft.client.color.item with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.client.guiFields in net.minecraft.client.gui declared as ItemStackMethods in net.minecraft.client.gui with parameters of type ItemStackModifier and TypeMethodDescriptionvoidGuiGraphics.renderComponentTooltip(Font font, List<? extends FormattedText> tooltips, int mouseX, int mouseY, ItemStack stack) voidGuiGraphics.renderFakeItem(ItemStack p_281946_, int p_283299_, int p_283674_) voidGuiGraphics.renderFakeItem(ItemStack p_312904_, int p_312257_, int p_312674_, int p_312138_) voidGuiGraphics.renderItem(LivingEntity p_282154_, ItemStack p_282777_, int p_282110_, int p_281371_, int p_283572_) private voidGuiGraphics.renderItem(LivingEntity p_283524_, Level p_282461_, ItemStack p_283653_, int p_283141_, int p_282560_, int p_282425_) private voidGuiGraphics.renderItem(LivingEntity p_282619_, Level p_281754_, ItemStack p_281675_, int p_281271_, int p_282210_, int p_283260_, int p_281995_) voidGuiGraphics.renderItem(ItemStack p_281978_, int p_282647_, int p_281944_) voidGuiGraphics.renderItem(ItemStack p_282262_, int p_283221_, int p_283496_, int p_283435_) voidGuiGraphics.renderItem(ItemStack p_282786_, int p_282502_, int p_282976_, int p_281592_, int p_282314_) voidGuiGraphics.renderItemDecorations(Font p_281721_, ItemStack p_281514_, int p_282056_, int p_282683_) voidGuiGraphics.renderItemDecorations(Font p_282005_, ItemStack p_283349_, int p_282641_, int p_282146_, String p_282803_) private voidGui.renderSlot(GuiGraphics p_283283_, int p_283213_, int p_281301_, float p_281885_, Player p_283644_, ItemStack p_283317_, int p_283261_) voidGuiGraphics.renderTooltip(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY) voidGuiGraphics.renderTooltip(Font p_282308_, ItemStack p_282781_, int p_282687_, int p_282292_) 
- 
Uses of ItemStack in net.minecraft.client.gui.screensMethods in net.minecraft.client.gui.screens that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackCreateFlatWorldScreen.DetailsList.Entry.getDisplayItem(BlockState p_169294_) Methods in net.minecraft.client.gui.screens with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidCreateFlatWorldScreen.DetailsList.Entry.blitSlot(GuiGraphics p_281733_, int p_282373_, int p_282844_, ItemStack p_281263_) Screen.getTooltipFromItem(Minecraft p_281881_, ItemStack p_282833_) 
- 
Uses of ItemStack in net.minecraft.client.gui.screens.advancementsFields in net.minecraft.client.gui.screens.advancements declared as ItemStackMethods in net.minecraft.client.gui.screens.advancements with parameters of type ItemStackModifier and TypeMethodDescriptionvoidAdvancementTabType.drawIcon(GuiGraphics p_281370_, int p_283209_, int p_282807_, int p_282968_, ItemStack p_283383_) 
- 
Uses of ItemStack in net.minecraft.client.gui.screens.debugFields in net.minecraft.client.gui.screens.debug declared as ItemStackModifier and TypeFieldDescription(package private) final ItemStackGameModeSwitcherScreen.GameModeIcon.renderStackConstructors in net.minecraft.client.gui.screens.debug with parameters of type ItemStackModifierConstructorDescriptionprivateGameModeIcon(Component p_97594_, String p_97595_, ItemStack p_97596_) 
- 
Uses of ItemStack in net.minecraft.client.gui.screens.inventoryFields in net.minecraft.client.gui.screens.inventory declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackLoomScreen.bannerStackprivate final ItemStackBookEditScreen.bookprivate ItemStackAbstractContainerScreen.draggingItemprivate ItemStackLoomScreen.dyeStackprivate ItemStackEnchantmentScreen.lastprivate ItemStackAbstractContainerScreen.lastQuickMovedprivate ItemStackLoomScreen.patternStackprivate ItemStackAbstractContainerScreen.snapbackItemFields in net.minecraft.client.gui.screens.inventory with type parameters of type ItemStackModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>CreativeModeInventoryScreen.ItemPickerMenu.itemsMethods in net.minecraft.client.gui.screens.inventory that return ItemStackModifier and TypeMethodDescriptionCreativeModeInventoryScreen.ItemPickerMenu.getCarried()CreativeModeInventoryScreen.SlotWrapper.getItem()CreativeModeInventoryScreen.ItemPickerMenu.quickMoveStack(Player p_98650_, int p_98651_) CreativeModeInventoryScreen.SlotWrapper.remove(int p_98663_) Methods in net.minecraft.client.gui.screens.inventory with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanCreativeModeInventoryScreen.ItemPickerMenu.canTakeItemForPickAll(ItemStack p_98647_, Slot p_98648_) static BookViewScreen.BookAccessintCreativeModeInventoryScreen.SlotWrapper.getMaxStackSize(ItemStack p_98675_) AbstractContainerScreen.getTooltipFromContainerItem(ItemStack p_283689_) CreativeModeInventoryScreen.getTooltipFromContainerItem(ItemStack p_281769_) booleanvoidprivate voidMerchantScreen.renderAndDecorateCostA(GuiGraphics p_281357_, ItemStack p_283466_, ItemStack p_282046_, int p_282403_, int p_283601_) private voidAbstractContainerScreen.renderFloatingItem(GuiGraphics p_282567_, ItemStack p_281330_, int p_281772_, int p_281689_, String p_282568_) voidvoidCreativeModeInventoryScreen.SlotWrapper.setByPlayer(ItemStack p_271008_, ItemStack p_299868_) voidCreativeModeInventoryScreen.ItemPickerMenu.setCarried(ItemStack p_169751_) voidAnvilScreen.slotChanged(AbstractContainerMenu p_97882_, int p_97883_, ItemStack p_97884_) voidCreativeInventoryListener.slotChanged(AbstractContainerMenu p_98498_, int p_98499_, ItemStack p_98500_) voidItemCombinerScreen.slotChanged(AbstractContainerMenu p_98910_, int p_98911_, ItemStack p_98912_) voidSmithingScreen.slotChanged(AbstractContainerMenu p_267217_, int p_266842_, ItemStack p_267208_) private voidSmithingScreen.updateArmorStandPreview(ItemStack p_268225_) Method parameters in net.minecraft.client.gui.screens.inventory with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate voidCreativeModeInventoryScreen.refreshCurrentTabContents(Collection<ItemStack> p_261591_) Constructors in net.minecraft.client.gui.screens.inventory with parameters of type ItemStackModifierConstructorDescriptionBookEditScreen(Player p_98076_, ItemStack p_98077_, InteractionHand p_98078_) WritableBookAccess(ItemStack p_98314_) WrittenBookAccess(ItemStack p_98322_) 
- 
Uses of ItemStack in net.minecraft.client.gui.screens.inventory.tooltipFields in net.minecraft.client.gui.screens.inventory.tooltip with type parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.client.gui.screens.recipebookFields in net.minecraft.client.gui.screens.recipebook declared as ItemStackModifier and TypeFieldDescriptionfinal ItemStack[]OverlayRecipeComponent.OverlayRecipeButton.Pos.ingredientsMethods in net.minecraft.client.gui.screens.recipebook that return ItemStackConstructors in net.minecraft.client.gui.screens.recipebook with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.client.modelMethods in net.minecraft.client.model with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidVexModel.setArmsCharging(ItemStack p_265484_, ItemStack p_265329_, float p_265125_) 
- 
Uses of ItemStack in net.minecraft.client.multiplayerFields in net.minecraft.client.multiplayer declared as ItemStackMethods in net.minecraft.client.multiplayer that return ItemStackMethods in net.minecraft.client.multiplayer with parameters of type ItemStackModifier and TypeMethodDescriptionvoidMultiPlayerGameMode.handleCreativeModeItemAdd(ItemStack p_105242_, int p_105243_) voidMultiPlayerGameMode.handleCreativeModeItemDrop(ItemStack p_105240_) 
- 
Uses of ItemStack in net.minecraft.client.particleConstructors in net.minecraft.client.particle with parameters of type ItemStackModifierConstructorDescription(package private)BreakingItemParticle(ClientLevel p_105646_, double p_105647_, double p_105648_, double p_105649_, double p_105650_, double p_105651_, double p_105652_, ItemStack p_105653_) protectedBreakingItemParticle(ClientLevel p_105665_, double p_105666_, double p_105667_, double p_105668_, ItemStack p_105669_) 
- 
Uses of ItemStack in net.minecraft.client.playerMethods in net.minecraft.client.player with parameters of type ItemStackModifier and TypeMethodDescriptionvoidLocalPlayer.openItemGui(ItemStack p_108673_, InteractionHand p_108674_) voidLocalPlayer.updateTutorialInventoryAction(ItemStack p_172532_, ItemStack p_172533_, ClickAction p_172534_) 
- 
Uses of ItemStack in net.minecraft.client.player.inventoryFields in net.minecraft.client.player.inventory with type parameters of type ItemStackMethods in net.minecraft.client.player.inventory that return types with arguments of type ItemStack
- 
Uses of ItemStack in net.minecraft.client.rendererFields in net.minecraft.client.renderer declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackGameRenderer.itemActivationItemprivate ItemStackItemInHandRenderer.mainHandItemprivate ItemStackItemInHandRenderer.offHandItemMethods in net.minecraft.client.renderer with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidItemInHandRenderer.applyBrushTransform(PoseStack p_273513_, float p_273245_, HumanoidArm p_273726_, ItemStack p_272809_, float p_273333_) private voidItemInHandRenderer.applyEatTransform(PoseStack p_109331_, float p_109332_, HumanoidArm p_109333_, ItemStack p_109334_) voidGameRenderer.displayItemActivation(ItemStack p_109114_) ItemModelShaper.getItemModel(ItemStack p_109407_) static RenderTypeItemBlockRenderTypes.getRenderType(ItemStack p_109280_, boolean p_109281_) Deprecated.private static booleanItemInHandRenderer.isChargedCrossbow(ItemStack p_172913_) 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_) voidBlockEntityWithoutLevelRenderer.renderByItem(ItemStack p_108830_, ItemDisplayContext p_270899_, PoseStack p_108832_, MultiBufferSource p_108833_, int p_108834_, int p_108835_) voidItemInHandRenderer.renderItem(LivingEntity p_270072_, ItemStack p_270793_, ItemDisplayContext p_270837_, boolean p_270203_, PoseStack p_270974_, MultiBufferSource p_270686_, int p_270103_) private voidItemInHandRenderer.renderMap(PoseStack p_109367_, MultiBufferSource p_109368_, int p_109369_, ItemStack p_109370_) private voidItemInHandRenderer.renderOneHandedMap(PoseStack p_109354_, MultiBufferSource p_109355_, int p_109356_, float p_109357_, HumanoidArm p_109358_, float p_109359_, ItemStack p_109360_) 
- 
Uses of ItemStack in net.minecraft.client.renderer.block.modelMethods in net.minecraft.client.renderer.block.model with parameters of type ItemStackModifier and TypeMethodDescriptionItemOverrides.resolve(BakedModel p_173465_, ItemStack p_173466_, ClientLevel p_173467_, LivingEntity p_173468_, int p_173469_) 
- 
Uses of ItemStack in net.minecraft.client.renderer.entityMethods in net.minecraft.client.renderer.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate ModelResourceLocationItemFrameRenderer.getFrameModelResourceLoc(T p_174213_, ItemStack p_174214_) ItemRenderer.getModel(ItemStack p_174265_, Level p_174266_, LivingEntity p_174267_, int p_174268_) protected intItemEntityRenderer.getRenderAmount(ItemStack p_115043_) private static booleanItemRenderer.hasAnimatedTexture(ItemStack p_286353_) voidItemRenderer.render(ItemStack p_115144_, ItemDisplayContext p_270188_, boolean p_115146_, PoseStack p_115147_, MultiBufferSource p_115148_, int p_115149_, int p_115150_, BakedModel p_115151_) voidItemRenderer.renderModelLists(BakedModel p_115190_, ItemStack p_115191_, int p_115192_, int p_115193_, PoseStack p_115194_, VertexConsumer p_115195_) voidItemRenderer.renderQuadList(PoseStack p_115163_, VertexConsumer p_115164_, List<BakedQuad> p_115165_, ItemStack p_115166_, int p_115167_, int p_115168_) voidItemRenderer.renderStatic(LivingEntity p_270101_, ItemStack p_270637_, ItemDisplayContext p_270437_, boolean p_270434_, PoseStack p_270230_, MultiBufferSource p_270411_, Level p_270641_, int p_270595_, int p_270927_, int p_270845_) voidItemRenderer.renderStatic(ItemStack p_270761_, ItemDisplayContext p_270648_, int p_270410_, int p_270894_, PoseStack p_270430_, MultiBufferSource p_270457_, Level p_270149_, int p_270509_) 
- 
Uses of ItemStack in net.minecraft.client.renderer.entity.layersMethods in net.minecraft.client.renderer.entity.layers with parameters of type ItemStackModifier and TypeMethodDescriptionprotected ModelHumanoidArmorLayer.getArmorModelHook(T entity, ItemStack itemStack, EquipmentSlot slot, A model) Hook to allow item-sensitive armor model.HumanoidArmorLayer.getArmorResource(Entity entity, ItemStack stack, EquipmentSlot slot, String type) More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.ElytraLayer.getElytraTexture(ItemStack stack, T entity) Gets the texture to use with this ElytraLayer.protected voidItemInHandLayer.renderArmWithItem(LivingEntity p_117185_, ItemStack p_117186_, ItemDisplayContext p_270970_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_) protected voidPlayerItemInHandLayer.renderArmWithItem(LivingEntity p_270884_, ItemStack p_270379_, ItemDisplayContext p_270607_, HumanoidArm p_270324_, PoseStack p_270124_, MultiBufferSource p_270414_, int p_270295_) private voidPlayerItemInHandLayer.renderArmWithSpyglass(LivingEntity p_174518_, ItemStack p_174519_, HumanoidArm p_174520_, PoseStack p_174521_, MultiBufferSource p_174522_, int p_174523_) booleanElytraLayer.shouldRender(ItemStack stack, T entity) Determines if the ElytraLayer should render.
- 
Uses of ItemStack in net.minecraft.client.renderer.itemMethods in net.minecraft.client.renderer.item with parameters of type ItemStackModifier and TypeMethodDescriptiondefault floatClampedItemPropertyFunction.call(ItemStack p_174560_, ClientLevel p_174561_, LivingEntity p_174562_, int p_174563_) Deprecated.floatItemPropertyFunction.call(ItemStack p_174676_, ClientLevel p_174677_, LivingEntity p_174678_, int p_174679_) Deprecated.private floatCompassItemPropertyFunction.getCompassRotation(ItemStack p_234955_, ClientLevel p_234956_, int p_234957_, Entity p_234958_) CompassItemPropertyFunction.CompassTarget.getPos(ClientLevel p_234965_, ItemStack p_234966_, Entity p_234967_) floatClampedItemPropertyFunction.unclampedCall(ItemStack p_174564_, ClientLevel p_174565_, LivingEntity p_174566_, int p_174567_) floatCompassItemPropertyFunction.unclampedCall(ItemStack p_234960_, ClientLevel p_234961_, LivingEntity p_234962_, int p_234963_) 
- 
Uses of ItemStack in net.minecraft.client.resources.modelMethods in net.minecraft.client.resources.model with parameters of type ItemStackModifier and TypeMethodDescriptionSimpleBakedModel.getRenderTypes(ItemStack itemStack, boolean fabulous) 
- 
Uses of ItemStack in net.minecraft.client.searchtreeFields in net.minecraft.client.searchtree with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final SearchRegistry.Key<ItemStack>SearchRegistry.CREATIVE_NAMESstatic final SearchRegistry.Key<ItemStack>SearchRegistry.CREATIVE_TAGS
- 
Uses of ItemStack in net.minecraft.client.tutorialMethods in net.minecraft.client.tutorial with parameters of type ItemStackModifier and TypeMethodDescriptionvoidvoidvoidvoiddefault voidvoidBundleTutorial.onInventoryAction(ItemStack p_175007_, ItemStack p_175008_, ClickAction p_175009_) voidTutorial.onInventoryAction(ItemStack p_175025_, ItemStack p_175026_, ClickAction p_175027_) 
- 
Uses of ItemStack in net.minecraft.commands.arguments.itemMethods in net.minecraft.commands.arguments.item that return ItemStackMethods in net.minecraft.commands.arguments.item that return types with arguments of type ItemStackModifier and TypeMethodDescriptionItemPredicateArgument.getItemPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_121041_, String p_121042_) Methods in net.minecraft.commands.arguments.item with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.core.cauldronMethods in net.minecraft.core.cauldron with parameters of type ItemStackModifier 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 ItemStack in net.minecraft.core.dispenserMethods in net.minecraft.core.dispenser that return ItemStackModifier and TypeMethodDescriptionfinal ItemStackDefaultDispenseItemBehavior.dispense(BlockSource p_302432_, ItemStack p_123392_) DispenseItemBehavior.dispense(BlockSource p_302445_, ItemStack p_123404_) AbstractProjectileDispenseBehavior.execute(BlockSource p_302427_, ItemStack p_123367_) BoatDispenseItemBehavior.execute(BlockSource p_302460_, ItemStack p_123376_) protected ItemStackDefaultDispenseItemBehavior.execute(BlockSource p_302420_, ItemStack p_123386_) protected ItemStackShearsDispenseItemBehavior.execute(BlockSource p_302443_, ItemStack p_123581_) protected ItemStackShulkerBoxDispenseBehavior.execute(BlockSource p_302426_, ItemStack p_123588_) Methods in net.minecraft.core.dispenser with parameters of type ItemStackModifier and TypeMethodDescriptionfinal ItemStackDefaultDispenseItemBehavior.dispense(BlockSource p_302432_, ItemStack p_123392_) DispenseItemBehavior.dispense(BlockSource p_302445_, ItemStack p_123404_) AbstractProjectileDispenseBehavior.execute(BlockSource p_302427_, ItemStack p_123367_) BoatDispenseItemBehavior.execute(BlockSource p_302460_, ItemStack p_123376_) protected ItemStackDefaultDispenseItemBehavior.execute(BlockSource p_302420_, ItemStack p_123386_) protected ItemStackShearsDispenseItemBehavior.execute(BlockSource p_302443_, ItemStack p_123581_) protected ItemStackShulkerBoxDispenseBehavior.execute(BlockSource p_302426_, ItemStack p_123588_) protected abstract ProjectileAbstractProjectileDispenseBehavior.getProjectile(Level p_123360_, Position p_123361_, ItemStack p_123362_) static voidDefaultDispenseItemBehavior.spawnItem(Level p_123379_, ItemStack p_123380_, int p_123381_, Direction p_123382_, Position p_123383_) 
- 
Uses of ItemStack in net.minecraft.core.particlesFields in net.minecraft.core.particles declared as ItemStackMethods in net.minecraft.core.particles that return ItemStackConstructors in net.minecraft.core.particles with parameters of type ItemStackModifierConstructorDescriptionItemParticleOption(ParticleType<ItemParticleOption> p_123705_, ItemStack p_123706_) 
- 
Uses of ItemStack in net.minecraft.data.recipesFields in net.minecraft.data.recipes declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackShapedRecipeBuilder.resultStackprivate final ItemStackShapelessRecipeBuilder.resultStackprivate final ItemStackSimpleCookingRecipeBuilder.stackResultMethods in net.minecraft.data.recipes with parameters of type ItemStackModifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient p_252115_, RecipeCategory p_249421_, ItemStack result, float p_250383_, int p_250476_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient p_249393_, RecipeCategory p_249372_, ItemStack result, float p_252321_, int p_251916_) static <T extends AbstractCookingRecipe>
 SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient p_250999_, RecipeCategory p_248815_, ItemStack result, float p_251320_, int p_248693_, RecipeSerializer<T> p_250921_, AbstractCookingRecipe.Factory<T> p_312657_) static ShapedRecipeBuilderShapedRecipeBuilder.shaped(RecipeCategory p_251325_, ItemStack result) static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(RecipeCategory p_252339_, ItemStack result) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient p_249223_, RecipeCategory p_251240_, ItemStack result, float p_249452_, int p_250496_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient p_248930_, RecipeCategory p_250319_, ItemStack result, float p_252329_, int p_250482_) Constructors in net.minecraft.data.recipes with parameters of type ItemStackModifierConstructorDescriptionShapedRecipeBuilder(RecipeCategory p_249996_, ItemStack result) ShapelessRecipeBuilder(RecipeCategory p_250837_, ItemStack result) privateSimpleCookingRecipeBuilder(RecipeCategory p_251345_, CookingBookCategory p_251607_, ItemStack result, Ingredient p_250362_, float p_251204_, int p_250189_, AbstractCookingRecipe.Factory<?> p_311960_) 
- 
Uses of ItemStack in net.minecraft.gametest.frameworkMethods in net.minecraft.gametest.framework that return ItemStackModifier and TypeMethodDescriptionprivate static ItemStackReportGameListener.createBook(String p_177711_, boolean p_177712_, String p_177713_) Methods in net.minecraft.gametest.framework with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.networkMethods in net.minecraft.network that return ItemStackMethods in net.minecraft.network with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.network.chatFields in net.minecraft.network.chat declared as ItemStackMethods in net.minecraft.network.chat that return ItemStackConstructors in net.minecraft.network.chat with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.network.protocol.gameFields in net.minecraft.network.protocol.game declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackClientboundContainerSetContentPacket.carriedItemprivate final ItemStackServerboundContainerClickPacket.carriedItemprivate final ItemStackClientboundContainerSetSlotPacket.itemStackprivate final ItemStackServerboundSetCreativeModeSlotPacket.itemStackFields in net.minecraft.network.protocol.game with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>ServerboundContainerClickPacket.changedSlotsClientboundContainerSetContentPacket.itemsprivate final List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> ClientboundSetEquipmentPacket.slotsMethods in net.minecraft.network.protocol.game that return ItemStackModifier and TypeMethodDescriptionClientboundContainerSetContentPacket.getCarriedItem()ServerboundContainerClickPacket.getCarriedItem()ClientboundContainerSetSlotPacket.getItem()ServerboundSetCreativeModeSlotPacket.getItem()Methods in net.minecraft.network.protocol.game that return types with arguments of type ItemStackModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>ServerboundContainerClickPacket.getChangedSlots()ClientboundContainerSetContentPacket.getItems()List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> ClientboundSetEquipmentPacket.getSlots()Constructors in net.minecraft.network.protocol.game with parameters of type ItemStackModifierConstructorDescriptionClientboundContainerSetContentPacket(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_) ClientboundContainerSetSlotPacket(int p_131982_, int p_182713_, int p_131983_, ItemStack p_131984_) ServerboundContainerClickPacket(int p_182734_, int p_182735_, int p_182736_, int p_182737_, ClickType p_182738_, ItemStack p_182739_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> p_182740_) ServerboundSetCreativeModeSlotPacket(int p_134553_, ItemStack p_134554_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ItemStackModifierConstructorDescriptionClientboundContainerSetContentPacket(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_) ClientboundSetEquipmentPacket(int p_133202_, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> p_133203_) ServerboundContainerClickPacket(int p_182734_, int p_182735_, int p_182736_, int p_182737_, ClickType p_182738_, ItemStack p_182739_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> p_182740_) 
- 
Uses of ItemStack in net.minecraft.network.syncherFields in net.minecraft.network.syncher with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final EntityDataSerializer<ItemStack>EntityDataSerializers.ITEM_STACK
- 
Uses of ItemStack in net.minecraft.recipebookMethods in net.minecraft.recipebook with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidServerPlaceRecipe.moveItemToGrid(Slot p_135439_, ItemStack p_135440_) 
- 
Uses of ItemStack in net.minecraft.server.commandsMethods in net.minecraft.server.commands that return ItemStackModifier and TypeMethodDescriptionprivate static ItemStackItemCommands.applyModifier(CommandSourceStack p_180284_, LootItemFunction p_180285_, ItemStack p_180286_) private static ItemStackItemCommands.getBlockItem(CommandSourceStack p_180288_, BlockPos p_180289_, int p_180290_) private static ItemStackItemCommands.getEntityItem(Entity p_180246_, int p_180247_) private static ItemStackLootCommand.getSourceHandItem(CommandSourceStack p_137939_, EquipmentSlot p_137940_) Methods in net.minecraft.server.commands with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static ItemStackItemCommands.applyModifier(CommandSourceStack p_180284_, LootItemFunction p_180285_, ItemStack p_180286_) private static booleanLootCommand.canMergeItems(ItemStack p_137895_, ItemStack p_137896_) private static booleanLootCommand.distributeToContainer(Container p_137886_, ItemStack p_137887_) private static intLootCommand.dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137913_, BlockPos p_137914_, ItemStack p_137915_, LootCommand.DropConsumer p_137916_) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, ResourceLocation p_137928_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) private static intItemCommands.setBlockItem(CommandSourceStack p_180292_, BlockPos p_180293_, int p_180294_, ItemStack p_180295_) private static intItemCommands.setEntityItem(CommandSourceStack p_180332_, Collection<? extends Entity> p_180333_, int p_180334_, ItemStack p_180335_) Method parameters in net.minecraft.server.commands with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidintLootCommand.DropConsumer.accept(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_138050_, List<ItemStack> p_138051_, LootCommand.Callback p_138052_) private static intLootCommand.blockDistribute(CommandSourceStack p_137961_, BlockPos p_137962_, List<ItemStack> p_137963_, LootCommand.Callback p_137964_) private static intLootCommand.blockReplace(CommandSourceStack p_137954_, BlockPos p_137955_, int p_137956_, int p_137957_, List<ItemStack> p_137958_, LootCommand.Callback p_137959_) private static voidLootCommand.callback(CommandSourceStack p_137966_, List<ItemStack> p_137967_) private static voidLootCommand.callback(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceLocation p_137971_) private static intClearInventoryCommands.clearInventory(CommandSourceStack p_136706_, Collection<ServerPlayer> p_136707_, Predicate<ItemStack> p_136708_, int p_136709_) private static intLootCommand.dropInWorld(CommandSourceStack p_137946_, Vec3 p_137947_, List<ItemStack> p_137948_, LootCommand.Callback p_137949_) private static intLootCommand.entityReplace(Collection<? extends Entity> p_137979_, int p_137980_, int p_137981_, List<ItemStack> p_137982_, LootCommand.Callback p_137983_) private static intLootCommand.playerGive(Collection<ServerPlayer> p_137985_, List<ItemStack> p_137986_, LootCommand.Callback p_137987_) private static voidLootCommand.setSlots(Entity p_137889_, List<ItemStack> p_137890_, int p_137891_, int p_137892_, List<ItemStack> p_137893_) 
- 
Uses of ItemStack in net.minecraft.server.levelMethods in net.minecraft.server.level with parameters of type ItemStackModifier and TypeMethodDescriptionvoidServerPlayer.onEnchantmentPerformed(ItemStack p_9079_, int p_9080_) voidServerPlayer.openItemGui(ItemStack p_9082_, InteractionHand p_9083_) protected voidServerPlayer.updateUsingItem(ItemStack p_143402_) 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_) Method parameters in net.minecraft.server.level with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidServerPlayer.triggerRecipeCrafted(RecipeHolder<?> p_301156_, List<ItemStack> p_282336_) 
- 
Uses of ItemStack in net.minecraft.server.networkMethods in net.minecraft.server.network with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidServerGamePacketListenerImpl.updateBookPages(List<FilteredText> p_143635_, UnaryOperator<String> p_143636_, ItemStack p_143637_) private static booleanServerGamePacketListenerImpl.wasBlockPlacementAttempt(ServerPlayer p_9791_, ItemStack p_9792_) 
- 
Uses of ItemStack in net.minecraft.worldFields in net.minecraft.world with type parameters of type ItemStackMethods in net.minecraft.world that return ItemStackModifier and TypeMethodDescriptionCompoundContainer.getItem(int p_18920_) Container.getItem(int p_18941_) SimpleContainer.getItem(int p_19157_) CompoundContainer.removeItem(int p_18922_, int p_18923_) Container.removeItem(int p_18942_, int p_18943_) static ItemStackContainerHelper.removeItem(List<ItemStack> p_18970_, int p_18971_, int p_18972_) SimpleContainer.removeItem(int p_19159_, int p_19160_) CompoundContainer.removeItemNoUpdate(int p_18932_) Container.removeItemNoUpdate(int p_18951_) SimpleContainer.removeItemNoUpdate(int p_19180_) SimpleContainer.removeItemType(Item p_19171_, int p_19172_) static ItemStackMethods in net.minecraft.world that return types with arguments of type ItemStackMethods in net.minecraft.world with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanSimpleContainer.canAddItem(ItemStack p_19184_) booleanCompoundContainer.canPlaceItem(int p_18934_, ItemStack p_18935_) default booleanContainer.canPlaceItem(int p_18952_, ItemStack p_18953_) booleanWorldlyContainer.canPlaceItemThroughFace(int p_19235_, ItemStack p_19236_, Direction p_19237_) default booleanContainer.canTakeItem(Container p_273520_, int p_272681_, ItemStack p_273702_) booleanWorldlyContainer.canTakeItemThroughFace(int p_19239_, ItemStack p_19240_, Direction p_19241_) static intContainerHelper.clearOrCountMatchingItems(ItemStack p_18962_, Predicate<ItemStack> p_18963_, int p_18964_, boolean p_18965_) static voidContainers.dropItemStack(Level p_18993_, double p_18994_, double p_18995_, double p_18996_, ItemStack p_18997_) private voidSimpleContainer.moveItemsBetweenStacks(ItemStack p_19186_, ItemStack p_19187_) private voidSimpleContainer.moveItemToEmptySlots(ItemStack p_19190_) private voidSimpleContainer.moveItemToOccupiedSlotsWithSameType(ItemStack p_19192_) voidvoidvoidbooleanLockCode.unlocksWith(ItemStack p_19108_) Method parameters in net.minecraft.world with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic intContainerHelper.clearOrCountMatchingItems(Container p_18957_, Predicate<ItemStack> p_18958_, int p_18959_, boolean p_18960_) static intContainerHelper.clearOrCountMatchingItems(ItemStack p_18962_, Predicate<ItemStack> p_18963_, int p_18964_, boolean p_18965_) static voidContainers.dropContents(Level p_19011_, BlockPos p_19012_, NonNullList<ItemStack> p_19013_) default booleanContainer.hasAnyMatching(Predicate<ItemStack> p_216875_) static voidContainerHelper.loadAllItems(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_) static ItemStackContainerHelper.removeItem(List<ItemStack> p_18970_, int p_18971_, int p_18972_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_) static ItemStackConstructors in net.minecraft.world with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.entityFields in net.minecraft.world.entity declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackDisplay.ItemDisplay.ItemRenderState.itemStackThe field for theitemStackrecord component.private final ItemStackEntitySelector.MobCanWearArmorEntitySelector.itemStackprotected ItemStackLivingEntity.useItemFields in net.minecraft.world.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>Mob.armorItemsprivate static final EntityDataAccessor<ItemStack>Display.ItemDisplay.DATA_ITEM_STACK_IDEntity.EMPTY_LISTprivate final NonNullList<ItemStack>Mob.handItemsprivate final NonNullList<ItemStack>LivingEntity.lastArmorItemStacksprivate final NonNullList<ItemStack>LivingEntity.lastHandItemStacksMethods in net.minecraft.world.entity that return ItemStackModifier and TypeMethodDescriptionMob.equipItemIfPossible(ItemStack p_255842_) SlotAccess.get()abstract ItemStackLivingEntity.getItemBySlot(EquipmentSlot p_21127_) Mob.getItemBySlot(EquipmentSlot p_21467_) LivingEntity.getItemInHand(InteractionHand p_21121_) (package private) ItemStackDisplay.ItemDisplay.getItemStack()private ItemStackLivingEntity.getLastArmorItem(EquipmentSlot p_21199_) private ItemStackLivingEntity.getLastHandItem(EquipmentSlot p_21245_) LivingEntity.getMainHandItem()LivingEntity.getOffhandItem()Entity.getPickResult()Mob.getPickResult()LivingEntity.getProjectile(ItemStack p_21272_) LivingEntity.getUseItem()Display.ItemDisplay.ItemRenderState.itemStack()Returns the value of theitemStackrecord component.Methods in net.minecraft.world.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprivate Map<EquipmentSlot,ItemStack> LivingEntity.collectEquipmentChanges()Entity.getAllSlots()Entity.getArmorSlots()LivingEntity.getArmorSlots()Mob.getArmorSlots()Entity.getHandSlots()Mob.getHandSlots()Methods in net.minecraft.world.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidLivingEntity.addEatEffect(ItemStack p_21064_, Level p_21065_, LivingEntity p_21066_) EntityType.appendCustomEntityStackConfig(Consumer<T> p_263579_, ServerLevel p_263571_, ItemStack p_263582_, Player p_263574_) EntityType.appendCustomNameConfig(Consumer<T> p_263567_, ItemStack p_263564_) EntityType.appendDefaultStackConfig(Consumer<T> p_265154_, ServerLevel p_265733_, ItemStack p_265598_, Player p_265666_) private voidbooleanMob.canHoldItem(ItemStack p_21545_) protected booleanMob.canReplaceCurrentItem(ItemStack p_21428_, ItemStack p_21429_) booleanMob.canReplaceEqualItem(ItemStack p_21478_, ItemStack p_21479_) booleanLivingEntity.canTakeItem(ItemStack p_21249_) booleanMob.canTakeItem(ItemStack p_21522_) EntityType.createDefaultStackConfig(ServerLevel p_263583_, ItemStack p_263568_, Player p_263575_) Mob.equipItemIfPossible(ItemStack p_255842_) booleanLivingEntity.equipmentHasChanged(ItemStack p_252265_, ItemStack p_251043_) protected SoundEventLivingEntity.getDrinkingSound(ItemStack p_21174_) LivingEntity.getEatingSound(ItemStack p_21202_) static EquipmentSlotLivingEntity.getEquipmentSlotForItem(ItemStack p_147234_) LivingEntity.getProjectile(ItemStack p_21272_) private voidMob.maybeDisableShield(Player p_21425_, ItemStack p_21426_, ItemStack p_21427_) voidLivingEntity.onEquipItem(EquipmentSlot p_238393_, ItemStack p_238394_, ItemStack p_238395_) booleanvoidLivingEntity.setItemInHand(InteractionHand p_21009_, ItemStack p_21010_) voidEntity.setItemSlot(EquipmentSlot p_19968_, ItemStack p_19969_) abstract voidLivingEntity.setItemSlot(EquipmentSlot p_21036_, ItemStack p_21037_) voidMob.setItemSlot(EquipmentSlot p_21416_, ItemStack p_21417_) protected voidMob.setItemSlotAndDropWhenKilled(EquipmentSlot p_21469_, ItemStack p_21470_) (package private) voidDisplay.ItemDisplay.setItemStack(ItemStack p_270310_) private voidLivingEntity.setLastArmorItem(EquipmentSlot p_21129_, ItemStack p_21130_) private voidLivingEntity.setLastHandItem(EquipmentSlot p_21169_, ItemStack p_21170_) EntityType.spawn(ServerLevel p_20593_, ItemStack p_20594_, Player p_20595_, BlockPos p_20596_, MobSpawnType p_20597_, boolean p_20598_, boolean p_20599_) Entity.spawnAtLocation(ItemStack p_19984_) Entity.spawnAtLocation(ItemStack p_19985_, float p_19986_) private voidLivingEntity.spawnItemParticles(ItemStack p_21061_, int p_21062_) protected voidLivingEntity.triggerItemUseEffects(ItemStack p_21138_, int p_21139_) protected voidLivingEntity.updateUsingItem(ItemStack p_147201_) protected voidLivingEntity.verifyEquippedItem(ItemStack p_181123_) booleanMob.wantsToPickUp(ItemStack p_21546_) Method parameters in net.minecraft.world.entity with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic SlotAccessSlotAccess.forContainer(Container p_147296_, int p_147297_, Predicate<ItemStack> p_147298_) static SlotAccessSlotAccess.forEquipmentSlot(LivingEntity p_147303_, EquipmentSlot p_147304_, Predicate<ItemStack> p_147305_) private voidLivingEntity.handleEquipmentChanges(Map<EquipmentSlot, ItemStack> p_21143_) private voidLivingEntity.handleHandSwap(Map<EquipmentSlot, ItemStack> p_21092_) booleanConstructors in net.minecraft.world.entity with parameters of type ItemStackModifierConstructorDescriptionItemRenderState(ItemStack itemStack, ItemDisplayContext itemTransform) Creates an instance of aItemRenderStaterecord class.MobCanWearArmorEntitySelector(ItemStack p_20445_) 
- 
Uses of ItemStack in net.minecraft.world.entity.ai.behaviorFields in net.minecraft.world.entity.ai.behavior declared as ItemStackFields in net.minecraft.world.entity.ai.behavior with type parameters of type ItemStackMethods in net.minecraft.world.entity.ai.behavior that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackCelebrateVillagersSurvivedRaid.getFirework(DyeColor p_22697_, int p_22698_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type ItemStackMethods in net.minecraft.world.entity.ai.behavior with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static voidShowTradesToPlayer.displayAsHeldItem(Villager p_182371_, ItemStack p_182372_) static voidBehaviorUtils.throwItem(LivingEntity p_22614_, ItemStack p_22615_, Vec3 p_22616_) static voidBehaviorUtils.throwItem(LivingEntity p_217134_, ItemStack p_217135_, Vec3 p_217136_, Vec3 p_217137_, float p_217138_) static voidGoAndGiveItemsToTarget.throwItem(LivingEntity p_217208_, ItemStack p_217209_, Vec3 p_217210_) private voidGoAndGiveItemsToTarget.triggerDropItemOnBlock(PositionTracker p_217214_, ItemStack p_217215_, ServerPlayer p_217216_) 
- 
Uses of ItemStack in net.minecraft.world.entity.ai.goalFields in net.minecraft.world.entity.ai.goal declared as ItemStackConstructors in net.minecraft.world.entity.ai.goal with parameters of type ItemStackModifierConstructorDescriptionUseItemGoal(T p_25972_, ItemStack p_25973_, SoundEvent p_25974_, Predicate<? super T> p_25975_) 
- 
Uses of ItemStack in net.minecraft.world.entity.ai.sensingMethods in net.minecraft.world.entity.ai.sensing with parameters of type ItemStackModifier and TypeMethodDescriptionprivate booleanTemptingSensor.isTemptation(ItemStack p_148339_) 
- 
Uses of ItemStack in net.minecraft.world.entity.animalMethods in net.minecraft.world.entity.animal that return ItemStackModifier and TypeMethodDescriptionBucketable.getBucketItemStack()Cod.getBucketItemStack()Pufferfish.getBucketItemStack()Salmon.getBucketItemStack()TropicalFish.getBucketItemStack()Methods in net.minecraft.world.entity.animal with parameters of type ItemStackModifier and TypeMethodDescriptionprivate booleanbooleanFox.canHoldItem(ItemStack p_28578_) booleanDolphin.canTakeItem(ItemStack p_28376_) booleanFox.canTakeItem(ItemStack p_28552_) booleanPanda.canTakeItem(ItemStack p_29146_) private voidprivate voidFox.dropItemStack(ItemStack p_28606_) Fox.getEatingSound(ItemStack p_28540_) private Optional<List<SuspiciousEffectHolder.EffectEntry>>MushroomCow.getEffectsFromItemStack(ItemStack p_298333_) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprivate booleanPanda.isFoodOrCake(ItemStack p_29196_) private static booleanRabbit.isTemptingItem(ItemStack p_149038_) static voidBucketable.saveDefaultDataToBucketTag(Mob p_148823_, ItemStack p_148824_) Deprecated.voidAbstractFish.saveToBucketTag(ItemStack p_27494_) voidBucketable.saveToBucketTag(ItemStack p_148833_) voidTropicalFish.saveToBucketTag(ItemStack p_30049_) private voidFox.spitOutItem(ItemStack p_28602_) 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 ItemStack in net.minecraft.world.entity.animal.allayMethods in net.minecraft.world.entity.animal.allay with parameters of type ItemStackModifier and TypeMethodDescriptionprivate booleanAllay.allayConsidersItemEqual(ItemStack p_252278_, ItemStack p_250405_) booleanAllay.canTakeItem(ItemStack p_218380_) booleanAllay.equipmentHasChanged(ItemStack p_249825_, ItemStack p_251595_) private booleanAllay.hasNonMatchingPotion(ItemStack p_248762_, ItemStack p_250839_) private booleanAllay.isDuplicationItem(ItemStack p_239736_) private voidAllay.removeInteractionItem(Player p_239359_, ItemStack p_239360_) booleanAllay.wantsToPickUp(ItemStack p_218387_) 
- 
Uses of ItemStack in net.minecraft.world.entity.animal.axolotlMethods in net.minecraft.world.entity.animal.axolotl that return ItemStackMethods in net.minecraft.world.entity.animal.axolotl with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidAxolotl.saveToBucketTag(ItemStack p_149187_) protected voidAxolotl.usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) 
- 
Uses of ItemStack in net.minecraft.world.entity.animal.camelMethods in net.minecraft.world.entity.animal.camel with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanCamel.handleEating(Player p_249923_, ItemStack p_248995_) boolean
- 
Uses of ItemStack in net.minecraft.world.entity.animal.frogMethods in net.minecraft.world.entity.animal.frog that return ItemStackMethods in net.minecraft.world.entity.animal.frog with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidbooleanprivate booleanvoidTadpole.saveToBucketTag(ItemStack p_218725_) private voidTadpole.usePlayerItem(Player p_218706_, ItemStack p_218707_) 
- 
Uses of ItemStack in net.minecraft.world.entity.animal.goatMethods in net.minecraft.world.entity.animal.goat that return ItemStackMethods in net.minecraft.world.entity.animal.goat with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.animal.horseMethods in net.minecraft.world.entity.animal.horse that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackSkeletonTrapGoal.disenchant(ItemStack p_30935_) Horse.getArmor()Methods in net.minecraft.world.entity.animal.horse with parameters of type ItemStackModifier and TypeMethodDescriptionprivate ItemStackSkeletonTrapGoal.disenchant(ItemStack p_30935_) voidAbstractHorse.equipArmor(Player p_251330_, ItemStack p_248855_) private voidAbstractChestedHorse.equipChest(Player p_250937_, ItemStack p_251558_) private static DyeColorLlama.getDyeColor(ItemStack p_30836_) protected booleanAbstractHorse.handleEating(Player p_30593_, ItemStack p_30594_) protected booleanLlama.handleEating(Player p_30796_, ItemStack p_30797_) booleanbooleanbooleanbooleanbooleanprivate voidprivate voidHorse.setArmorEquipment(ItemStack p_30735_) Method parameters in net.minecraft.world.entity.animal.horse with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate SlotAccessAbstractHorse.createEquipmentSlotAccess(int p_149503_, Predicate<ItemStack> p_149504_) 
- 
Uses of ItemStack in net.minecraft.world.entity.animal.snifferMethods in net.minecraft.world.entity.animal.sniffer with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.bossMethods in net.minecraft.world.entity.boss that return ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.boss.enderdragonMethods in net.minecraft.world.entity.boss.enderdragon that return ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.decorationFields in net.minecraft.world.entity.decoration with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>ArmorStand.armorItemsprivate static final EntityDataAccessor<ItemStack>ItemFrame.DATA_ITEMprivate final NonNullList<ItemStack>ArmorStand.handItemsMethods in net.minecraft.world.entity.decoration that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackGlowItemFrame.getFrameItemStack()protected ItemStackItemFrame.getFrameItemStack()ItemFrame.getItem()ArmorStand.getItemBySlot(EquipmentSlot p_31612_) ArmorStand.getPickResult()ItemFrame.getPickResult()LeashFenceKnotEntity.getPickResult()Painting.getPickResult()Methods in net.minecraft.world.entity.decoration that return types with arguments of type ItemStackMethods in net.minecraft.world.entity.decoration with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanArmorStand.canTakeItem(ItemStack p_31638_) private voidItemFrame.onItemChanged(ItemStack p_218866_) private voidItemFrame.removeFramedMap(ItemStack p_31811_) voidvoidvoidArmorStand.setItemSlot(EquipmentSlot p_31584_, ItemStack p_31585_) HangingEntity.spawnAtLocation(ItemStack p_31722_, float p_31723_) private booleanArmorStand.swapItem(Player p_31589_, EquipmentSlot p_31590_, ItemStack p_31591_, InteractionHand p_31592_) 
- 
Uses of ItemStack in net.minecraft.world.entity.itemFields in net.minecraft.world.entity.item with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<ItemStack>ItemEntity.DATA_ITEMMethods in net.minecraft.world.entity.item that return ItemStackMethods in net.minecraft.world.entity.item with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanItemEntity.areMergable(ItemStack p_32027_, ItemStack p_32028_) private static voidItemEntity.merge(ItemEntity p_32018_, ItemStack p_32019_, ItemEntity p_32020_, ItemStack p_32021_) private static voidItemEntity.merge(ItemEntity p_32023_, ItemStack p_32024_, ItemStack p_32025_) static ItemStackvoidConstructors in net.minecraft.world.entity.item with parameters of type ItemStackModifierConstructorDescriptionItemEntity(Level p_32001_, double p_32002_, double p_32003_, double p_32004_, ItemStack p_32005_) ItemEntity(Level p_149663_, double p_149664_, double p_149665_, double p_149666_, ItemStack p_149667_, double p_149668_, double p_149669_, double p_149670_) 
- 
Uses of ItemStack in net.minecraft.world.entity.monsterMethods in net.minecraft.world.entity.monster that return ItemStackModifier and TypeMethodDescriptionMonster.getProjectile(ItemStack p_33038_) protected ItemStackDrowned.getSkull()protected ItemStackHusk.getSkull()protected ItemStackZombie.getSkull()protected ItemStackZombieVillager.getSkull()protected ItemStackZombifiedPiglin.getSkull()Methods in net.minecraft.world.entity.monster with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanZombie.canHoldItem(ItemStack p_34332_) protected booleanDrowned.canReplaceCurrentItem(ItemStack p_32364_, ItemStack p_32365_) protected AbstractArrowprotected AbstractArrowprotected AbstractArrowMonster.getProjectile(ItemStack p_33038_) booleanvoidAbstractSkeleton.setItemSlot(EquipmentSlot p_32138_, ItemStack p_32139_) voidCrossbowAttackMob.shootCrossbowProjectile(LivingEntity p_32328_, ItemStack p_32329_, Projectile p_32330_, float p_32331_) voidPillager.shootCrossbowProjectile(LivingEntity p_33275_, ItemStack p_33276_, Projectile p_33277_, float p_33278_) private booleanbooleanZombie.wantsToPickUp(ItemStack p_182400_) booleanZombifiedPiglin.wantsToPickUp(ItemStack p_182402_) 
- 
Uses of ItemStack in net.minecraft.world.entity.monster.hoglinMethods in net.minecraft.world.entity.monster.hoglin with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.monster.piglinMethods in net.minecraft.world.entity.monster.piglin that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackPiglin.addToInventory(ItemStack p_34779_) private ItemStackPiglin.createSpawnWeapon()private static ItemStackPiglinAi.removeOneItemFromItemEntity(ItemEntity p_34823_) Methods in net.minecraft.world.entity.monster.piglin that return types with arguments of type ItemStackMethods in net.minecraft.world.entity.monster.piglin with parameters of type ItemStackModifier and TypeMethodDescriptionprotected ItemStackPiglin.addToInventory(ItemStack p_34779_) protected booleanPiglin.canAddToInventory(ItemStack p_34781_) protected static booleanprotected booleanPiglin.canReplaceCurrentItem(ItemStack p_34788_) protected booleanPiglin.canReplaceCurrentItem(ItemStack p_34712_, ItemStack p_34713_) protected voidPiglin.holdInMainHand(ItemStack p_34784_) private static voidPiglinAi.holdInOffhand(Piglin p_34933_, ItemStack p_34934_) protected voidPiglin.holdInOffHand(ItemStack p_34786_) private static booleanPiglinAi.isBarterCurrency(ItemStack p_149968_) private static booleanprotected static booleanPiglinAi.isLovedItem(ItemStack p_149966_) private voidPiglin.maybeWearArmor(EquipmentSlot p_219192_, ItemStack p_219193_, RandomSource p_219194_) private static voidPiglinAi.putInInventory(Piglin p_34953_, ItemStack p_34954_) voidPiglin.shootCrossbowProjectile(LivingEntity p_34707_, ItemStack p_34708_, Projectile p_34709_, float p_34710_) protected static booleanPiglinAi.wantsToPickup(Piglin p_34858_, ItemStack p_34859_) booleanPiglin.wantsToPickUp(ItemStack p_34777_) booleanPiglinBrute.wantsToPickUp(ItemStack p_35078_) Method parameters in net.minecraft.world.entity.monster.piglin with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate static voidPiglinAi.throwItems(Piglin p_34861_, List<ItemStack> p_34862_) private static voidPiglinAi.throwItemsTowardPlayer(Piglin p_34851_, Player p_34852_, List<ItemStack> p_34853_) private static voidPiglinAi.throwItemsTowardPos(Piglin p_34864_, List<ItemStack> p_34865_, Vec3 p_34866_) private static voidPiglinAi.throwItemsTowardRandomPos(Piglin p_34913_, List<ItemStack> p_34914_) 
- 
Uses of ItemStack in net.minecraft.world.entity.npcFields in net.minecraft.world.entity.npc declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackVillagerTrades.ItemsAndEmeraldsToItems.fromItemprivate final ItemStackVillagerTrades.EmeraldForItems.itemStackprivate final ItemStackVillagerTrades.EnchantedItemForEmeralds.itemStackprivate final ItemStackVillagerTrades.ItemsForEmeralds.itemStackprivate final ItemStackVillagerTrades.ItemsAndEmeraldsToItems.toItemprivate final ItemStackVillagerTrades.TippedArrowForItemsAndEmeralds.toItemMethods in net.minecraft.world.entity.npc that return ItemStackModifier and TypeMethodDescriptionprivate static ItemStackVillagerTrades.enchant(Item p_301995_, Enchantment p_302009_, int p_302011_) private static ItemStackMethods in net.minecraft.world.entity.npc with parameters of type ItemStackModifier and TypeMethodDescriptionprotected SoundEventWanderingTrader.getDrinkingSound(ItemStack p_35865_) voidAbstractVillager.notifyTradeUpdated(ItemStack p_35316_) voidClientSideMerchant.notifyTradeUpdated(ItemStack p_35358_) booleanVillager.wantsToPickUp(ItemStack p_35543_) Constructors in net.minecraft.world.entity.npc with parameters of type ItemStackModifierConstructorDescriptionEmeraldForItems(ItemStack p_294237_, int p_294800_, int p_295111_, int p_294137_) ItemsAndEmeraldsToItems(ItemLike p_35725_, int p_35726_, int p_35728_, ItemStack p_302012_, int p_35729_, int p_35730_, int p_302002_, float p_302039_) ItemsForEmeralds(ItemStack p_35752_, int p_35753_, int p_35754_, int p_35755_, int p_35756_) ItemsForEmeralds(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_) 
- 
Uses of ItemStack in net.minecraft.world.entity.playerFields in net.minecraft.world.entity.player declared as ItemStackFields in net.minecraft.world.entity.player with type parameters of type ItemStackModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>Inventory.armorprivate final List<NonNullList<ItemStack>>Inventory.compartmentsfinal NonNullList<ItemStack>Inventory.itemsfinal NonNullList<ItemStack>Inventory.offhandMethods in net.minecraft.world.entity.player that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackStackedContents.fromStackingIndex(int p_36455_) Inventory.getArmor(int p_36053_) Inventory.getItem(int p_35991_) Player.getItemBySlot(EquipmentSlot p_36257_) Player.getProjectile(ItemStack p_36349_) Inventory.getSelected()Inventory.removeFromSelected(boolean p_182404_) Inventory.removeItem(int p_35993_, int p_35994_) Inventory.removeItemNoUpdate(int p_36029_) Methods in net.minecraft.world.entity.player that return types with arguments of type ItemStackMethods in net.minecraft.world.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionvoidStackedContents.accountSimpleStack(ItemStack p_36467_) voidStackedContents.accountStack(ItemStack p_36492_) voidStackedContents.accountStack(ItemStack p_36469_, int p_36470_) booleanbooleanbooleanprivate intInventory.addResource(int p_36048_, ItemStack p_36049_) private intInventory.addResource(ItemStack p_36067_) booleanPlayer.canTakeItem(ItemStack p_36315_) booleanintInventory.findSlotMatchingItem(ItemStack p_36031_) intInventory.findSlotMatchingUnusedItem(ItemStack p_36044_) Player.getProjectile(ItemStack p_36349_) intInventory.getSlotWithRemainingSpace(ItemStack p_36051_) static intStackedContents.getStackingIndex(ItemStack p_36497_) private booleanInventory.hasRemainingSpaceForItem(ItemStack p_36015_, ItemStack p_36016_) booleanPlayer.mayUseItemAt(BlockPos p_36205_, Direction p_36206_, ItemStack p_36207_) voidPlayer.onEnchantmentPerformed(ItemStack p_36172_, int p_36173_) voidPlayer.openItemGui(ItemStack p_36174_, InteractionHand p_36175_) voidInventory.placeItemBackInInventory(ItemStack p_150080_) voidInventory.placeItemBackInInventory(ItemStack p_150077_, boolean p_150078_) voidInventory.removeItem(ItemStack p_36058_) voidvoidPlayer.setItemSlot(EquipmentSlot p_36161_, ItemStack p_36162_) voidInventory.setPickedItem(ItemStack p_36013_) voidPlayer.updateTutorialInventoryAction(ItemStack p_150098_, ItemStack p_150099_, ClickAction p_150100_) Method parameters in net.minecraft.world.entity.player with type arguments of type ItemStackModifier and TypeMethodDescriptionintInventory.clearOrCountMatchingItems(Predicate<ItemStack> p_36023_, int p_36024_, Container p_36025_) voidPlayer.triggerRecipeCrafted(RecipeHolder<?> p_301080_, List<ItemStack> p_283609_) 
- 
Uses of ItemStack in net.minecraft.world.entity.projectileFields in net.minecraft.world.entity.projectile declared as ItemStackModifier and TypeFieldDescriptionprivate static final ItemStackArrow.DEFAULT_ARROW_STACKprivate static final ItemStackSpectralArrow.DEFAULT_ARROW_STACKprivate static final ItemStackThrownTrident.DEFAULT_ARROW_STACKprivate ItemStackAbstractArrow.pickupItemStackFields in net.minecraft.world.entity.projectile with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<ItemStack>FireworkRocketEntity.DATA_ID_FIREWORKS_ITEMprivate static final EntityDataAccessor<ItemStack>EyeOfEnder.DATA_ITEM_STACKprivate static final EntityDataAccessor<ItemStack>Fireball.DATA_ITEM_STACKprivate static final EntityDataAccessor<ItemStack>ThrowableItemProjectile.DATA_ITEM_STACKMethods in net.minecraft.world.entity.projectile that return ItemStackModifier and TypeMethodDescriptionEyeOfEnder.getItem()Fireball.getItem()FireworkRocketEntity.getItem()ItemSupplier.getItem()ThrowableItemProjectile.getItem()WindCharge.getItem()private ItemStackEyeOfEnder.getItemRaw()protected ItemStackFireball.getItemRaw()protected ItemStackThrowableItemProjectile.getItemRaw()protected ItemStackAbstractArrow.getPickupItem()protected ItemStackArrow.getPickupItem()AbstractArrow.getPickupItemStackOrigin()Methods in net.minecraft.world.entity.projectile with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intArrow.getCustomColor(ItemStack p_36885_) static AbstractArrowProjectileUtil.getMobArrow(LivingEntity p_37301_, ItemStack p_37302_, float p_37303_) private voidThrownPotion.makeAreaOfEffectCloud(ItemStack p_37538_, Potion p_37539_) intvoidArrow.setEffectsFromItem(ItemStack p_36879_) voidvoidvoidConstructors in net.minecraft.world.entity.projectile with parameters of type ItemStackModifierConstructorDescriptionprotectedAbstractArrow(EntityType<? extends AbstractArrow> p_36721_, double p_309157_, double p_309022_, double p_308962_, Level p_36722_, ItemStack p_309145_) protectedAbstractArrow(EntityType<? extends AbstractArrow> p_36717_, LivingEntity p_36718_, Level p_36719_, ItemStack p_309031_) protectedAbstractArrow(EntityType<? extends AbstractArrow> p_36711_, Level p_36715_, ItemStack p_308982_) Arrow(Level p_36861_, LivingEntity p_308924_, ItemStack p_309188_) FireworkRocketEntity(Level p_37030_, double p_37031_, double p_37032_, double p_37033_, ItemStack p_37034_) FireworkRocketEntity(Level p_37036_, Entity p_37037_, double p_37038_, double p_37039_, double p_37040_, ItemStack p_37041_) FireworkRocketEntity(Level p_37043_, ItemStack p_37044_, double p_37045_, double p_37046_, double p_37047_, boolean p_37048_) FireworkRocketEntity(Level p_37050_, ItemStack p_37051_, Entity p_37052_, double p_37053_, double p_37054_, double p_37055_, boolean p_37056_) FireworkRocketEntity(Level p_37058_, ItemStack p_37059_, LivingEntity p_37060_) SpectralArrow(Level p_37419_, double p_309044_, double p_309099_, double p_308873_, ItemStack p_308959_) SpectralArrow(Level p_37414_, LivingEntity p_309162_, ItemStack p_309167_) ThrownTrident(Level p_37569_, LivingEntity p_37570_, ItemStack p_37571_) 
- 
Uses of ItemStack in net.minecraft.world.entity.raidMethods in net.minecraft.world.entity.raid that return ItemStack
- 
Uses of ItemStack in net.minecraft.world.entity.vehicleFields in net.minecraft.world.entity.vehicle with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate NonNullList<ItemStack>AbstractMinecartContainer.itemStacksprivate NonNullList<ItemStack>ChestBoat.itemStacksMethods in net.minecraft.world.entity.vehicle that return ItemStackModifier and TypeMethodDescriptiondefault ItemStackContainerEntity.getChestVehicleItem(int p_219948_) AbstractMinecartContainer.getItem(int p_38218_) ChestBoat.getItem(int p_219880_) AbstractMinecart.getPickResult()Boat.getPickResult()default ItemStackContainerEntity.removeChestVehicleItem(int p_219937_, int p_219938_) default ItemStackContainerEntity.removeChestVehicleItemNoUpdate(int p_219946_) AbstractMinecartContainer.removeItem(int p_38220_, int p_38221_) ChestBoat.removeItem(int p_219882_, int p_219883_) AbstractMinecartContainer.removeItemNoUpdate(int p_38244_) ChestBoat.removeItemNoUpdate(int p_219904_) Methods in net.minecraft.world.entity.vehicle that return types with arguments of type ItemStackModifier and TypeMethodDescriptionAbstractMinecartContainer.getItemStacks()ChestBoat.getItemStacks()ContainerEntity.getItemStacks()Methods in net.minecraft.world.entity.vehicle with parameters of type ItemStackModifier and TypeMethodDescriptionstatic AbstractMinecartAbstractMinecart.createMinecart(ServerLevel p_305794_, double p_38121_, double p_38122_, double p_38123_, AbstractMinecart.Type p_38124_, ItemStack p_305892_, Player p_306203_) default voidContainerEntity.setChestVehicleItem(int p_219941_, ItemStack p_219942_) voidvoid
- 
Uses of ItemStack in net.minecraft.world.foodMethods in net.minecraft.world.food with parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.inventoryFields in net.minecraft.world.inventory declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackAbstractContainerMenu.carriedprivate ItemStackStonecutterMenu.inputprivate ItemStackAbstractContainerMenu.remoteCarriedFields in net.minecraft.world.inventory with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>TransientCraftingContainer.itemsprivate final NonNullList<ItemStack>MerchantContainer.itemStacksprivate final NonNullList<ItemStack>ResultContainer.itemStacksprivate final NonNullList<ItemStack>AbstractContainerMenu.lastSlotsItemCombinerMenuSlotDefinition.SlotDefinition.mayPlaceThe field for themayPlacerecord component.private final NonNullList<ItemStack>AbstractContainerMenu.remoteSlotsMethods in net.minecraft.world.inventory that return ItemStackModifier and TypeMethodDescriptionLecternMenu.getBook()AbstractContainerMenu.getCarried()MerchantContainer.getItem(int p_40008_) ResultContainer.getItem(int p_40147_) Slot.getItem()TransientCraftingContainer.getItem(int p_287712_) private ItemStackGrindstoneMenu.mergeEnchants(ItemStack p_39591_, ItemStack p_39592_) abstract ItemStackAbstractContainerMenu.quickMoveStack(Player p_38941_, int p_38942_) AbstractFurnaceMenu.quickMoveStack(Player p_38986_, int p_38987_) BeaconMenu.quickMoveStack(Player p_39051_, int p_39052_) BrewingStandMenu.quickMoveStack(Player p_39100_, int p_39101_) CartographyTableMenu.quickMoveStack(Player p_39175_, int p_39176_) ChestMenu.quickMoveStack(Player p_39253_, int p_39254_) CrafterMenu.quickMoveStack(Player p_307459_, int p_307204_) CraftingMenu.quickMoveStack(Player p_39391_, int p_39392_) DispenserMenu.quickMoveStack(Player p_39444_, int p_39445_) EnchantmentMenu.quickMoveStack(Player p_39490_, int p_39491_) GrindstoneMenu.quickMoveStack(Player p_39588_, int p_39589_) HopperMenu.quickMoveStack(Player p_39651_, int p_39652_) HorseInventoryMenu.quickMoveStack(Player p_39665_, int p_39666_) InventoryMenu.quickMoveStack(Player p_39723_, int p_39724_) ItemCombinerMenu.quickMoveStack(Player p_39792_, int p_39793_) LecternMenu.quickMoveStack(Player p_219987_, int p_219988_) LoomMenu.quickMoveStack(Player p_39883_, int p_39884_) MerchantMenu.quickMoveStack(Player p_40053_, int p_40054_) ShulkerBoxMenu.quickMoveStack(Player p_40199_, int p_40200_) StonecutterMenu.quickMoveStack(Player p_40328_, int p_40329_) FurnaceResultSlot.remove(int p_39548_) MerchantResultSlot.remove(int p_40090_) NonInteractiveResultSlot.remove(int p_307370_) ResultSlot.remove(int p_40173_) Slot.remove(int p_40227_) MerchantContainer.removeItem(int p_40010_, int p_40011_) ResultContainer.removeItem(int p_40149_, int p_40150_) TransientCraftingContainer.removeItem(int p_287682_, int p_287576_) MerchantContainer.removeItemNoUpdate(int p_40018_) ResultContainer.removeItemNoUpdate(int p_40160_) TransientCraftingContainer.removeItemNoUpdate(int p_287637_) private ItemStackGrindstoneMenu.removeNonCurses(ItemStack p_39580_, int p_39581_, int p_39582_) NonInteractiveResultSlot.safeInsert(ItemStack p_307685_) NonInteractiveResultSlot.safeInsert(ItemStack p_307656_, int p_307278_) Slot.safeInsert(ItemStack p_150660_) Slot.safeInsert(ItemStack p_150657_, int p_150658_) Methods in net.minecraft.world.inventory that return types with arguments of type ItemStackModifier and TypeMethodDescriptionAbstractContainerMenu.getItems()CraftingContainer.getItems()TransientCraftingContainer.getItems()SmithingMenu.getRelevantItems()ItemCombinerMenuSlotDefinition.SlotDefinition.mayPlace()Returns the value of themayPlacerecord component.Methods in net.minecraft.world.inventory with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanAbstractContainerMenu.canItemQuickReplace(Slot p_38900_, ItemStack p_38901_, boolean p_38902_) protected booleanItemCombinerMenu.canMoveIntoInputSlots(ItemStack p_39787_) booleanSmithingMenu.canMoveIntoInputSlots(ItemStack p_266846_) protected booleanbooleanAbstractContainerMenu.canTakeItemForPickAll(ItemStack p_38908_, Slot p_38909_) booleanCartographyTableMenu.canTakeItemForPickAll(ItemStack p_39160_, Slot p_39161_) booleanCraftingMenu.canTakeItemForPickAll(ItemStack p_39381_, Slot p_39382_) booleanInventoryMenu.canTakeItemForPickAll(ItemStack p_39716_, Slot p_39717_) booleanMerchantMenu.canTakeItemForPickAll(ItemStack p_40044_, Slot p_40045_) booleanSmithingMenu.canTakeItemForPickAll(ItemStack p_40257_, Slot p_40258_) booleanStonecutterMenu.canTakeItemForPickAll(ItemStack p_40321_, Slot p_40322_) protected voidFurnaceResultSlot.checkTakeAchievements(ItemStack p_39558_) protected voidMerchantResultSlot.checkTakeAchievements(ItemStack p_40100_) protected voidResultSlot.checkTakeAchievements(ItemStack p_40185_) protected voidSlot.checkTakeAchievements(ItemStack p_40239_) private static OptionalIntSmithingMenu.findSlotMatchingIngredient(SmithingRecipe p_266790_, ItemStack p_266818_) private OptionalIntSmithingMenu.findSlotToQuickMoveTo(ItemStack p_295440_) private List<EnchantmentInstance>EnchantmentMenu.getEnchantmentList(ItemStack p_39472_, int p_39473_, int p_39474_) intFurnaceFuelSlot.getMaxStackSize(ItemStack p_39528_) intSlot.getMaxStackSize(ItemStack p_40238_) static intAbstractContainerMenu.getQuickCraftPlaceCount(Set<Slot> p_279393_, int p_279288_, ItemStack p_279172_) private List<Holder<BannerPattern>>LoomMenu.getSelectablePatterns(ItemStack p_219994_) intItemCombinerMenu.getSlotToQuickMoveTo(ItemStack p_267159_) intSmithingMenu.getSlotToQuickMoveTo(ItemStack p_266739_) voidAbstractContainerMenu.initializeContents(int p_182411_, List<ItemStack> p_182412_, ItemStack p_182413_) static booleanprotected booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic booleanBrewingStandMenu.FuelSlot.mayPlaceItem(ItemStack p_39113_) static booleanBrewingStandMenu.PotionSlot.mayPlaceItem(ItemStack p_39134_) private ItemStackGrindstoneMenu.mergeEnchants(ItemStack p_39591_, ItemStack p_39592_) private voidMerchantMenu.moveFromInventoryToPaymentSlot(int p_40061_, ItemStack p_40062_) protected booleanAbstractContainerMenu.moveItemStackTo(ItemStack p_38904_, int p_38905_, int p_38906_, boolean p_38907_) (package private) static voidInventoryMenu.onEquipItem(Player p_270432_, EquipmentSlot p_270254_, ItemStack p_270316_, ItemStack p_270993_) protected voidFurnaceResultSlot.onQuickCraft(ItemStack p_39555_, int p_39556_) protected voidMerchantResultSlot.onQuickCraft(ItemStack p_40097_, int p_40098_) voidNonInteractiveResultSlot.onQuickCraft(ItemStack p_307668_, ItemStack p_307399_) protected voidResultSlot.onQuickCraft(ItemStack p_40180_, int p_40181_) protected voidSlot.onQuickCraft(ItemStack p_40232_, int p_40233_) voidSlot.onQuickCraft(ItemStack p_40235_, ItemStack p_40236_) protected voidvoidvoidprotected abstract voidvoidvoidvoidvoidprotected voidprivate ItemStackGrindstoneMenu.removeNonCurses(ItemStack p_39580_, int p_39581_, int p_39582_) NonInteractiveResultSlot.safeInsert(ItemStack p_307685_) NonInteractiveResultSlot.safeInsert(ItemStack p_307656_, int p_307278_) Slot.safeInsert(ItemStack p_150660_) Slot.safeInsert(ItemStack p_150657_, int p_150658_) voidContainerSynchronizer.sendCarriedChange(AbstractContainerMenu p_150533_, ItemStack p_150534_) voidContainerSynchronizer.sendInitialData(AbstractContainerMenu p_150535_, NonNullList<ItemStack> p_150536_, ItemStack p_150537_, int[] p_150538_) voidContainerSynchronizer.sendSlotChange(AbstractContainerMenu p_150530_, int p_150531_, ItemStack p_150532_) voidvoidSlot.setByPlayer(ItemStack p_270152_) voidSlot.setByPlayer(ItemStack p_299990_, ItemStack p_299965_) voidAbstractContainerMenu.setCarried(ItemStack p_150439_) voidvoidvoidvoidvoidAbstractContainerMenu.setRemoteCarried(ItemStack p_150423_) voidAbstractContainerMenu.setRemoteSlot(int p_150405_, ItemStack p_150406_) voidAbstractContainerMenu.setRemoteSlotNoCopy(int p_182415_, ItemStack p_182416_) private voidStonecutterMenu.setupRecipeList(Container p_40304_, ItemStack p_40305_) private voidCartographyTableMenu.setupResultSlot(ItemStack p_39163_, ItemStack p_39164_, ItemStack p_39165_) voidContainerListener.slotChanged(AbstractContainerMenu p_39315_, int p_39316_, ItemStack p_39317_) voidCrafterMenu.slotChanged(AbstractContainerMenu p_307332_, int p_307437_, ItemStack p_307233_) private voidAbstractContainerMenu.synchronizeSlotToRemote(int p_150436_, ItemStack p_150437_, Supplier<ItemStack> p_150438_) private voidAbstractContainerMenu.triggerSlotListeners(int p_150408_, ItemStack p_150409_, Supplier<ItemStack> p_150410_) private booleanAbstractContainerMenu.tryItemClickBehaviourOverride(Player p_249615_, ClickAction p_250300_, Slot p_249384_, ItemStack p_251073_, ItemStack p_252026_) Method parameters in net.minecraft.world.inventory with type arguments of type ItemStackModifier and TypeMethodDescriptiondefault voidRecipeCraftingHolder.awardUsedRecipes(Player p_300892_, List<ItemStack> p_301308_) voidAbstractContainerMenu.initializeContents(int p_182411_, List<ItemStack> p_182412_, ItemStack p_182413_) voidContainerSynchronizer.sendInitialData(AbstractContainerMenu p_150535_, NonNullList<ItemStack> p_150536_, ItemStack p_150537_, int[] p_150538_) private voidAbstractContainerMenu.synchronizeSlotToRemote(int p_150436_, ItemStack p_150437_, Supplier<ItemStack> p_150438_) private voidAbstractContainerMenu.triggerSlotListeners(int p_150408_, ItemStack p_150409_, Supplier<ItemStack> p_150410_) ItemCombinerMenuSlotDefinition.Builder.withSlot(int p_267315_, int p_267028_, int p_266815_, Predicate<ItemStack> p_267120_) Constructor parameters in net.minecraft.world.inventory with type arguments of type ItemStackModifierConstructorDescriptionSlotDefinition(int slotIndex, int x, int y, Predicate<ItemStack> mayPlace) Creates an instance of aSlotDefinitionrecord class.TransientCraftingContainer(AbstractContainerMenu p_287708_, int p_287591_, int p_287609_, NonNullList<ItemStack> p_287695_) 
- 
Uses of ItemStack in net.minecraft.world.inventory.tooltipFields in net.minecraft.world.inventory.tooltip with type parameters of type ItemStackMethods in net.minecraft.world.inventory.tooltip that return types with arguments of type ItemStackConstructor parameters in net.minecraft.world.inventory.tooltip with type arguments of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.itemFields in net.minecraft.world.item declared as ItemStackModifier and TypeFieldDescriptionstatic final ItemStackItemStack.EMPTYprivate ItemStackCreativeModeTab.iconItemStackFields in net.minecraft.world.item with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ItemStack>ItemStack.ADVANCEMENT_ICON_CODECProjectileWeaponItem.ARROW_ONLYProjectileWeaponItem.ARROW_OR_FIREWORKstatic final com.mojang.serialization.Codec<ItemStack>ItemStack.CODECprivate Collection<ItemStack>CreativeModeTab.displayItemsCreativeModeTab.displayItemsSearchTabCreativeModeTab.Builder.iconGeneratorCreativeModeTab.iconGeneratorstatic final com.mojang.serialization.Codec<ItemStack>ItemStack.ITEM_WITH_COUNT_CODECstatic final com.mojang.serialization.MapCodec<ItemStack>ItemStack.RESULT_CODECCreativeModeTab.ItemDisplayBuilder.searchTabContentsCreativeModeTab.searchTreeBuilderstatic final com.mojang.serialization.Codec<ItemStack>ItemStack.SINGLE_ITEM_CODECfinal Collection<ItemStack>CreativeModeTab.ItemDisplayBuilder.tabContentsstatic final it.unimi.dsi.fastutil.Hash.Strategy<? super ItemStack>ItemStackLinkedSet.TYPE_AND_TAGMethods in net.minecraft.world.item that return ItemStackModifier and TypeMethodDescriptionItemStack.copy()ItemStack.copyAndClear()ItemStack.copyWithCount(int p_256354_) static ItemStackInstrumentItem.create(Item p_220108_, Holder<Instrument> p_220109_) static ItemStackMapItem.create(Level p_42887_, int p_42888_, int p_42889_, byte p_42890_, boolean p_42891_, boolean p_42892_) static ItemStackItemUtils.createFilledResult(ItemStack p_41814_, Player p_41815_, ItemStack p_41816_) static ItemStackItemUtils.createFilledResult(ItemStack p_41818_, Player p_41819_, ItemStack p_41820_, boolean p_41821_) static ItemStackEnchantedBookItem.createForEnchantment(EnchantmentInstance p_41162_) static ItemStackBowlFoodItem.finishUsingItem(ItemStack p_40684_, Level p_40685_, LivingEntity p_40686_) ChorusFruitItem.finishUsingItem(ItemStack p_40712_, Level p_40713_, LivingEntity p_40714_) HoneyBottleItem.finishUsingItem(ItemStack p_41348_, Level p_41349_, LivingEntity p_41350_) Item.finishUsingItem(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) ItemStack.finishUsingItem(Level p_41672_, LivingEntity p_41673_) MilkBucketItem.finishUsingItem(ItemStack p_42923_, Level p_42924_, LivingEntity p_42925_) PotionItem.finishUsingItem(ItemStack p_42984_, Level p_42985_, LivingEntity p_42986_) SpyglassItem.finishUsingItem(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) SuspiciousStewItem.finishUsingItem(ItemStack p_43263_, Level p_43264_, LivingEntity p_43265_) FireworkRocketItem.getDefaultInstance()Item.getDefaultInstance()PotionItem.getDefaultInstance()TippedArrowItem.getDefaultInstance()static ItemStackBucketItem.getEmptySuccessItem(ItemStack p_40700_, Player p_40701_) static ItemStackProjectileWeaponItem.getHeldProjectile(LivingEntity p_43011_, Predicate<ItemStack> p_43012_) CreativeModeTab.getIconItem()static ItemStackItemStack.of(CompoundTag p_41713_) ItemStack.setHoverName(Component p_41715_) ItemStack.split(int p_41621_) protected ItemStackBottleItem.turnBottleIntoItem(ItemStack p_40652_, Player p_40653_, ItemStack p_40654_) Methods in net.minecraft.world.item that return types with arguments of type ItemStackModifier and TypeMethodDescriptionItemStackLinkedSet.createTypeAndTagSet()BowItem.getAllSupportedProjectiles()CrossbowItem.getAllSupportedProjectiles()ProjectileWeaponItem.getAllSupportedProjectiles()CrossbowItem.getChargedProjectiles(ItemStack p_40942_) BundleItem.getContents(ItemStack p_150783_) CreativeModeTab.getDisplayItems()CreativeModeTab.getSearchTabDisplayItems()CrossbowItem.getSupportedHeldProjectiles()ProjectileWeaponItem.getSupportedHeldProjectiles()static 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_) Methods in net.minecraft.world.item with parameters of type ItemStackModifier and TypeMethodDescriptionvoidCreativeModeTab.ItemDisplayBuilder.accept(ItemStack p_250391_, CreativeModeTab.TabVisibility p_251472_) default voidvoidCreativeModeTab.Output.accept(ItemStack p_251806_, CreativeModeTab.TabVisibility p_249603_) private static intprivate static voidCrossbowItem.addChargedProjectile(ItemStack p_40929_, ItemStack p_40930_) static voidEnchantedBookItem.addEnchantment(ItemStack p_41154_, EnchantmentInstance p_41155_) voidAirItem.appendHoverText(ItemStack p_40372_, Level p_40373_, List<Component> p_40374_, TooltipFlag p_40375_) voidBannerItem.appendHoverText(ItemStack p_40538_, Level p_40539_, List<Component> p_40540_, TooltipFlag p_40541_) voidBannerPatternItem.appendHoverText(ItemStack p_40551_, Level p_40552_, List<Component> p_40553_, TooltipFlag p_40554_) voidBlockItem.appendHoverText(ItemStack p_40572_, Level p_40573_, List<Component> p_40574_, TooltipFlag p_40575_) voidBundleItem.appendHoverText(ItemStack p_150749_, Level p_150750_, List<Component> p_150751_, TooltipFlag p_150752_) voidCrossbowItem.appendHoverText(ItemStack p_40880_, Level p_40881_, List<Component> p_40882_, TooltipFlag p_40883_) voidDiscFragmentItem.appendHoverText(ItemStack p_220031_, Level p_220032_, List<Component> p_220033_, TooltipFlag p_220034_) voidEnchantedBookItem.appendHoverText(ItemStack p_41157_, Level p_41158_, List<Component> p_41159_, TooltipFlag p_41160_) voidFireworkRocketItem.appendHoverText(ItemStack p_41211_, Level p_41212_, List<Component> p_41213_, TooltipFlag p_41214_) voidFireworkStarItem.appendHoverText(ItemStack p_41252_, Level p_41253_, List<Component> p_41254_, TooltipFlag p_41255_) voidHangingEntityItem.appendHoverText(ItemStack p_270235_, Level p_270688_, List<Component> p_270630_, TooltipFlag p_270170_) voidInstrumentItem.appendHoverText(ItemStack p_220115_, Level p_220116_, List<Component> p_220117_, TooltipFlag p_220118_) voidItem.appendHoverText(ItemStack p_41421_, Level p_41422_, List<Component> p_41423_, TooltipFlag p_41424_) voidLingeringPotionItem.appendHoverText(ItemStack p_42838_, Level p_42839_, List<Component> p_42840_, TooltipFlag p_42841_) voidMapItem.appendHoverText(ItemStack p_42880_, Level p_42881_, List<Component> p_42882_, TooltipFlag p_42883_) voidMobBucketItem.appendHoverText(ItemStack p_151155_, Level p_151156_, List<Component> p_151157_, TooltipFlag p_151158_) voidPotionItem.appendHoverText(ItemStack p_42988_, Level p_42989_, List<Component> p_42990_, TooltipFlag p_42991_) voidRecordItem.appendHoverText(ItemStack p_43043_, Level p_43044_, List<Component> p_43045_, TooltipFlag p_43046_) voidShieldItem.appendHoverText(ItemStack p_43094_, Level p_43095_, List<Component> p_43096_, TooltipFlag p_43097_) voidSmithingTemplateItem.appendHoverText(ItemStack p_267313_, Level p_266896_, List<Component> p_266820_, TooltipFlag p_266857_) voidSuspiciousStewItem.appendHoverText(ItemStack p_260314_, Level p_259224_, List<Component> p_259700_, TooltipFlag p_260021_) voidTippedArrowItem.appendHoverText(ItemStack p_43359_, Level p_43360_, List<Component> p_43361_, TooltipFlag p_43362_) voidWrittenBookItem.appendHoverText(ItemStack p_43457_, Level p_43458_, List<Component> p_43459_, TooltipFlag p_43460_) static voidBannerItem.appendHoverTextFromBannerBlockEntityTag(ItemStack p_40543_, List<Component> p_40544_) static voidSuspiciousStewItem.appendMobEffects(ItemStack p_298704_, List<SuspiciousEffectHolder.EffectEntry> p_299318_) static booleanBoneMealItem.applyBonemeal(ItemStack p_40628_, Level p_40629_, BlockPos p_40630_, Player player) booleanItemStack.areAttachmentsCompatible(ItemStack other) Neo: Check if the attachments of this stack and another stack are compatible.booleanElytraItem.canElytraFly(ItemStack stack, LivingEntity entity) booleanAxeItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanBrushItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanFishingRodItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanHoeItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanPickaxeItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanShearsItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanShieldItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanShovelItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanSwordItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanTridentItem.canPerformAction(ItemStack stack, ToolAction toolAction) voidBucketItem.checkExtraContent(Player p_150711_, Level p_150712_, ItemStack p_150713_, BlockPos p_150714_) default voidDispensibleContainerItem.checkExtraContent(Player p_150817_, Level p_150818_, ItemStack p_150819_, BlockPos p_150820_) voidMobBucketItem.checkExtraContent(Player p_151146_, Level p_151147_, ItemStack p_151148_, BlockPos p_151149_) private static voidCrossbowItem.clearChargedProjectiles(ItemStack p_40944_) default voidDyeableLeatherItem.clearColor(ItemStack p_41124_) booleanstatic booleanCrossbowItem.containsChargedProjectile(ItemStack p_40872_, Item p_40873_) private static voidMapItem.createAndStoreSavedData(ItemStack p_151112_, Level p_151113_, int p_151114_, int p_151115_, int p_151116_, boolean p_151117_, boolean p_151118_, ResourceKey<Level> p_151119_) ArrowItem.createArrow(Level p_40513_, ItemStack p_40514_, LivingEntity p_40515_) SpectralArrowItem.createArrow(Level p_43237_, ItemStack p_43238_, LivingEntity p_43239_) static ItemStackItemUtils.createFilledResult(ItemStack p_41814_, Player p_41815_, ItemStack p_41816_) static ItemStackItemUtils.createFilledResult(ItemStack p_41818_, Player p_41819_, ItemStack p_41820_, boolean p_41821_) BowItem.customArrow(AbstractArrow arrow, ItemStack stack) static booleanArmorItem.dispenseArmor(BlockSource p_302421_, ItemStack p_40400_) private static booleanBundleItem.dropContents(ItemStack p_150730_, Player p_150731_) static ItemStackbooleanElytraItem.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) booleanBucketItem.emptyContents(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_, ItemStack container) BowlFoodItem.finishUsingItem(ItemStack p_40684_, Level p_40685_, LivingEntity p_40686_) ChorusFruitItem.finishUsingItem(ItemStack p_40712_, Level p_40713_, LivingEntity p_40714_) HoneyBottleItem.finishUsingItem(ItemStack p_41348_, Level p_41349_, LivingEntity p_41350_) Item.finishUsingItem(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) MilkBucketItem.finishUsingItem(ItemStack p_42923_, Level p_42924_, LivingEntity p_42925_) PotionItem.finishUsingItem(ItemStack p_42984_, Level p_42985_, LivingEntity p_42986_) SpyglassItem.finishUsingItem(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) SuspiciousStewItem.finishUsingItem(ItemStack p_43263_, Level p_43264_, LivingEntity p_43265_) static Equipableprivate static AbstractArrowCrossbowItem.getArrow(Level p_40915_, LivingEntity p_40916_, ItemStack p_40917_, ItemStack p_40918_) intBundleItem.getBarColor(ItemStack p_150773_) intItem.getBarColor(ItemStack p_150901_) intBundleItem.getBarWidth(ItemStack p_150771_) intItem.getBarWidth(ItemStack p_150900_) static CompoundTagBlockItem.getBlockEntityData(ItemStack p_186337_) private BoatCrossbowItem.getChargedProjectiles(ItemStack p_40942_) static intCrossbowItem.getChargeDuration(ItemStack p_40940_) default intstatic DyeColorstatic intstatic DyeColorBundleItem.getContents(ItemStack p_150783_) private static intBundleItem.getContentWeight(ItemStack p_150779_) protected MapItemSavedDataMapItem.getCustomMapData(ItemStack p_42854_, Level p_42855_) CompassItem.getDescriptionId(ItemStack p_40741_) Item.getDescriptionId(ItemStack p_41455_) PotionItem.getDescriptionId(ItemStack p_43003_) ShieldItem.getDescriptionId(ItemStack p_43109_) TippedArrowItem.getDescriptionId(ItemStack p_43364_) floatDiggerItem.getDestroySpeed(ItemStack p_41004_, BlockState p_41005_) floatItem.getDestroySpeed(ItemStack p_41425_, BlockState p_41426_) floatShearsItem.getDestroySpeed(ItemStack p_43084_, BlockState p_43085_) floatSwordItem.getDestroySpeed(ItemStack p_43288_, BlockState p_43289_) static ItemStackBucketItem.getEmptySuccessItem(ItemStack p_40700_, Player p_40701_) static ListTagEnchantedBookItem.getEnchantments(ItemStack p_41164_) static floatBundleItem.getFullnessDisplay(ItemStack p_150767_) static intWrittenBookItem.getGeneration(ItemStack p_43474_) private Optional<? extends Holder<Instrument>>InstrumentItem.getInstrument(ItemStack p_220135_) static Integerprivate static Optional<CompoundTag>BundleItem.getMatchingItem(ItemStack p_150757_, ListTag p_150758_) static intWrittenBookItem.getPageCount(ItemStack p_43478_) private static floatCrossbowItem.getPowerForTime(int p_40854_, ItemStack p_40855_) static MapItemSavedDataMapItem.getSavedData(ItemStack p_42854_, Level p_42855_) private static floatCrossbowItem.getShootingPower(ItemStack p_40946_) static ComponentMapItem.getTooltipForId(ItemStack p_301990_) BundleItem.getTooltipImage(ItemStack p_150775_) Item.getTooltipImage(ItemStack p_150902_) Packet<?>ComplexItem.getUpdatePacket(ItemStack p_40744_, Level p_40745_, Player p_40746_) Packet<?>MapItem.getUpdatePacket(ItemStack p_42876_, Level p_42877_, Player p_42878_) BowItem.getUseAnimation(ItemStack p_40678_) BrushItem.getUseAnimation(ItemStack p_273490_) CrossbowItem.getUseAnimation(ItemStack p_40935_) HoneyBottleItem.getUseAnimation(ItemStack p_41358_) InstrumentItem.getUseAnimation(ItemStack p_220133_) Item.getUseAnimation(ItemStack p_41452_) MilkBucketItem.getUseAnimation(ItemStack p_42931_) PotionItem.getUseAnimation(ItemStack p_42997_) ShieldItem.getUseAnimation(ItemStack p_43105_) SpyglassItem.getUseAnimation(ItemStack p_151224_) TridentItem.getUseAnimation(ItemStack p_43417_) intBowItem.getUseDuration(ItemStack p_40680_) intBrushItem.getUseDuration(ItemStack p_272765_) intCrossbowItem.getUseDuration(ItemStack p_40938_) intHoneyBottleItem.getUseDuration(ItemStack p_41360_) intInstrumentItem.getUseDuration(ItemStack p_220131_) intItem.getUseDuration(ItemStack p_41454_) intMilkBucketItem.getUseDuration(ItemStack p_42933_) intPotionItem.getUseDuration(ItemStack p_43001_) intShieldItem.getUseDuration(ItemStack p_43107_) intSpyglassItem.getUseDuration(ItemStack p_151222_) intTridentItem.getUseDuration(ItemStack p_43419_) private static intstatic booleanDeprecated.static booleanBoneMealItem.growWaterPlant(ItemStack p_40632_, Level p_40633_, BlockPos p_40634_, Direction p_40635_) private booleanDebugStickItem.handleInteraction(Player p_150803_, BlockState p_150804_, LevelAccessor p_150805_, BlockPos p_150806_, boolean p_150807_, ItemStack p_150808_) default booleanDyeableLeatherItem.hasCustomColor(ItemStack p_41114_) (package private) static intItemStackLinkedSet.hashStackAndTag(ItemStack p_262160_) booleanDiggerItem.hurtEnemy(ItemStack p_40994_, LivingEntity p_40995_, LivingEntity p_40996_) booleanItem.hurtEnemy(ItemStack p_41395_, LivingEntity p_41396_, LivingEntity p_41397_) booleanSwordItem.hurtEnemy(ItemStack p_43278_, LivingEntity p_43279_, LivingEntity p_43280_) booleanTridentItem.hurtEnemy(ItemStack p_43390_, LivingEntity p_43391_, LivingEntity p_43392_) DyeItem.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_) 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 player, LivingEntity entity, InteractionHand hand) voidCompassItem.inventoryTick(ItemStack p_40720_, Level p_40721_, Entity p_40722_, int p_40723_, boolean p_40724_) voidItem.inventoryTick(ItemStack p_41404_, Level p_41405_, Entity p_41406_, int p_41407_, boolean p_41408_) voidMapItem.inventoryTick(ItemStack p_42870_, Level p_42871_, Entity p_42872_, int p_42873_, boolean p_42874_) booleanBundleItem.isBarVisible(ItemStack p_150769_) booleanItem.isBarVisible(ItemStack p_150899_) static booleanbooleanDiggerItem.isCorrectToolForDrops(ItemStack stack, BlockState state) booleanBookItem.isEnchantable(ItemStack p_40646_) booleanEnchantedBookItem.isEnchantable(ItemStack p_41168_) booleanItem.isEnchantable(ItemStack p_41456_) static booleanElytraItem.isFlyEnabled(ItemStack p_41141_) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanArrowItem.isInfinite(ItemStack stack, ItemStack bow, Player player) static booleanCompassItem.isLodestoneCompass(ItemStack p_40737_) booleanItem.isRepairable(ItemStack stack) static booleanItemStack.isSameItem(ItemStack p_287761_, ItemStack p_287676_) static booleanItemStack.isSameItemSameTags(ItemStack p_150943_, ItemStack p_150944_) booleanArmorItem.isValidRepairItem(ItemStack p_40392_, ItemStack p_40393_) booleanElytraItem.isValidRepairItem(ItemStack p_41134_, ItemStack p_41135_) booleanItem.isValidRepairItem(ItemStack p_41402_, ItemStack p_41403_) booleanShieldItem.isValidRepairItem(ItemStack p_43091_, ItemStack p_43092_) booleanTieredItem.isValidRepairItem(ItemStack p_43311_, ItemStack p_43312_) private static voidSuspiciousStewItem.listPotionEffects(ItemStack p_260126_, Consumer<SuspiciousEffectHolder.EffectEntry> p_259500_) private static booleanCrossbowItem.loadProjectile(LivingEntity p_40863_, ItemStack p_40864_, ItemStack p_40865_, boolean p_40866_, boolean p_40867_) static voidstatic booleanprotected booleanHangingEntityItem.mayPlace(Player p_41326_, Direction p_41327_, ItemStack p_41328_, BlockPos p_41329_) protected booleanbooleanDiggerItem.mineBlock(ItemStack p_40998_, Level p_40999_, BlockState p_41000_, BlockPos p_41001_, LivingEntity p_41002_) booleanItem.mineBlock(ItemStack p_41416_, Level p_41417_, BlockState p_41418_, BlockPos p_41419_, LivingEntity p_41420_) booleanShearsItem.mineBlock(ItemStack p_43078_, Level p_43079_, BlockState p_43080_, BlockPos p_43081_, LivingEntity p_43082_) booleanSwordItem.mineBlock(ItemStack p_43282_, Level p_43283_, BlockState p_43284_, BlockPos p_43285_, LivingEntity p_43286_) booleanTridentItem.mineBlock(ItemStack p_43399_, Level p_43400_, BlockState p_43401_, BlockPos p_43402_, LivingEntity p_43403_) voidItem.onCraftedBy(ItemStack p_41447_, Level p_41448_, Player p_41449_) voidItem.onCraftedPostProcess(ItemStack p_307483_, Level p_307537_) voidMapItem.onCraftedPostProcess(ItemStack p_42913_, Level p_42914_) private static voidCrossbowItem.onCrossbowShot(Level p_40906_, LivingEntity p_40907_, ItemStack p_40908_) voidBrushItem.onUseTick(Level p_273467_, LivingEntity p_273619_, ItemStack p_273316_, int p_273101_) voidCrossbowItem.onUseTick(Level p_40910_, LivingEntity p_40911_, ItemStack p_40912_, int p_40913_) voidItem.onUseTick(Level p_41428_, LivingEntity p_41429_, ItemStack p_41430_, int p_41431_) booleanBundleItem.overrideOtherStackedOnMe(ItemStack p_150742_, ItemStack p_150743_, Slot p_150744_, ClickAction p_150745_, Player p_150746_, SlotAccess p_150747_) booleanItem.overrideOtherStackedOnMe(ItemStack p_150892_, ItemStack p_150893_, Slot p_150894_, ClickAction p_150895_, Player p_150896_, SlotAccess p_150897_) booleanItemStack.overrideOtherStackedOnMe(ItemStack p_150933_, Slot p_150934_, ClickAction p_150935_, Player p_150936_, SlotAccess p_150937_) booleanBundleItem.overrideStackedOnOther(ItemStack p_150733_, Slot p_150734_, ClickAction p_150735_, Player p_150736_) booleanItem.overrideStackedOnOther(ItemStack p_150888_, Slot p_150889_, ClickAction p_150890_, Player p_150891_) static voidCrossbowItem.performShooting(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_) voidBowItem.releaseUsing(ItemStack p_40667_, Level p_40668_, LivingEntity p_40669_, int p_40670_) voidCrossbowItem.releaseUsing(ItemStack p_40875_, Level p_40876_, LivingEntity p_40877_, int p_40878_) voidItem.releaseUsing(ItemStack p_41412_, Level p_41413_, LivingEntity p_41414_, int p_41415_) voidSpyglassItem.releaseUsing(ItemStack p_151213_, Level p_151214_, LivingEntity p_151215_, int p_151216_) voidTridentItem.releaseUsing(ItemStack p_43394_, Level p_43395_, LivingEntity p_43396_, int p_43397_) static voidMapItem.renderBiomePreviewMap(ServerLevel p_42851_, ItemStack p_42852_) static booleanWrittenBookItem.resolveBookComponents(ItemStack p_43462_, CommandSourceStack p_43463_, Player p_43464_) static voidSuspiciousStewItem.saveMobEffects(ItemStack p_298592_, List<SuspiciousEffectHolder.EffectEntry> p_299245_) private static voidstatic voidBlockItem.setBlockEntityData(ItemStack p_186339_, BlockEntityType<?> p_186340_, CompoundTag p_186341_) static voidCrossbowItem.setCharged(ItemStack p_40885_, boolean p_40886_) default voidstatic voidFireworkRocketItem.setDuration(ItemStack p_260106_, byte p_260332_) static voidInstrumentItem.setRandom(ItemStack p_220111_, TagKey<Instrument> p_220112_, RandomSource p_220113_) private static voidInstrumentItem.setSoundVariantId(ItemStack p_220120_, Holder<Instrument> p_220121_) 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_) private voidMobBucketItem.spawn(ServerLevel p_151142_, ItemStack p_151143_, BlockPos p_151144_) SpawnEggItem.spawnOffspringFromSpawnEgg(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) private static voidMapItem.storeMapData(ItemStack p_151109_, int p_151110_) booleanAdventureModeCheck.test(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_) private static booleanCrossbowItem.tryLoadProjectiles(LivingEntity p_40860_, ItemStack p_40861_) protected ItemStackBottleItem.turnBottleIntoItem(ItemStack p_40652_, Player p_40653_, ItemStack p_40654_) private BlockStateBlockItem.updateBlockStateFromTag(BlockPos p_40603_, Level p_40604_, ItemStack p_40605_, BlockState p_40606_) protected booleanBlockItem.updateCustomBlockEntityTag(BlockPos p_40597_, Level p_40598_, Player p_40599_, ItemStack p_40600_, BlockState p_40601_) static booleanBlockItem.updateCustomBlockEntityTag(Level p_40583_, Player p_40584_, BlockPos p_40585_, ItemStack p_40586_) protected booleanSignItem.updateCustomBlockEntityTag(BlockPos p_43130_, Level p_43131_, Player p_43132_, ItemStack p_43133_, BlockState p_43134_) booleanCrossbowItem.useOnRelease(ItemStack p_150801_) booleanItem.useOnRelease(ItemStack p_41464_) Method parameters in net.minecraft.world.item with type arguments of type ItemStackModifier and TypeMethodDescriptiondefault voidCreativeModeTab.Output.acceptAll(Collection<ItemStack> p_250244_) default voidCreativeModeTab.Output.acceptAll(Collection<ItemStack> p_251548_, CreativeModeTab.TabVisibility p_252285_) static ItemStackProjectileWeaponItem.getHeldProjectile(LivingEntity p_43011_, Predicate<ItemStack> p_43012_) static voidItemUtils.onContainerDestroyed(ItemEntity p_150953_, Stream<ItemStack> p_150954_) voidCreativeModeTab.setSearchTreeBuilder(Consumer<List<ItemStack>> p_259669_) Constructor parameters in net.minecraft.world.item with type arguments of type ItemStackModifierConstructorDescription(package private)CreativeModeTab(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation backgroundLocation, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) 
- 
Uses of ItemStack in net.minecraft.world.item.alchemyFields in net.minecraft.world.item.alchemy with type parameters of type ItemStackMethods in net.minecraft.world.item.alchemy that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackstatic ItemStackPotionUtils.setCustomEffects(ItemStack p_43553_, Collection<MobEffectInstance> p_43554_) static ItemStackMethods in net.minecraft.world.item.alchemy with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidPotionUtils.addPotionTooltip(ItemStack p_43556_, List<Component> p_43557_, float p_43558_, float p_314708_) static intstatic List<MobEffectInstance>PotionUtils.getCustomEffects(ItemStack p_43572_) static List<MobEffectInstance>PotionUtils.getMobEffects(ItemStack p_43548_) static Potionprotected static booleanPotionBrewing.hasContainerMix(ItemStack p_43520_, ItemStack p_43521_) static booleanprotected static booleanPotionBrewing.hasPotionMix(ItemStack p_43525_, ItemStack p_43526_) protected static booleanPotionBrewing.isContainerIngredient(ItemStack p_43518_) static booleanPotionBrewing.isIngredient(ItemStack p_43507_) protected static booleanPotionBrewing.isPotionIngredient(ItemStack p_43523_) static ItemStackstatic ItemStackPotionUtils.setCustomEffects(ItemStack p_43553_, Collection<MobEffectInstance> p_43554_) static ItemStack
- 
Uses of ItemStack in net.minecraft.world.item.armortrimMethods in net.minecraft.world.item.armortrim with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidArmorTrim.appendUpgradeHoverText(ItemStack p_266761_, RegistryAccess p_266979_, List<Component> p_267199_) static Optional<Holder.Reference<TrimMaterial>>TrimMaterials.getFromIngredient(RegistryAccess p_266981_, ItemStack p_267327_) static Optional<Holder.Reference<TrimPattern>>TrimPatterns.getFromTemplate(RegistryAccess p_267205_, ItemStack p_267001_) ArmorTrim.getTrim(RegistryAccess p_266952_, ItemStack p_266766_, boolean p_294831_) static booleanArmorTrim.setTrim(RegistryAccess p_267181_, ItemStack p_266994_, ArmorTrim p_267002_) 
- 
Uses of ItemStack in net.minecraft.world.item.contextFields in net.minecraft.world.item.context declared as ItemStackMethods in net.minecraft.world.item.context that return ItemStackConstructors in net.minecraft.world.item.context with parameters of type ItemStackModifierConstructorDescriptionBlockPlaceContext(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_) DirectionalPlaceContext(Level p_43650_, BlockPos p_43651_, Direction p_43652_, ItemStack p_43653_, Direction p_43654_) UseOnContext(Level p_43713_, Player p_43714_, InteractionHand p_43715_, ItemStack p_43716_, BlockHitResult p_43717_) 
- 
Uses of ItemStack in net.minecraft.world.item.craftingFields in net.minecraft.world.item.crafting declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackIngredient.ItemValue.itemThe field for theitemrecord component.private ItemStack[]Ingredient.itemStacksprotected final ItemStackAbstractCookingRecipe.result(package private) final ItemStackShapedRecipe.result(package private) final ItemStackShapelessRecipe.resultprotected final ItemStackSingleItemRecipe.result(package private) final ItemStackSmithingTransformRecipe.resultFields in net.minecraft.world.item.crafting with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,ItemStack, Boolean> Ingredient.ItemValue.comparatorThe field for thecomparatorrecord component.private final BiFunction<ItemStack,ItemStack, Boolean> Ingredient.ItemValue.comparatorThe field for thecomparatorrecord component.private final NonNullList<ItemStack>RecipeCache.Entry.keyThe field for thekeyrecord component.Methods in net.minecraft.world.item.crafting that return ItemStackModifier and TypeMethodDescriptionAbstractCookingRecipe.assemble(Container p_43746_, RegistryAccess p_267063_) ArmorDyeRecipe.assemble(CraftingContainer p_43767_, RegistryAccess p_267017_) BannerDuplicateRecipe.assemble(CraftingContainer p_43783_, RegistryAccess p_267308_) BookCloningRecipe.assemble(CraftingContainer p_43812_, RegistryAccess p_267039_) DecoratedPotRecipe.assemble(CraftingContainer p_272861_, RegistryAccess p_273288_) FireworkRocketRecipe.assemble(CraftingContainer p_43852_, RegistryAccess p_266791_) FireworkStarFadeRecipe.assemble(CraftingContainer p_43871_, RegistryAccess p_266682_) FireworkStarRecipe.assemble(CraftingContainer p_43893_, RegistryAccess p_266692_) MapCloningRecipe.assemble(CraftingContainer p_43978_, RegistryAccess p_267299_) MapExtendingRecipe.assemble(CraftingContainer p_43991_, RegistryAccess p_266892_) Recipe.assemble(C p_44001_, RegistryAccess p_267165_) RepairItemRecipe.assemble(CraftingContainer p_44136_, RegistryAccess p_267094_) ShapedRecipe.assemble(CraftingContainer p_266686_, RegistryAccess p_266725_) ShapelessRecipe.assemble(CraftingContainer p_44260_, RegistryAccess p_266797_) ShieldDecorationRecipe.assemble(CraftingContainer p_44306_, RegistryAccess p_267112_) ShulkerBoxColoring.assemble(CraftingContainer p_44322_, RegistryAccess p_266985_) SingleItemRecipe.assemble(Container p_44427_, RegistryAccess p_266999_) SmithingTransformRecipe.assemble(Container p_267036_, RegistryAccess p_266699_) SmithingTrimRecipe.assemble(Container p_267320_, RegistryAccess p_267280_) SuspiciousStewRecipe.assemble(CraftingContainer p_44497_, RegistryAccess p_266871_) TippedArrowRecipe.assemble(CraftingContainer p_44513_, RegistryAccess p_267186_) private static ItemStackMapExtendingRecipe.findFilledMap(CraftingContainer p_279436_) Ingredient.getItems()AbstractCookingRecipe.getResultItem(RegistryAccess p_266851_) CustomRecipe.getResultItem(RegistryAccess p_267025_) FireworkRocketRecipe.getResultItem(RegistryAccess p_267261_) FireworkStarRecipe.getResultItem(RegistryAccess p_266932_) Recipe.getResultItem(RegistryAccess p_267052_) ShapedRecipe.getResultItem(RegistryAccess p_266881_) ShapelessRecipe.getResultItem(RegistryAccess p_267111_) SingleItemRecipe.getResultItem(RegistryAccess p_266964_) SmithingTransformRecipe.getResultItem(RegistryAccess p_267209_) SmithingTrimRecipe.getResultItem(RegistryAccess p_266948_) BlastingRecipe.getToastSymbol()CampfireCookingRecipe.getToastSymbol()default ItemStackRecipe.getToastSymbol()SmeltingRecipe.getToastSymbol()default ItemStackSmithingRecipe.getToastSymbol()SmokingRecipe.getToastSymbol()StonecutterRecipe.getToastSymbol()Ingredient.ItemValue.item()Returns the value of theitemrecord component.Methods in net.minecraft.world.item.crafting that return types with arguments of type ItemStackModifier and TypeMethodDescriptionIngredient.ItemValue.comparator()Returns the value of thecomparatorrecord component.Ingredient.ItemValue.comparator()Returns the value of thecomparatorrecord component.Ingredient.ItemValue.getItems()Ingredient.TagValue.getItems()Ingredient.Value.getItems()BannerDuplicateRecipe.getRemainingItems(CraftingContainer p_43791_) BookCloningRecipe.getRemainingItems(CraftingContainer p_43820_) default NonNullList<ItemStack>Recipe.getRemainingItems(C p_44004_) <C extends Container,T extends Recipe<C>> 
 NonNullList<ItemStack>RecipeManager.getRemainingItemsFor(RecipeType<T> p_44070_, C p_44071_, Level p_44072_) RecipeCache.Entry.key()Returns the value of thekeyrecord component.Methods in net.minecraft.world.item.crafting with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanIngredient.areStacksEqual(ItemStack left, ItemStack right) private static booleanIngredient.ItemValue.areStacksEqual(ItemStack left, ItemStack right) AbstractCookingRecipe.Factory.create(String p_312581_, CookingBookCategory p_312220_, Ingredient p_312282_, ItemStack p_311868_, float p_312803_, int p_312165_) SimpleCookingSerializer.create(String p_312671_, CookingBookCategory p_312067_, Ingredient p_312327_, ItemStack p_311758_, float p_312386_, int p_311986_) SingleItemRecipe.Factory.create(String p_311769_, Ingredient p_312083_, ItemStack p_312063_) booleanSmithingRecipe.isAdditionIngredient(ItemStack p_267132_) booleanSmithingTransformRecipe.isAdditionIngredient(ItemStack p_267260_) booleanSmithingTrimRecipe.isAdditionIngredient(ItemStack p_266922_) booleanSmithingRecipe.isBaseIngredient(ItemStack p_266962_) booleanSmithingTransformRecipe.isBaseIngredient(ItemStack p_267276_) booleanSmithingTrimRecipe.isBaseIngredient(ItemStack p_266795_) booleanSmithingRecipe.isTemplateIngredient(ItemStack p_266982_) booleanSmithingTransformRecipe.isTemplateIngredient(ItemStack p_267113_) booleanSmithingTrimRecipe.isTemplateIngredient(ItemStack p_266762_) static IngredientbooleanMethod parameters in net.minecraft.world.item.crafting with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate voidRecipeCache.insert(List<ItemStack> p_307307_, CraftingRecipe p_307338_) booleanstatic IngredientConstructors in net.minecraft.world.item.crafting with parameters of type ItemStackModifierConstructorDescriptionAbstractCookingRecipe(RecipeType<?> p_250197_, String p_249518_, CookingBookCategory p_250891_, Ingredient p_251354_, ItemStack p_252185_, float p_252165_, int p_250256_) BlastingRecipe(String p_251053_, CookingBookCategory p_249936_, Ingredient p_251550_, ItemStack p_251027_, float p_250843_, int p_249841_) CampfireCookingRecipe(String p_250140_, CookingBookCategory p_251808_, Ingredient p_249826_, ItemStack p_251839_, float p_251432_, int p_251471_) Creates an instance of aItemValuerecord class.ShapedRecipe(String p_250221_, CraftingBookCategory p_250716_, ShapedRecipePattern p_312814_, ItemStack p_248581_) ShapedRecipe(String p_272759_, CraftingBookCategory p_273506_, ShapedRecipePattern p_312827_, ItemStack p_272852_, boolean p_312010_) ShapelessRecipe(String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) SingleItemRecipe(RecipeType<?> p_44416_, RecipeSerializer<?> p_44417_, String p_44419_, Ingredient p_44420_, ItemStack p_44421_) SmeltingRecipe(String p_250200_, CookingBookCategory p_251114_, Ingredient p_250340_, ItemStack p_250306_, float p_249577_, int p_250030_) SmithingTransformRecipe(Ingredient p_266750_, Ingredient p_266787_, Ingredient p_267292_, ItemStack p_267031_) SmokingRecipe(String p_249312_, CookingBookCategory p_251017_, Ingredient p_252345_, ItemStack p_250002_, float p_250535_, int p_251222_) StonecutterRecipe(String p_44479_, Ingredient p_44480_, ItemStack p_302318_) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type ItemStackModifierConstructorDescription(package private)Entry(NonNullList<ItemStack> key, CraftingRecipe value) Creates an instance of aEntryrecord class.Creates an instance of aItemValuerecord class.Creates an instance of aItemValuerecord class.
- 
Uses of ItemStack in net.minecraft.world.item.enchantmentMethods in net.minecraft.world.item.enchantment that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchantItem(RandomSource p_220293_, ItemStack p_220294_, int p_220295_, boolean p_220296_) Methods in net.minecraft.world.item.enchantment that return types with arguments of type ItemStackModifier and TypeMethodDescriptionstatic Map.Entry<EquipmentSlot,ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_44907_, LivingEntity p_44908_) static Map.Entry<EquipmentSlot,ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_44840_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) Enchantment.getSlotItems(LivingEntity p_44685_) Methods in net.minecraft.world.item.enchantment with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanEnchantment.canApplyAtEnchantingTable(ItemStack stack) This applies specifically to applying at the enchanting table.booleanBindingCurseEnchantment.canEnchant(ItemStack p_270577_) booleanDamageEnchantment.canEnchant(ItemStack p_44642_) booleanDigDurabilityEnchantment.canEnchant(ItemStack p_44654_) booleanDiggingEnchantment.canEnchant(ItemStack p_44668_) booleanEnchantment.canEnchant(ItemStack p_44689_) booleanThornsEnchantment.canEnchant(ItemStack p_45205_) static ItemStackEnchantmentHelper.enchantItem(RandomSource p_220293_, ItemStack p_220294_, int p_220295_, boolean p_220296_) static List<EnchantmentInstance>EnchantmentHelper.getAvailableEnchantmentResults(int p_44818_, ItemStack p_44819_, boolean p_44820_) static floatEnchantmentHelper.getDamageBonus(ItemStack p_44834_, MobType p_44835_) static intEnchantmentHelper.getEnchantmentCost(RandomSource p_220288_, int p_220289_, int p_220290_, ItemStack p_220291_) static Map<Enchantment,Integer> EnchantmentHelper.getEnchantments(ItemStack p_44832_) Gets all enchantment levels from NBT.static intEnchantmentHelper.getFishingLuckBonus(ItemStack p_44905_) static intEnchantmentHelper.getFishingSpeedBonus(ItemStack p_44917_) static intEnchantmentHelper.getItemEnchantmentLevel(Enchantment p_44844_, ItemStack p_44845_) static intEnchantmentHelper.getLoyalty(ItemStack p_44929_) static intEnchantmentHelper.getRiptide(ItemStack p_44933_) static intEnchantmentHelper.getTagEnchantmentLevel(Enchantment p_44844_, ItemStack p_44845_) Gets the enchantment level from NBT.static booleanEnchantmentHelper.hasBindingCurse(ItemStack p_44921_) static booleanEnchantmentHelper.hasChanneling(ItemStack p_44937_) static booleanEnchantmentHelper.hasSilkTouch(ItemStack p_273444_) static booleanEnchantmentHelper.hasVanishingCurse(ItemStack p_44925_) private static voidEnchantmentHelper.runIterationOnItem(EnchantmentHelper.EnchantmentVisitor p_44851_, ItemStack p_44852_) static List<EnchantmentInstance>EnchantmentHelper.selectEnchantment(RandomSource p_220298_, ItemStack p_220299_, int p_220300_, boolean p_220301_) static voidEnchantmentHelper.setEnchantments(Map<Enchantment, Integer> p_44866_, ItemStack p_44867_) static booleanDigDurabilityEnchantment.shouldIgnoreDurabilityDrop(ItemStack p_220283_, int p_220284_, RandomSource p_220285_) Method parameters in net.minecraft.world.item.enchantment with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic intEnchantmentHelper.getDamageProtection(Iterable<ItemStack> p_44857_, DamageSource p_44858_) static Map.Entry<EquipmentSlot,ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_44840_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) private static voidEnchantmentHelper.runIterationOnInventory(EnchantmentHelper.EnchantmentVisitor p_44854_, Iterable<ItemStack> p_44855_) 
- 
Uses of ItemStack in net.minecraft.world.item.tradingFields in net.minecraft.world.item.trading declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackMerchantOffer.baseCostAprivate final ItemStackMerchantOffer.costBprivate final ItemStackMerchantOffer.resultMethods in net.minecraft.world.item.trading that return ItemStackModifier and TypeMethodDescriptionMerchantOffer.assemble()MerchantOffer.getBaseCostA()MerchantOffer.getCostA()MerchantOffer.getCostB()MerchantOffer.getResult()Methods in net.minecraft.world.item.trading with parameters of type ItemStackModifier and TypeMethodDescriptionMerchantOffers.getRecipeFor(ItemStack p_45390_, ItemStack p_45391_, int p_45392_) private booleanMerchantOffer.isRequiredItem(ItemStack p_45366_, ItemStack p_45367_) voidMerchant.notifyTradeUpdated(ItemStack p_45308_) booleanMerchantOffer.satisfiedBy(ItemStack p_45356_, ItemStack p_45357_) booleanConstructors in net.minecraft.world.item.trading with parameters of type ItemStackModifierConstructorDescriptionMerchantOffer(ItemStack p_45321_, ItemStack p_45322_, int p_45323_, int p_45324_, float p_45325_) MerchantOffer(ItemStack p_45327_, ItemStack p_45328_, ItemStack p_45329_, int p_45330_, int p_45331_, float p_45332_) MerchantOffer(ItemStack p_45334_, ItemStack p_45335_, ItemStack p_45336_, int p_45337_, int p_45338_, int p_45339_, float p_45340_) MerchantOffer(ItemStack p_45342_, ItemStack p_45343_, ItemStack p_45344_, int p_45345_, int p_45346_, int p_45347_, float p_45348_, int p_45349_) 
- 
Uses of ItemStack in net.minecraft.world.levelMethods in net.minecraft.world.level with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static voidExplosion.addOrAppendStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> p_312455_, ItemStack p_312913_, BlockPos p_312738_) static voidSpawner.appendHoverText(ItemStack p_311863_, List<Component> p_312185_, String p_312723_) static ComponentSpawner.getSpawnEntityDisplayName(ItemStack p_312585_, String p_312442_) Method parameters in net.minecraft.world.level with type arguments of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.level.blockMethods in net.minecraft.world.level.block that return ItemStackModifier and TypeMethodDescriptionAbstractBannerBlock.getCloneItemStack(LevelReader p_304796_, BlockPos p_48665_, BlockState p_48666_) AttachedStemBlock.getCloneItemStack(LevelReader p_304950_, BlockPos p_48839_, BlockState p_48840_) BambooSaplingBlock.getCloneItemStack(LevelReader p_304956_, BlockPos p_48965_, BlockState p_48966_) BigDripleafStemBlock.getCloneItemStack(LevelReader p_304938_, BlockPos p_152337_, BlockState p_152338_) Block.getCloneItemStack(LevelReader p_304395_, BlockPos p_49824_, BlockState p_49825_) Deprecated.CandleCakeBlock.getCloneItemStack(LevelReader p_304662_, BlockPos p_152863_, BlockState p_152864_) CaveVinesBlock.getCloneItemStack(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_) CaveVinesPlantBlock.getCloneItemStack(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_) CropBlock.getCloneItemStack(LevelReader p_304482_, BlockPos p_52255_, BlockState p_52256_) DecoratedPotBlock.getCloneItemStack(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) EndGatewayBlock.getCloneItemStack(LevelReader p_304768_, BlockPos p_53004_, BlockState p_53005_) EndPortalBlock.getCloneItemStack(LevelReader p_304508_, BlockPos p_53022_, BlockState p_53023_) FlowerPotBlock.getCloneItemStack(LevelReader p_304505_, BlockPos p_53532_, BlockState p_53533_) FrostedIceBlock.getCloneItemStack(LevelReader p_304729_, BlockPos p_53571_, BlockState p_53572_) GrowingPlantBodyBlock.getCloneItemStack(LevelReader p_304650_, BlockPos p_53897_, BlockState p_53898_) LightBlock.getCloneItemStack(LevelReader p_304798_, BlockPos p_153665_, BlockState p_153666_) NetherPortalBlock.getCloneItemStack(LevelReader p_304402_, BlockPos p_54912_, BlockState p_54913_) NetherWartBlock.getCloneItemStack(LevelReader p_304797_, BlockPos p_54974_, BlockState p_54975_) ShulkerBoxBlock.getCloneItemStack(LevelReader p_304539_, BlockPos p_56203_, BlockState p_56204_) StemBlock.getCloneItemStack(LevelReader p_304982_, BlockPos p_57027_, BlockState p_57028_) SweetBerryBushBlock.getCloneItemStack(LevelReader p_304655_, BlockPos p_57257_, BlockState p_57258_) TallSeagrassBlock.getCloneItemStack(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_) static ItemStackShulkerBoxBlock.getColoredItemStack(DyeColor p_56251_) BarrierBlock.pickupBlock(Player p_295338_, LevelAccessor p_295817_, BlockPos p_295857_, BlockState p_294189_) BubbleColumnBlock.pickupBlock(Player p_295722_, LevelAccessor p_152712_, BlockPos p_152713_, BlockState p_152714_) BucketPickup.pickupBlock(Player p_294682_, LevelAccessor p_152719_, BlockPos p_152720_, BlockState p_152721_) LiquidBlock.pickupBlock(Player p_295410_, LevelAccessor p_153772_, BlockPos p_153773_, BlockState p_153774_) PowderSnowBlock.pickupBlock(Player p_295645_, LevelAccessor p_154281_, BlockPos p_154282_, BlockState p_154283_) default ItemStackSimpleWaterloggedBlock.pickupBlock(Player p_294786_, LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_) static ItemStackLightBlock.setLightOnStack(ItemStack p_259339_, int p_259353_) Methods in net.minecraft.world.level.block that return types with arguments of type ItemStackModifier and TypeMethodDescriptionBeehiveBlock.getDrops(BlockState p_49636_, LootParams.Builder p_287581_) Block.getDrops(BlockState p_49870_, ServerLevel p_49871_, BlockPos p_49872_, BlockEntity p_49873_) Block.getDrops(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_) DecoratedPotBlock.getDrops(BlockState p_287683_, LootParams.Builder p_287582_) LiquidBlock.getDrops(BlockState p_54720_, LootParams.Builder p_287727_) PlayerWallHeadBlock.getDrops(BlockState p_287758_, LootParams.Builder p_287648_) ShulkerBoxBlock.getDrops(BlockState p_287632_, LootParams.Builder p_287691_) Methods in net.minecraft.world.level.block with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static voidChiseledBookShelfBlock.addBook(Level p_262592_, BlockPos p_262669_, Player p_262572_, ChiseledBookShelfBlockEntity p_262606_, ItemStack p_262587_, int p_262692_) (package private) static BlockStateComposterBlock.addItem(Entity p_270464_, BlockState p_270603_, LevelAccessor p_270151_, BlockPos p_270547_, ItemStack p_270354_) voidBlock.appendHoverText(ItemStack p_49816_, BlockGetter p_49817_, List<Component> p_49818_, TooltipFlag p_49819_) voidDecoratedPotBlock.appendHoverText(ItemStack p_285238_, BlockGetter p_285450_, List<Component> p_285448_, TooltipFlag p_284997_) voidShulkerBoxBlock.appendHoverText(ItemStack p_56193_, BlockGetter p_56194_, List<Component> p_56195_, TooltipFlag p_56196_) voidSpawnerBlock.appendHoverText(ItemStack p_255714_, BlockGetter p_255801_, List<Component> p_255708_, TooltipFlag p_255667_) voidTrialSpawnerBlock.appendHoverText(ItemStack p_312446_, BlockGetter p_312129_, List<Component> p_312088_, TooltipFlag p_311895_) booleanComposterBlock.EmptyContainer.canPlaceItemThroughFace(int p_52008_, ItemStack p_52009_, Direction p_52010_) booleanComposterBlock.InputContainer.canPlaceItemThroughFace(int p_52028_, ItemStack p_52029_, Direction p_52030_) booleanComposterBlock.OutputContainer.canPlaceItemThroughFace(int p_52049_, ItemStack p_52050_, Direction p_52051_) static booleanWitherSkullBlock.canSpawnMob(Level p_58268_, BlockPos p_58269_, ItemStack p_58270_) booleanComposterBlock.EmptyContainer.canTakeItemThroughFace(int p_52014_, ItemStack p_52015_, Direction p_52016_) booleanComposterBlock.InputContainer.canTakeItemThroughFace(int p_52034_, ItemStack p_52035_, Direction p_52036_) booleanComposterBlock.OutputContainer.canTakeItemThroughFace(int p_52055_, ItemStack p_52056_, Direction p_52057_) private voidCrafterBlock.dispenseItem(Level p_307361_, BlockPos p_307620_, CrafterBlockEntity p_307387_, ItemStack p_307296_, BlockState p_307501_) static voidBlock.dropResources(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_) static voidBlock.dropResources(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_, boolean dropXp) protected DispenseItemBehaviorDispenserBlock.getDispenseMethod(ItemStack p_52667_) protected DispenseItemBehaviorDropperBlock.getDispenseMethod(ItemStack p_52947_) Block.getDrops(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_) static floatstatic BlockStateComposterBlock.insertItem(Entity p_270919_, BlockState p_270087_, ServerLevel p_270284_, ItemStack p_270253_, BlockPos p_270678_) private static booleanRespawnAnchorBlock.isRespawnFuel(ItemStack p_55849_) private static voidLecternBlock.placeBook(Entity p_270891_, Level p_270065_, BlockPos p_270155_, BlockState p_270753_, ItemStack p_270173_) voidBeehiveBlock.playerDestroy(Level p_49584_, Player p_49585_, BlockPos p_49586_, BlockState p_49587_, BlockEntity p_49588_, ItemStack p_49589_) voidBlock.playerDestroy(Level p_49827_, Player p_49828_, BlockPos p_49829_, BlockState p_49830_, BlockEntity p_49831_, ItemStack p_49832_) voidDoublePlantBlock.playerDestroy(Level p_52865_, Player p_52866_, BlockPos p_52867_, BlockState p_52868_, BlockEntity p_52869_, ItemStack p_52870_) voidIceBlock.playerDestroy(Level p_54157_, Player p_54158_, BlockPos p_54159_, BlockState p_54160_, BlockEntity p_54161_, ItemStack p_54162_) voidTurtleEggBlock.playerDestroy(Level p_57771_, Player p_57772_, BlockPos p_57773_, BlockState p_57774_, BlockEntity p_57775_, ItemStack p_57776_) private static voidBlock.popResource(Level p_152441_, Supplier<ItemEntity> p_152442_, ItemStack p_152443_) static voidBlock.popResource(Level p_49841_, BlockPos p_49842_, ItemStack p_49843_) static voidBlock.popResourceFromFace(Level p_152436_, BlockPos p_152437_, Direction p_152438_, ItemStack p_152439_) static ItemStackLightBlock.setLightOnStack(ItemStack p_259339_, int p_259353_) voidAbstractBannerBlock.setPlacedBy(Level p_48668_, BlockPos p_48669_, BlockState p_48670_, LivingEntity p_48671_, ItemStack p_48672_) voidAbstractFurnaceBlock.setPlacedBy(Level p_48694_, BlockPos p_48695_, BlockState p_48696_, LivingEntity p_48697_, ItemStack p_48698_) voidBarrelBlock.setPlacedBy(Level p_49052_, BlockPos p_49053_, BlockState p_49054_, LivingEntity p_49055_, ItemStack p_49056_) voidBeaconBlock.setPlacedBy(Level p_49426_, BlockPos p_49427_, BlockState p_49428_, LivingEntity p_49429_, ItemStack p_49430_) voidBedBlock.setPlacedBy(Level p_49499_, BlockPos p_49500_, BlockState p_49501_, LivingEntity p_49502_, ItemStack p_49503_) voidBlock.setPlacedBy(Level p_49847_, BlockPos p_49848_, BlockState p_49849_, LivingEntity p_49850_, ItemStack p_49851_) voidBrewingStandBlock.setPlacedBy(Level p_50913_, BlockPos p_50914_, BlockState p_50915_, LivingEntity p_50916_, ItemStack p_50917_) voidChestBlock.setPlacedBy(Level p_51503_, BlockPos p_51504_, BlockState p_51505_, LivingEntity p_51506_, ItemStack p_51507_) voidCommandBlock.setPlacedBy(Level p_51804_, BlockPos p_51805_, BlockState p_51806_, LivingEntity p_51807_, ItemStack p_51808_) voidConduitBlock.setPlacedBy(Level p_52100_, BlockPos p_52101_, BlockState p_52102_, LivingEntity p_52103_, ItemStack p_52104_) voidCrafterBlock.setPlacedBy(Level p_307219_, BlockPos p_307681_, BlockState p_307383_, LivingEntity p_307647_, ItemStack p_307190_) voidDecoratedPotBlock.setPlacedBy(Level p_295174_, BlockPos p_295227_, BlockState p_294576_, LivingEntity p_295902_, ItemStack p_294817_) voidDiodeBlock.setPlacedBy(Level p_52506_, BlockPos p_52507_, BlockState p_52508_, LivingEntity p_52509_, ItemStack p_52510_) voidDispenserBlock.setPlacedBy(Level p_52676_, BlockPos p_52677_, BlockState p_52678_, LivingEntity p_52679_, ItemStack p_52680_) voidDoorBlock.setPlacedBy(Level p_52749_, BlockPos p_52750_, BlockState p_52751_, LivingEntity p_52752_, ItemStack p_52753_) voidDoublePlantBlock.setPlacedBy(Level p_52872_, BlockPos p_52873_, BlockState p_52874_, LivingEntity p_52875_, ItemStack p_52876_) voidEnchantmentTableBlock.setPlacedBy(Level p_52963_, BlockPos p_52964_, BlockState p_52965_, LivingEntity p_52966_, ItemStack p_52967_) voidHopperBlock.setPlacedBy(Level p_54049_, BlockPos p_54050_, BlockState p_54051_, LivingEntity p_54052_, ItemStack p_54053_) voidJukeboxBlock.setPlacedBy(Level p_54264_, BlockPos p_54265_, BlockState p_54266_, LivingEntity p_54267_, ItemStack p_54268_) voidPitcherCropBlock.setPlacedBy(Level p_277432_, BlockPos p_277632_, BlockState p_277479_, LivingEntity p_277805_, ItemStack p_277663_) voidPlayerHeadBlock.setPlacedBy(Level p_55179_, BlockPos p_55180_, BlockState p_55181_, LivingEntity p_55182_, ItemStack p_55183_) voidPlayerWallHeadBlock.setPlacedBy(Level p_55187_, BlockPos p_55188_, BlockState p_55189_, LivingEntity p_55190_, ItemStack p_55191_) voidShulkerBoxBlock.setPlacedBy(Level p_56206_, BlockPos p_56207_, BlockState p_56208_, LivingEntity p_56209_, ItemStack p_56210_) voidSmallDripleafBlock.setPlacedBy(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) voidStructureBlock.setPlacedBy(Level p_57122_, BlockPos p_57123_, BlockState p_57124_, LivingEntity p_57125_, ItemStack p_57126_) voidTripWireHookBlock.setPlacedBy(Level p_57680_, BlockPos p_57681_, BlockState p_57682_, LivingEntity p_57683_, ItemStack p_57684_) voidWitherSkullBlock.setPlacedBy(Level p_58260_, BlockPos p_58261_, BlockState p_58262_, LivingEntity p_58263_, ItemStack p_58264_) voidWitherWallSkullBlock.setPlacedBy(Level p_58278_, BlockPos p_58279_, BlockState p_58280_, LivingEntity p_58281_, ItemStack p_58282_) private booleanCeilingHangingSignBlock.shouldTryToChainAnotherHangingSign(Player p_278279_, BlockHitResult p_278273_, SignBlockEntity p_278236_, ItemStack p_278343_) private booleanWallHangingSignBlock.shouldTryToChainAnotherHangingSign(BlockState p_278346_, Player p_278263_, BlockHitResult p_278269_, SignBlockEntity p_278290_, ItemStack p_278238_) voidDropExperienceBlock.spawnAfterBreak(BlockState p_221086_, ServerLevel p_221087_, BlockPos p_221088_, ItemStack p_221089_, boolean p_221090_) voidInfestedBlock.spawnAfterBreak(BlockState p_221360_, ServerLevel p_221361_, BlockPos p_221362_, ItemStack p_221363_, boolean p_221364_) voidRedStoneOreBlock.spawnAfterBreak(BlockState p_221907_, ServerLevel p_221908_, BlockPos p_221909_, ItemStack p_221910_, boolean p_221911_) voidSculkCatalystBlock.spawnAfterBreak(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) voidSculkSensorBlock.spawnAfterBreak(BlockState p_222142_, ServerLevel p_222143_, BlockPos p_222144_, ItemStack p_222145_, boolean p_222146_) voidSculkShriekerBlock.spawnAfterBreak(BlockState p_222192_, ServerLevel p_222193_, BlockPos p_222194_, ItemStack p_222195_, boolean p_222196_) voidSpawnerBlock.spawnAfterBreak(BlockState p_222477_, ServerLevel p_222478_, BlockPos p_222479_, ItemStack p_222480_, boolean p_222481_) protected voidBlock.tryDropExperience(ServerLevel p_220823_, BlockPos p_220824_, ItemStack p_220825_, IntProvider p_220826_) static booleanLecternBlock.tryPlaceBook(Entity p_270350_, Level p_270604_, BlockPos p_270276_, BlockState p_270445_, ItemStack p_270458_) Method parameters in net.minecraft.world.level.block with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAbstractCandleBlock.onExplosionHit(BlockState p_311992_, Level p_312631_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) voidBellBlock.onExplosionHit(BlockState p_311884_, Level p_311798_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) voidButtonBlock.onExplosionHit(BlockState p_312395_, Level p_311915_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) voidDoorBlock.onExplosionHit(BlockState p_312769_, Level p_312778_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) voidFenceGateBlock.onExplosionHit(BlockState p_312699_, Level p_311813_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) voidLeverBlock.onExplosionHit(BlockState p_312405_, Level p_312603_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) voidTrapDoorBlock.onExplosionHit(BlockState p_312371_, Level p_312286_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) Constructors in net.minecraft.world.level.block with parameters of type ItemStackModifierConstructorDescriptionOutputContainer(BlockState p_52042_, LevelAccessor p_52043_, BlockPos p_52044_, ItemStack p_52045_) 
- 
Uses of ItemStack in net.minecraft.world.level.block.entityFields in net.minecraft.world.level.block.entity declared as ItemStackModifier and TypeFieldDescription(package private) ItemStackLecternBlockEntity.bookprivate ItemStackBrushableBlockEntity.itemprivate ItemStackDecoratedPotBlockEntity.itemprivate ItemStackJukeboxBlockEntity.itemFields in net.minecraft.world.level.block.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionprotected NonNullList<ItemStack>AbstractFurnaceBlockEntity.itemsprivate NonNullList<ItemStack>BarrelBlockEntity.itemsprivate NonNullList<ItemStack>BrewingStandBlockEntity.itemsprivate final NonNullList<ItemStack>CampfireBlockEntity.itemsprivate NonNullList<ItemStack>ChestBlockEntity.itemsprivate final NonNullList<ItemStack>ChiseledBookShelfBlockEntity.itemsprivate NonNullList<ItemStack>CrafterBlockEntity.itemsprivate NonNullList<ItemStack>DispenserBlockEntity.itemsprivate NonNullList<ItemStack>HopperBlockEntity.itemsprivate NonNullList<ItemStack>ShulkerBoxBlockEntity.itemStacksMethods in net.minecraft.world.level.block.entity that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackHopperBlockEntity.addItem(Container p_59327_, Container p_59328_, ItemStack p_59329_, Direction p_59330_) static ItemStackDecoratedPotBlockEntity.createDecoratedPotItem(DecoratedPotBlockEntity.Decorations p_294162_) LecternBlockEntity.getBook()AbstractFurnaceBlockEntity.getItem(int p_58328_) BannerBlockEntity.getItem()BrewingStandBlockEntity.getItem(int p_58985_) BrushableBlockEntity.getItem()ChiseledBookShelfBlockEntity.getItem(int p_256203_) CrafterBlockEntity.getItem(int p_307189_) RandomizableContainerBlockEntity.getItem(int p_59611_) DecoratedPotBlockEntity.getPotAsItem()DecoratedPotBlockEntity.getTheItem()JukeboxBlockEntity.getTheItem()AbstractFurnaceBlockEntity.removeItem(int p_58330_, int p_58331_) BrewingStandBlockEntity.removeItem(int p_58987_, int p_58988_) ChiseledBookShelfBlockEntity.removeItem(int p_255828_, int p_255673_) HopperBlockEntity.removeItem(int p_59309_, int p_59310_) RandomizableContainerBlockEntity.removeItem(int p_59613_, int p_59614_) AbstractFurnaceBlockEntity.removeItemNoUpdate(int p_58387_) BrewingStandBlockEntity.removeItemNoUpdate(int p_59015_) ChiseledBookShelfBlockEntity.removeItemNoUpdate(int p_255874_) RandomizableContainerBlockEntity.removeItemNoUpdate(int p_59630_) private ItemStackLecternBlockEntity.resolveBook(ItemStack p_59555_, Player p_59556_) DecoratedPotBlockEntity.splitTheItem(int p_305991_) JukeboxBlockEntity.splitTheItem(int p_304604_) private static ItemStackHopperBlockEntity.tryMoveInItem(Container p_59321_, Container p_59322_, ItemStack p_59323_, int p_59324_, Direction p_59325_) Methods in net.minecraft.world.level.block.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprotected NonNullList<ItemStack>BarrelBlockEntity.getItems()CampfireBlockEntity.getItems()protected NonNullList<ItemStack>ChestBlockEntity.getItems()CrafterBlockEntity.getItems()protected NonNullList<ItemStack>DispenserBlockEntity.getItems()protected NonNullList<ItemStack>HopperBlockEntity.getItems()protected abstract NonNullList<ItemStack>RandomizableContainerBlockEntity.getItems()protected NonNullList<ItemStack>ShulkerBoxBlockEntity.getItems()Methods in net.minecraft.world.level.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionintstatic ItemStackHopperBlockEntity.addItem(Container p_59327_, Container p_59328_, ItemStack p_59329_, Direction p_59330_) private static booleanHopperBlockEntity.canMergeItems(ItemStack p_59345_, ItemStack p_59346_) booleanAbstractFurnaceBlockEntity.canPlaceItem(int p_58389_, ItemStack p_58390_) booleanBrewingStandBlockEntity.canPlaceItem(int p_59017_, ItemStack p_59018_) booleanChiseledBookShelfBlockEntity.canPlaceItem(int p_256567_, ItemStack p_255922_) booleanCrafterBlockEntity.canPlaceItem(int p_307543_, ItemStack p_307267_) booleanJukeboxBlockEntity.canPlaceItem(int p_273369_, ItemStack p_273689_) private static booleanHopperBlockEntity.canPlaceItemInContainer(Container p_59335_, ItemStack p_59336_, int p_59337_, Direction p_59338_) booleanAbstractFurnaceBlockEntity.canPlaceItemThroughFace(int p_58336_, ItemStack p_58337_, Direction p_58338_) booleanBrewingStandBlockEntity.canPlaceItemThroughFace(int p_58996_, ItemStack p_58997_, Direction p_58998_) booleanShulkerBoxBlockEntity.canPlaceItemThroughFace(int p_59663_, ItemStack p_59664_, Direction p_59665_) booleanChiseledBookShelfBlockEntity.canTakeItem(Container p_282172_, int p_281387_, ItemStack p_283257_) booleanJukeboxBlockEntity.canTakeItem(Container p_273497_, int p_273168_, ItemStack p_273785_) private static booleanHopperBlockEntity.canTakeItemFromContainer(Container p_273433_, Container p_273542_, ItemStack p_273400_, int p_273519_, Direction p_273088_) booleanAbstractFurnaceBlockEntity.canTakeItemThroughFace(int p_58392_, ItemStack p_58393_, Direction p_58394_) booleanBrewingStandBlockEntity.canTakeItemThroughFace(int p_59020_, ItemStack p_59021_, Direction p_59022_) booleanShulkerBoxBlockEntity.canTakeItemThroughFace(int p_59682_, ItemStack p_59683_, Direction p_59684_) voidvoidprotected intAbstractFurnaceBlockEntity.getBurnDuration(ItemStack p_58343_) protected intBlastFurnaceBlockEntity.getBurnDuration(ItemStack p_58852_) protected intSmokerBlockEntity.getBurnDuration(ItemStack p_59786_) CampfireBlockEntity.getCookableRecipe(ItemStack p_59052_) static ListTagBannerBlockEntity.getItemPatterns(ItemStack p_58488_) static intBannerBlockEntity.getPatternCount(ItemStack p_58505_) static booleanbooleanstatic voidBannerBlockEntity.removeLastPattern(ItemStack p_58510_) private ItemStackLecternBlockEntity.resolveBook(ItemStack p_59555_, Player p_59556_) voidBlockEntity.saveToItem(ItemStack p_187477_) voidvoidvoidDecoratedPotBlockEntity.setFromItem(ItemStack p_273109_) voidvoidvoidvoidvoidvoidvoidJukeboxBlockEntity.setRecordWithoutPlaying(ItemStack p_272693_) voidDecoratedPotBlockEntity.setTheItem(ItemStack p_305817_) voidJukeboxBlockEntity.setTheItem(ItemStack p_304781_) private booleanCrafterBlockEntity.smallerStackExist(int p_307396_, ItemStack p_307520_, int p_307348_) private static ItemStackHopperBlockEntity.tryMoveInItem(Container p_59321_, Container p_59322_, ItemStack p_59323_, int p_59324_, Direction p_59325_) Method parameters in net.minecraft.world.level.block.entity with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAbstractFurnaceBlockEntity.awardUsedRecipes(Player p_58396_, List<ItemStack> p_282202_) private booleanAbstractFurnaceBlockEntity.burn(RegistryAccess p_266740_, RecipeHolder<?> p_300910_, NonNullList<ItemStack> p_267073_, int p_267157_) private booleanAbstractFurnaceBlockEntity.canBurn(RegistryAccess p_266924_, RecipeHolder<?> p_301107_, NonNullList<ItemStack> p_155007_, int p_155008_) private static voidBrewingStandBlockEntity.doBrew(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) private static booleanBrewingStandBlockEntity.isBrewable(NonNullList<ItemStack> p_155295_) protected voidBarrelBlockEntity.setItems(NonNullList<ItemStack> p_58610_) protected voidChestBlockEntity.setItems(NonNullList<ItemStack> p_59110_) protected voidCrafterBlockEntity.setItems(NonNullList<ItemStack> p_307392_) protected voidDispenserBlockEntity.setItems(NonNullList<ItemStack> p_59243_) protected voidHopperBlockEntity.setItems(NonNullList<ItemStack> p_59371_) protected abstract voidRandomizableContainerBlockEntity.setItems(NonNullList<ItemStack> p_59625_) protected voidShulkerBoxBlockEntity.setItems(NonNullList<ItemStack> p_59674_) 
- 
Uses of ItemStack in net.minecraft.world.level.block.pistonMethods in net.minecraft.world.level.block.piston that return ItemStackModifier and TypeMethodDescriptionMovingPistonBlock.getCloneItemStack(LevelReader p_304937_, BlockPos p_60058_, BlockState p_60059_) PistonHeadBlock.getCloneItemStack(LevelReader p_304638_, BlockPos p_60262_, BlockState p_60263_) Methods in net.minecraft.world.level.block.piston that return types with arguments of type ItemStackModifier and TypeMethodDescriptionMovingPistonBlock.getDrops(BlockState p_287650_, LootParams.Builder p_287754_) Methods in net.minecraft.world.level.block.piston with parameters of type ItemStackModifier and TypeMethodDescriptionvoidPistonBaseBlock.setPlacedBy(Level p_60172_, BlockPos p_60173_, BlockState p_60174_, LivingEntity p_60175_, ItemStack p_60176_) 
- 
Uses of ItemStack in net.minecraft.world.level.block.stateMethods in net.minecraft.world.level.block.state that return types with arguments of type ItemStackModifier and TypeMethodDescriptionBlockBehaviour.BlockStateBase.getDrops(LootParams.Builder p_287688_) BlockBehaviour.getDrops(BlockState p_287732_, LootParams.Builder p_287596_) Deprecated.Methods in net.minecraft.world.level.block.state with parameters of type ItemStackModifier and TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.spawnAfterBreak(ServerLevel p_222968_, BlockPos p_222969_, ItemStack p_222970_, boolean p_222971_) voidBlockBehaviour.spawnAfterBreak(BlockState p_222949_, ServerLevel p_222950_, BlockPos p_222951_, ItemStack p_222952_, boolean p_222953_) Deprecated.Method parameters in net.minecraft.world.level.block.state with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.onExplosionHit(Level p_312839_, BlockPos p_311872_, Explosion p_312863_, BiConsumer<ItemStack, BlockPos> p_312559_) voidBlockBehaviour.onExplosionHit(BlockState p_311951_, Level p_312820_, BlockPos p_312489_, Explosion p_312925_, BiConsumer<ItemStack, BlockPos> p_312073_) Deprecated.
- 
Uses of ItemStack in net.minecraft.world.level.saveddata.mapsMethods in net.minecraft.world.level.saveddata.maps with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidMapItemSavedData.addTargetDecoration(ItemStack p_77926_, BlockPos p_77927_, String p_77928_, MapDecoration.Type p_77929_) voidMapItemSavedData.tickCarriedBy(Player p_77919_, ItemStack p_77920_) 
- 
Uses of ItemStack in net.minecraft.world.level.storage.lootFields in net.minecraft.world.level.storage.loot with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootPool.compositeFunctionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootPool.compositeFunctionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootTable.compositeFunctionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootTable.compositeFunctionMethods in net.minecraft.world.level.storage.loot that return types with arguments of type ItemStackModifier and TypeMethodDescriptionLootTable.createStackSplitter(ServerLevel p_287765_, Consumer<ItemStack> p_251308_) private it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootTable.getRandomItems(LootContext p_230923_) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootTable.getRandomItems(LootParams p_287616_) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootTable.getRandomItems(LootParams p_287574_, long p_287773_) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidvoidLootContext.addDynamicDrops(ResourceLocation p_78943_, Consumer<ItemStack> p_78944_) voidLootParams.addDynamicDrops(ResourceLocation p_287768_, Consumer<ItemStack> p_287711_) private voidLootPool.addRandomItem(Consumer<ItemStack> p_79059_, LootContext p_79060_) voidLootPool.addRandomItems(Consumer<ItemStack> p_79054_, LootContext p_79055_) LootTable.createStackSplitter(ServerLevel p_287765_, Consumer<ItemStack> p_251308_) voidLootTable.getRandomItems(LootContext p_79149_, Consumer<ItemStack> p_79150_) voidLootTable.getRandomItems(LootParams p_287748_, long p_287729_, Consumer<ItemStack> p_287583_) voidLootTable.getRandomItems(LootParams p_287704_, Consumer<ItemStack> p_287617_) voidLootTable.getRandomItemsRaw(LootContext p_79132_, Consumer<ItemStack> p_79133_) Deprecated.voidLootTable.getRandomItemsRaw(LootParams p_287669_, Consumer<ItemStack> p_287781_) Deprecated.private voidLootTable.shuffleAndSplitItems(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> p_230925_, int p_230926_, RandomSource p_230927_) 
- 
Uses of ItemStack in net.minecraft.world.level.storage.loot.entriesFields in net.minecraft.world.level.storage.loot.entries with type parameters of type ItemStackModifier and TypeFieldDescription(package private) final BiFunction<ItemStack,LootContext, ItemStack> LootPoolSingletonContainer.compositeFunction(package private) final BiFunction<ItemStack,LootContext, ItemStack> LootPoolSingletonContainer.compositeFunctionMethod parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidDynamicLoot.createItemStack(Consumer<ItemStack> p_79481_, LootContext p_79482_) voidEmptyLootItem.createItemStack(Consumer<ItemStack> p_79531_, LootContext p_79532_) voidLootItem.createItemStack(Consumer<ItemStack> p_79590_, LootContext p_79591_) voidLootPoolEntry.createItemStack(Consumer<ItemStack> p_79633_, LootContext p_79634_) protected abstract voidLootPoolSingletonContainer.createItemStack(Consumer<ItemStack> p_79691_, LootContext p_79692_) voidLootTableReference.createItemStack(Consumer<ItemStack> p_79774_, LootContext p_79775_) voidTagEntry.createItemStack(Consumer<ItemStack> p_79854_, LootContext p_79855_) 
- 
Uses of ItemStack in net.minecraft.world.level.storage.loot.functionsFields in net.minecraft.world.level.storage.loot.functions with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> SequenceFunction.compositeFunctionprivate final BiFunction<ItemStack,LootContext, ItemStack> SequenceFunction.compositeFunctionstatic final BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.IDENTITYstatic final BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.IDENTITYMethods in net.minecraft.world.level.storage.loot.functions that return ItemStackModifier and TypeMethodDescriptionfinal ItemStackLootItemConditionalFunction.apply(ItemStack p_80689_, LootContext p_80690_) SequenceFunction.apply(ItemStack p_299268_, LootContext p_298221_) private static ItemStackEnchantRandomlyFunction.enchantItem(ItemStack p_230980_, Enchantment p_230981_, RandomSource p_230982_) ApplyBonusCount.run(ItemStack p_79913_, LootContext p_79914_) ApplyExplosionDecay.run(ItemStack p_80034_, LootContext p_80035_) protected ItemStackCopyBlockState.run(ItemStack p_80060_, LootContext p_80061_) CopyNameFunction.run(ItemStack p_80185_, LootContext p_80186_) CopyNbtFunction.run(ItemStack p_80250_, LootContext p_80251_) EnchantRandomlyFunction.run(ItemStack p_80429_, LootContext p_80430_) EnchantWithLevelsFunction.run(ItemStack p_80483_, LootContext p_80484_) ExplorationMapFunction.run(ItemStack p_80547_, LootContext p_80548_) FillPlayerHead.run(ItemStack p_80608_, LootContext p_80609_) protected ItemStackFunctionReference.run(ItemStack p_279458_, LootContext p_279370_) LimitCount.run(ItemStack p_80644_, LootContext p_80645_) LootingEnchantFunction.run(ItemStack p_80789_, LootContext p_80790_) protected abstract ItemStackLootItemConditionalFunction.run(ItemStack p_80679_, LootContext p_80680_) SetAttributesFunction.run(ItemStack p_80840_, LootContext p_80841_) protected ItemStackSetBannerPatternFunction.run(ItemStack p_165280_, LootContext p_165281_) SetContainerContents.run(ItemStack p_80911_, LootContext p_80912_) SetContainerLootTable.run(ItemStack p_80967_, LootContext p_80968_) SetEnchantmentsFunction.run(ItemStack p_165346_, LootContext p_165347_) SetInstrumentFunction.run(ItemStack p_231017_, LootContext p_231018_) SetItemCountFunction.run(ItemStack p_81006_, LootContext p_81007_) SetItemDamageFunction.run(ItemStack p_81048_, LootContext p_81049_) SetLoreFunction.run(ItemStack p_81089_, LootContext p_81090_) SetNameFunction.run(ItemStack p_81137_, LootContext p_81138_) SetNbtFunction.run(ItemStack p_81183_, LootContext p_81184_) SetPotionFunction.run(ItemStack p_193073_, LootContext p_193074_) SetStewEffectFunction.run(ItemStack p_81223_, LootContext p_81224_) SmeltItemFunction.run(ItemStack p_81268_, LootContext p_81269_) Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type ItemStackModifier and TypeMethodDescriptionstatic BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_) static BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_) LootItemFunction.decorate(BiFunction<ItemStack, LootContext, ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ItemStackModifier and TypeMethodDescriptionfinal ItemStackLootItemConditionalFunction.apply(ItemStack p_80689_, LootContext p_80690_) SequenceFunction.apply(ItemStack p_299268_, LootContext p_298221_) private static ItemStackEnchantRandomlyFunction.enchantItem(ItemStack p_230980_, Enchantment p_230981_, RandomSource p_230982_) private ListTagSetLoreFunction.getLoreTag(ItemStack p_81092_, boolean p_81093_) ApplyBonusCount.run(ItemStack p_79913_, LootContext p_79914_) ApplyExplosionDecay.run(ItemStack p_80034_, LootContext p_80035_) protected ItemStackCopyBlockState.run(ItemStack p_80060_, LootContext p_80061_) CopyNameFunction.run(ItemStack p_80185_, LootContext p_80186_) CopyNbtFunction.run(ItemStack p_80250_, LootContext p_80251_) EnchantRandomlyFunction.run(ItemStack p_80429_, LootContext p_80430_) EnchantWithLevelsFunction.run(ItemStack p_80483_, LootContext p_80484_) ExplorationMapFunction.run(ItemStack p_80547_, LootContext p_80548_) FillPlayerHead.run(ItemStack p_80608_, LootContext p_80609_) protected ItemStackFunctionReference.run(ItemStack p_279458_, LootContext p_279370_) LimitCount.run(ItemStack p_80644_, LootContext p_80645_) LootingEnchantFunction.run(ItemStack p_80789_, LootContext p_80790_) protected abstract ItemStackLootItemConditionalFunction.run(ItemStack p_80679_, LootContext p_80680_) SetAttributesFunction.run(ItemStack p_80840_, LootContext p_80841_) protected ItemStackSetBannerPatternFunction.run(ItemStack p_165280_, LootContext p_165281_) SetContainerContents.run(ItemStack p_80911_, LootContext p_80912_) SetContainerLootTable.run(ItemStack p_80967_, LootContext p_80968_) SetEnchantmentsFunction.run(ItemStack p_165346_, LootContext p_165347_) SetInstrumentFunction.run(ItemStack p_231017_, LootContext p_231018_) SetItemCountFunction.run(ItemStack p_81006_, LootContext p_81007_) SetItemDamageFunction.run(ItemStack p_81048_, LootContext p_81049_) SetLoreFunction.run(ItemStack p_81089_, LootContext p_81090_) SetNameFunction.run(ItemStack p_81137_, LootContext p_81138_) SetNbtFunction.run(ItemStack p_81183_, LootContext p_81184_) SetPotionFunction.run(ItemStack p_193073_, LootContext p_193074_) SetStewEffectFunction.run(ItemStack p_81223_, LootContext p_81224_) SmeltItemFunction.run(ItemStack p_81268_, LootContext p_81269_) Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_) static BiFunction<ItemStack,LootContext, ItemStack> LootItemFunctions.compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_) LootItemFunction.decorate(BiFunction<ItemStack, LootContext, ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_) LootItemFunction.decorate(BiFunction<ItemStack, LootContext, ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_) LootItemFunction.decorate(BiFunction<ItemStack, LootContext, ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_) 
- 
Uses of ItemStack in net.minecraft.world.level.storage.loot.parametersFields in net.minecraft.world.level.storage.loot.parameters with type parameters of type ItemStack
- 
Uses of ItemStack in net.minecraft.world.phys.shapesFields in net.minecraft.world.phys.shapes declared as ItemStackConstructors in net.minecraft.world.phys.shapes with parameters of type ItemStackModifierConstructorDescriptionprotectedEntityCollisionContext(boolean p_198916_, double p_198917_, ItemStack p_198918_, Predicate<FluidState> p_198919_, Entity p_198920_) 
- 
Uses of ItemStack in net.minecraft.world.ticksMethods in net.minecraft.world.ticks that return ItemStackModifier and TypeMethodDescriptiondefault ItemStackContainerSingleItem.getItem(int p_304882_) ContainerSingleItem.getTheItem()default ItemStackContainerSingleItem.removeItem(int p_304944_, int p_304791_) default ItemStackContainerSingleItem.removeItemNoUpdate(int p_273409_) default ItemStackContainerSingleItem.removeTheItem()ContainerSingleItem.splitTheItem(int p_304641_) Methods in net.minecraft.world.ticks with parameters of type ItemStackModifier and TypeMethodDescriptiondefault voidvoidContainerSingleItem.setTheItem(ItemStack p_304718_) 
- 
Uses of ItemStack in net.neoforged.neoforge.attachmentMethods in net.neoforged.neoforge.attachment that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackAttachmentInternals.reconstructItemStack(Item item, int count, @Nullable CompoundTag tag) Perform the inverse operation ofAttachmentInternals.addAttachmentsToTag(net.minecraft.nbt.CompoundTag, net.minecraft.world.item.ItemStack, boolean)on stack reception.Methods in net.neoforged.neoforge.attachment with parameters of type ItemStackModifier and TypeMethodDescriptionstatic @Nullable CompoundTagAttachmentInternals.addAttachmentsToTag(@Nullable CompoundTag tag, ItemStack stack, boolean fullCopy) static voidAttachmentInternals.copyStackAttachments(ItemStack from, ItemStack to) 
- 
Uses of ItemStack in net.neoforged.neoforge.capabilitiesFields in net.neoforged.neoforge.capabilities with type parameters of type ItemStackMethods in net.neoforged.neoforge.capabilities with parameters of type ItemStackMethod parameters in net.neoforged.neoforge.capabilities with type arguments of type ItemStackModifier and TypeMethodDescription<T,C> void RegisterCapabilitiesEvent.registerItem(ItemCapability<T, C> capability, ICapabilityProvider<ItemStack, C, T> provider, ItemLike... items) Register a capability provider for some items.
- 
Uses of ItemStack in net.neoforged.neoforge.clientFields in net.neoforged.neoforge.client with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate static final Map<CreativeModeTab,SearchRegistry.Key<ItemStack>> CreativeModeTabSearchRegistry.NAME_SEARCH_KEYSprivate static final Map<CreativeModeTab,SearchRegistry.Key<ItemStack>> CreativeModeTabSearchRegistry.TAG_SEARCH_KEYSMethods in net.neoforged.neoforge.client that return types with arguments of type ItemStackModifier and TypeMethodDescriptionstatic SearchRegistry.Key<ItemStack>CreativeModeTabSearchRegistry.getNameSearchKey(CreativeModeTab tab) static Map<CreativeModeTab,SearchRegistry.Key<ItemStack>> CreativeModeTabSearchRegistry.getNameSearchKeys()static SearchRegistry.Key<ItemStack>CreativeModeTabSearchRegistry.getTagSearchKey(CreativeModeTab tab) static Map<CreativeModeTab,SearchRegistry.Key<ItemStack>> CreativeModeTabSearchRegistry.getTagSearchKeys()Methods in net.neoforged.neoforge.client with parameters of type ItemStackModifier and TypeMethodDescriptionstatic List<ClientTooltipComponent>ClientHooks.gatherTooltipComponents(ItemStack stack, List<? extends FormattedText> textElements, int mouseX, int screenWidth, int screenHeight, Font fallbackFont) static List<ClientTooltipComponent>ClientHooks.gatherTooltipComponents(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, Font fallbackFont) static ModelClientHooks.getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlot slot, HumanoidModel<?> _default) static StringClientHooks.getArmorTexture(Entity entity, ItemStack armor, String _default, EquipmentSlot slot, String type) static RenderTypeRenderTypeHelper.getFallbackItemRenderType(ItemStack stack, BakedModel model, boolean cull) Provides a fallbackRenderTypefor the givenItemStackin the case that none is explicitly specified.static FontClientHooks.getTooltipFont(ItemStack stack, Font fallbackFont) static ItemDecoratorHandlerstatic RenderTooltipEvent.ColorClientHooks.onRenderTooltipColor(ItemStack stack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components) static RenderTooltipEvent.PreClientHooks.onRenderTooltipPre(ItemStack stack, GuiGraphics graphics, int x, int y, int screenWidth, int screenHeight, List<ClientTooltipComponent> components, Font fallbackFont, ClientTooltipPositioner positioner) booleanIItemDecorator.render(GuiGraphics guiGraphics, Font font, ItemStack stack, int xOffset, int yOffset) Is called after GuiGraphics.renderItemDecorations(Font, ItemStack, int, int, String) is done rendering.voidItemDecoratorHandler.render(GuiGraphics guiGraphics, Font font, ItemStack stack, int xOffset, int yOffset) static booleanClientHooks.renderSpecificFirstPersonHand(InteractionHand hand, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, float partialTick, float interpPitch, float swingProgress, float equipProgress, ItemStack stack) static booleanClientHooks.shouldCauseReequipAnimation(ItemStack from, ItemStack to, int slot) 
- 
Uses of ItemStack in net.neoforged.neoforge.client.eventFields in net.neoforged.neoforge.client.event declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackRenderItemInFrameEvent.itemStackprivate final ItemStackRenderTooltipEvent.GatherComponents.itemStackprotected final ItemStackRenderTooltipEvent.itemStackprivate final ItemStackRenderHandEvent.stackMethods in net.neoforged.neoforge.client.event that return ItemStackModifier and TypeMethodDescriptionRenderHandEvent.getItemStack()Returns the item stack to be rendered.RenderItemInFrameEvent.getItemStack()Returns the item stack being rendered.RenderTooltipEvent.GatherComponents.getItemStack()Returns the item stack which the tooltip is being rendered for, or an empty item stack if there is no associated item stack.RenderTooltipEvent.getItemStack()Returns the item stack which the tooltip is being rendered for, or an empty item stack if there is no associated item stack.Constructors in net.neoforged.neoforge.client.event with parameters of type ItemStackModifierConstructorDescriptionColor(ItemStack stack, GuiGraphics graphics, int x, int y, Font fr, int background, int borderStart, int borderEnd, List<ClientTooltipComponent> components) GatherComponents(ItemStack itemStack, int screenWidth, int screenHeight, List<com.mojang.datafixers.util.Either<FormattedText, TooltipComponent>> tooltipElements, int maxWidth) Pre(ItemStack stack, GuiGraphics graphics, int x, int y, int screenWidth, int screenHeight, Font font, List<ClientTooltipComponent> components, ClientTooltipPositioner positioner) RenderHandEvent(InteractionHand hand, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick, float interpolatedPitch, float swingProgress, float equipProgress, ItemStack stack) protectedRenderTooltipEvent(ItemStack itemStack, GuiGraphics graphics, int x, int y, Font font, List<ClientTooltipComponent> components) 
- 
Uses of ItemStack in net.neoforged.neoforge.client.extensionsMethods in net.neoforged.neoforge.client.extensions with parameters of type ItemStackModifier and TypeMethodDescriptiondefault List<BakedModel>IBakedModelExtension.getRenderPasses(ItemStack itemStack, boolean fabulous) Gets an ordered list of baked models used to render this model as an item.default List<RenderType>IBakedModelExtension.getRenderTypes(ItemStack itemStack, boolean fabulous) Gets an ordered list ofrender typesto use when drawing this item.
- 
Uses of ItemStack in net.neoforged.neoforge.client.extensions.commonMethods in net.neoforged.neoforge.client.extensions.common with parameters of type ItemStackModifier and TypeMethodDescriptiondefault booleanIClientItemExtensions.applyForgeHandTransform(PoseStack poseStack, LocalPlayer player, HumanoidArm arm, ItemStack itemInHand, float partialTick, float equipProcess, float swingProcess) Called right before when client applies transformations to item in hand and render it.default 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.default @Nullable FontIClientItemExtensions.getFont(ItemStack stack, IClientItemExtensions.FontContext context) Returns the font used to render data related to this item as specified in thecontext.default ModelIClientItemExtensions.getGenericArmorModel(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the armor model for this item when it's equipped.default HumanoidModel<?>IClientItemExtensions.getHumanoidArmorModel(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the humanoid armor model for this item when it's equipped.static IClientItemExtensionsdefault voidIClientItemExtensions.renderHelmetOverlay(ItemStack stack, Player player, int width, int height, float partialTick) Called when the client starts rendering the HUD, and is wearing this item in the helmet slot.
- 
Uses of ItemStack in net.neoforged.neoforge.client.modelMethods in net.neoforged.neoforge.client.model with parameters of type ItemStackModifier and TypeMethodDescriptionintRegistryAwareItemModelShaper.getLocation(ItemStack stack) BakedModelWrapper.getRenderPasses(ItemStack itemStack, boolean fabulous) CompositeModel.Baked.getRenderPasses(ItemStack itemStack, boolean fabulous) BakedModelWrapper.getRenderTypes(ItemStack itemStack, boolean fabulous) DynamicFluidContainerModel.ContainedFluidOverrideHandler.resolve(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity, int seed) 
- 
Uses of ItemStack in net.neoforged.neoforge.commonFields in net.neoforged.neoforge.common declared as ItemStackModifier and TypeFieldDescriptionprotected final ItemStackBasicItemListing.forSaleprotected final ItemStackBasicItemListing.priceprotected final ItemStackBasicItemListing.price2Methods in net.neoforged.neoforge.common that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackCommonHooks.getCraftingRemainingItem(ItemStack stack) static ItemStackCommonHooks.getProjectile(LivingEntity entity, ItemStack projectileWeaponItem, ItemStack projectile) Hook to fireLivingGetProjectileEvent.Methods in net.neoforged.neoforge.common that return types with arguments of type ItemStackModifier and TypeMethodDescriptionCommonHooks.modifyLoot(List<ItemStack> list, LootContext context) Deprecated.static it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>CommonHooks.modifyLoot(ResourceLocation lootTableId, it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.IShearable.onSheared(@Nullable Player player, ItemStack item, Level level, BlockPos pos, int fortune) Performs the shear function on this object.Methods in net.neoforged.neoforge.common with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanCommonHooks.canContinueUsing(ItemStack from, ItemStack to) static voidCommonHooks.dropXpForBlock(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack) static com.google.common.collect.Multimap<Attribute,AttributeModifier> CommonHooks.getAttributeModifiers(ItemStack stack, EquipmentSlot equipmentSlot, com.google.common.collect.Multimap<Attribute, AttributeModifier> attributes) Hook to fireItemAttributeModifierEvent.static intCommonHooks.getBurnTime(ItemStack stack, @Nullable RecipeType<?> recipeType) Gets the burn time of this itemstack.static ItemStackCommonHooks.getCraftingRemainingItem(ItemStack stack) static @Nullable StringCommonHooks.getDefaultCreatorModId(ItemStack itemStack) Used as the default implementation ofIItemExtension.getCreatorModId(net.minecraft.world.item.ItemStack).static ItemStackCommonHooks.getProjectile(LivingEntity entity, ItemStack projectileWeaponItem, ItemStack projectile) Hook to fireLivingGetProjectileEvent.default booleanIShearable.isShearable(ItemStack item, Level level, BlockPos pos) Checks if the object is currently shearable Example: Sheep return false when they have no woolstatic booleanCommonHooks.onAnvilChange(AnvilMenu container, ItemStack left, ItemStack right, Container outputSlot, String name, int baseCost, Player player) static floatCommonHooks.onAnvilRepair(Player player, ItemStack output, ItemStack left, ItemStack right) static intCommonHooks.onGrindstoneChange(ItemStack top, ItemStack bottom, Container outputSlot, int xp) static booleanCommonHooks.onItemStackedOn(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) static booleanCommonHooks.onLivingUseTotem(LivingEntity entity, DamageSource damageSource, ItemStack totem, InteractionHand hand) static @Nullable ItemEntityCommonHooks.onPlayerTossEvent(Player player, ItemStack item, boolean includeName) IShearable.onSheared(@Nullable Player player, ItemStack item, Level level, BlockPos pos, int fortune) Performs the shear function on this object.static booleanCommonHooks.shouldSuppressEnderManAnger(EnderMan enderMan, Player player, ItemStack mask) default voidIShearable.spawnShearedDrop(Level level, BlockPos pos, ItemStack drop) Performs the logic used to drop a shear result into the world at the correct position and with the proper movement.Method parameters in net.neoforged.neoforge.common with type arguments of type ItemStackModifier and TypeMethodDescriptionCommonHooks.modifyLoot(List<ItemStack> list, LootContext context) Deprecated.static it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>CommonHooks.modifyLoot(ResourceLocation lootTableId, it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Handles the modification of loot table drops via the registered Global Loot Modifiers, so that custom effects can be processed.Constructors in net.neoforged.neoforge.common with parameters of type ItemStackModifierConstructorDescriptionBasicItemListing(int emeralds, ItemStack forSale, int maxTrades, int xp) BasicItemListing(int emeralds, ItemStack forSale, int maxTrades, int xp, float mult) BasicItemListing(ItemStack price, ItemStack forSale, int maxTrades, int xp, float priceMult) BasicItemListing(ItemStack price, ItemStack price2, ItemStack forSale, int maxTrades, int xp, float priceMult) 
- 
Uses of ItemStack in net.neoforged.neoforge.common.brewingFields in net.neoforged.neoforge.common.brewing declared as ItemStackMethods in net.neoforged.neoforge.common.brewing that return ItemStackModifier and TypeMethodDescriptionBrewingRecipe.getOutput()static ItemStackReturns the output ItemStack obtained by brewing the passed input and ingredient.Returns the output when the passed input is brewed with the passed ingredient.Code copied from TileEntityBrewingStand.brewPotions() It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one, or if the new potion is a splash potion when the old one wasn't.Methods in net.neoforged.neoforge.common.brewing with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanBrewingRecipeRegistry.addRecipe(Ingredient input, Ingredient ingredient, ItemStack output) Adds a recipe to the registry.static voidBrewingRecipeRegistry.brewPotions(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to brew its inventory Extra parameters exist to allow modders to create bigger brewing stands without much hasslestatic booleanBrewingRecipeRegistry.canBrew(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to determine if its contents can be brewed.static ItemStackReturns the output ItemStack obtained by brewing the passed input and ingredient.Returns the output when the passed input is brewed with the passed ingredient.Code copied from TileEntityBrewingStand.brewPotions() It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one, or if the new potion is a splash potion when the old one wasn't.static booleanReturns true if the passed input and ingredient have an outputbooleanBrewingRecipe.isIngredient(ItemStack ingredient) booleanIBrewingRecipe.isIngredient(ItemStack ingredient) Returns true if the passed ItemStack is an ingredient for this recipe.booleanVanillaBrewingRecipe.isIngredient(ItemStack stack) Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)booleanbooleanReturns true is the passed ItemStack is an input for this recipe.booleanCode adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)static booleanBrewingRecipeRegistry.isValidIngredient(ItemStack stack) Returns true if the passed ItemStack is a valid ingredient for any of the recipes in the registry.static booleanBrewingRecipeRegistry.isValidInput(ItemStack stack) Returns true if the passed ItemStack is a valid input for any of the recipes in the registry.Method parameters in net.neoforged.neoforge.common.brewing with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic voidBrewingRecipeRegistry.brewPotions(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to brew its inventory Extra parameters exist to allow modders to create bigger brewing stands without much hasslestatic booleanBrewingRecipeRegistry.canBrew(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to determine if its contents can be brewed.Constructors in net.neoforged.neoforge.common.brewing with parameters of type ItemStackModifierConstructorDescriptionBrewingRecipe(Ingredient input, Ingredient ingredient, ItemStack output) 
- 
Uses of ItemStack in net.neoforged.neoforge.common.craftingMethods in net.neoforged.neoforge.common.crafting that return ItemStackModifier and TypeMethodDescriptionCompoundIngredient.getItems()DifferenceIngredient.getItems()IntersectionIngredient.getItems()Methods in net.neoforged.neoforge.common.crafting that return types with arguments of type ItemStackModifier and TypeMethodDescriptionCompoundIngredient.Value.getItems()DifferenceIngredient.SubtractingValue.getItems()IntersectionIngredient.IntersectionValue.getItems()static com.mojang.serialization.Codec<ItemStack>CraftingHelper.smeltingResultCodec()Methods in net.neoforged.neoforge.common.crafting with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanNBTIngredient.areStacksEqual(ItemStack left, ItemStack right) private static booleanNBTIngredient.compareStacksWithNBT(ItemStack left, ItemStack right) static @Nullable CompoundTagCraftingHelper.getTagForWriting(ItemStack stack) static NBTIngredientCreates a new ingredient matching the given item, containing the given NBTbooleanbooleanboolean
- 
Uses of ItemStack in net.neoforged.neoforge.common.dataMethods in net.neoforged.neoforge.common.data with parameters of type ItemStackMethod parameters in net.neoforged.neoforge.common.data with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidLanguageProvider.addItemStack(Supplier<ItemStack> key, String name) 
- 
Uses of ItemStack in net.neoforged.neoforge.common.extensionsMethods in net.neoforged.neoforge.common.extensions that return ItemStackModifier and TypeMethodDescriptiondefault ItemStackIBlockExtension.getCloneItemStack(BlockState state, HitResult target, LevelReader level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStackIBlockStateExtension.getCloneItemStack(HitResult target, LevelReader level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStackIItemExtension.getCraftingRemainingItem(ItemStack itemStack) ItemStack sensitive version ofItem.getCraftingRemainingItem().default ItemStackIItemStackExtension.getCraftingRemainingItem()ItemStack sensitive version ofItem.getCraftingRemainingItem().default @Nullable ItemStackIEntityExtension.getPickedResult(HitResult target) Called when a user uses the creative pick block button on this entity.default ItemStackIFriendlyByteBufExtension.readItemWithLargeCount()Reads anItemStackfrom the current buffer, but allows for a larger count than the vanilla method, using a variable length int instead of a byte.private ItemStackIItemStackExtension.self()Methods in net.neoforged.neoforge.common.extensions with parameters of type ItemStackModifier and TypeMethodDescriptiondefault booleanIItemExtension.canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) Checks whether an item can be enchanted with a certain enchantment.default booleanIItemExtension.canContinueUsing(ItemStack oldStack, ItemStack newStack) Called while an item is in 'active' use to determine if usage should continue.default booleanIItemExtension.canDisableShield(ItemStack stack, ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault booleanIItemStackExtension.canDisableShield(ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault booleanIItemExtension.canElytraFly(ItemStack stack, LivingEntity entity) Used to determine if the player can use Elytra flight.default booleanIItemExtension.canEquip(ItemStack stack, EquipmentSlot armorType, Entity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default booleanIItemExtension.canGrindstoneRepair(ItemStack stack) Returns true if the given ItemStack can be put into a grindstone to be repaired and/or stripped of its enchantments.default booleanIItemExtension.canPerformAction(ItemStack stack, ToolAction toolAction) Queries if an item can perform the given action.default booleanIItemExtension.canWalkOnPowderedSnow(ItemStack stack, LivingEntity wearer) Called by the powdered snow block to check if a living entity wearing this can walk on the snow, granting the same behavior as leather boots.default @Nullable EntityIItemExtension.createEntity(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.default <T extends LivingEntity>
 intIItemExtension.damageItem(ItemStack stack, int amount, T entity, Consumer<T> onBroken) Reduce the durability of this item by the amount given.default booleanIItemExtension.doesSneakBypassUse(ItemStack stack, LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default booleanIItemExtension.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default booleanIDispensibleContainerItemExtension.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.default Map<Enchantment,Integer> IItemExtension.getAllEnchantments(ItemStack stack) Gets a map of all enchantments present on the stack.default @Nullable StringIItemExtension.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default com.google.common.collect.Multimap<Attribute,AttributeModifier> IItemExtension.getAttributeModifiers(EquipmentSlot slot, ItemStack stack) ItemStack sensitive version of getItemAttributeModifiersdefault intIItemExtension.getBurnTime(ItemStack itemStack, @Nullable RecipeType<?> recipeType) default ItemStackIItemExtension.getCraftingRemainingItem(ItemStack itemStack) ItemStack sensitive version ofItem.getCraftingRemainingItem().default @Nullable StringIItemExtension.getCreatorModId(ItemStack itemStack) Called to get the Mod ID of the mod that *created* the ItemStack, instead of the real Mod ID that *registered* it.default intReturn the itemDamage represented by this ItemStack.default floatIEnchantmentExtension.getDamageBonus(int level, MobType mobType, ItemStack enchantedItem) ItemStack aware version ofEnchantment.getDamageBonus(int, MobType)default intIItemExtension.getDefaultTooltipHideFlags(ItemStack stack) Get the tooltip parts that should be hidden by default on the given stack if theHideFlagstag is not set.default intIItemExtension.getEnchantmentLevel(ItemStack stack, Enchantment enchantment) Gets the level of the enchantment currently present on the stack.default intIItemExtension.getEnchantmentValue(ItemStack stack) ItemStack sensitive version ofItem.getEnchantmentValue().default intIItemExtension.getEntityLifespan(ItemStack itemStack, Level level) Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.default @Nullable EquipmentSlotIItemExtension.getEquipmentSlot(ItemStack stack) Override this to set a non-default armor slot for an ItemStack, but do not use this to get the armor slot of said stack; for that, useLivingEntity.getEquipmentSlotForItem(ItemStack)..default @Nullable FoodPropertiesIItemExtension.getFoodProperties(ItemStack stack, @Nullable LivingEntity entity) Get the food properties for this item.default ComponentIItemExtension.getHighlightTip(ItemStack item, Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.default intIItemExtension.getMaxDamage(ItemStack stack) Return the maxDamage for this ItemStack.default intIItemExtension.getMaxStackSize(ItemStack stack) Gets the maximum number of items that this stack should be able to hold.default AABBIItemExtension.getSweepHitBox(ItemStack stack, Player player, Entity target) Get a bounding box (AABB) of a sweep attack.default floatIItemExtension.getXpRepairRatio(ItemStack stack) Determines the amount of durability the mending enchantment will repair, on average, per point of experience.default booleanIItemExtension.hasCraftingRemainingItem(ItemStack stack) ItemStack sensitive version ofItem.hasCraftingRemainingItem().default booleanIItemExtension.hasCustomEntity(ItemStack stack) Determines if this Item has a special entity for when they are in the world.default booleanIItemExtension.isBookEnchantable(ItemStack stack, ItemStack book) Allow or forbid the specific book/item combination as an anvil enchantdefault booleanIItemStackExtension.isBookEnchantable(ItemStack book) Allow or forbid the specific book/item combination as an anvil enchantdefault booleanIItemExtension.isCorrectToolForDrops(ItemStack stack, BlockState state) ItemStack sensitive version ofItem.isCorrectToolForDrops(BlockState)default booleanIItemExtension.isDamageable(ItemStack stack) Used to test if this item can be damaged, but with the ItemStack in question.default booleanReturn if this itemstack is damaged.default booleanIItemExtension.isEnderMask(ItemStack stack, Player player, EnderMan endermanEntity) Whether this Item can be used to hide player head for enderman.default booleanIItemExtension.isNotReplaceableByPickAction(ItemStack stack, Player player, int inventorySlot) Whether the given ItemStack should be excluded (if possible) when selecting the target hotbar slot of a "pick" action.default booleanIItemExtension.isPiglinCurrency(ItemStack stack) Called by Piglins when checking to see if they will give an item or something in exchange for this item.booleanIItemExtension.isRepairable(ItemStack stack) Called by CraftingManager to determine if an item is reparable.default booleanIItemExtension.makesPiglinsNeutral(ItemStack stack, LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default voidIItemExtension.onArmorTick(ItemStack stack, Level level, Player player) Deprecated, for removal: This API element is subject to removal in a future version.UseItem.inventoryTick(ItemStack, Level, Entity, int, boolean)by checking that the slot argument is an armor slot.default booleanIItemExtension.onBlockStartBreak(ItemStack itemstack, BlockPos pos, Player player) Called before a block is broken.default booleanIItemExtension.onDroppedByPlayer(ItemStack item, Player player) Called when a player drops the item into the world, returning false from this will prevent the item from being removed from the players inventory and spawning in the worlddefault booleanIItemExtension.onEntityItemUpdate(ItemStack stack, ItemEntity entity) Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner control over the update of the item without having to write a subclass.default booleanIItemExtension.onEntitySwing(ItemStack stack, LivingEntity entity) Called when a entity tries to play the 'swing' animation.default voidIItemExtension.onHorseArmorTick(ItemStack stack, Level level, Mob horse) Called every tick when this item is equipped as an armor item by a horse that can wear armor.default InteractionResultIItemExtension.onItemUseFirst(ItemStack stack, UseOnContext context) This is called when the item is used, before the block is activated.default booleanIItemExtension.onLeftClickEntity(ItemStack stack, Player player, Entity entity) Called when the player Left Clicks (attacks) an entity.default voidIItemExtension.onStopUsing(ItemStack stack, LivingEntity entity, int count) Called when an entity stops using an item for any reason, notably when selecting another item without releasing or finishing.default voidSet the damage for this itemstack.default booleanIItemExtension.shouldCauseBlockBreakReset(ItemStack oldStack, ItemStack newStack) Called when the player is mining a block and the item in his hand changes.default booleanIItemStackExtension.shouldCauseBlockBreakReset(ItemStack newStack) Called when the player is mining a block and the item in his hand changes.default booleanIItemExtension.shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) Determine if the player switching between these two item stacksdefault FriendlyByteBufIFriendlyByteBufExtension.writeItemWithLargeCount(ItemStack stack) Writes anItemStackto the current buffer, but allows for a larger count than the vanilla method, using a variable length int instead of a byte.
- 
Uses of ItemStack in net.neoforged.neoforge.common.lootMethods in net.neoforged.neoforge.common.loot that return types with arguments of type ItemStackModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>IGlobalLootModifier.apply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Applies the modifier to the list of generated loot.final it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootModifier.apply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) protected it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>AddTableLootModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) protected abstract it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Applies the modifier to the generated loot (all loot conditions have already been checked and have returned true).Method parameters in net.neoforged.neoforge.common.loot with type arguments of type ItemStackModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>IGlobalLootModifier.apply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Applies the modifier to the list of generated loot.final it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootModifier.apply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) protected it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>AddTableLootModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) protected abstract it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>LootModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Applies the modifier to the generated loot (all loot conditions have already been checked and have returned true).
- 
Uses of ItemStack in net.neoforged.neoforge.common.utilMethods in net.neoforged.neoforge.common.util that return types with arguments of type ItemStackModifier and TypeMethodDescriptionItemStackMap.createTypeAndTagLinkedMap()ItemStackMap.createTypeAndTagMap()
- 
Uses of ItemStack in net.neoforged.neoforge.debug.entity.playerMethods in net.neoforged.neoforge.debug.entity.player with parameters of type ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.debug.lootMethods in net.neoforged.neoforge.debug.loot that return ItemStackModifier and TypeMethodDescriptionprivate static ItemStackGlobalLootModifiersTest.SmeltingEnchantmentModifier.smelt(ItemStack stack, LootContext context) Methods in net.neoforged.neoforge.debug.loot that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprotected it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.DungeonLootEnhancerModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.SilkTouchTestModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.SmeltingEnchantmentModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.WheatSeedsConverterModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) Methods in net.neoforged.neoforge.debug.loot with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static ItemStackGlobalLootModifiersTest.SmeltingEnchantmentModifier.smelt(ItemStack stack, LootContext context) Method parameters in net.neoforged.neoforge.debug.loot with type arguments of type ItemStackModifier and TypeMethodDescriptionprotected it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.DungeonLootEnhancerModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.SilkTouchTestModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.SmeltingEnchantmentModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>GlobalLootModifiersTest.WheatSeedsConverterModifier.doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> generatedLoot, LootContext context) 
- 
Uses of ItemStack in net.neoforged.neoforge.eventFields in net.neoforged.neoforge.event declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackGrindstoneEvent.bottomprivate final ItemStackItemStackedOnOtherEvent.carriedItemprivate final ItemStackAnvilUpdateEvent.leftprivate ItemStackGrindstoneEvent.OnTakeItem.newBottomprivate ItemStackGrindstoneEvent.OnTakeItem.newTopprivate ItemStackAnvilUpdateEvent.outputprivate ItemStackGrindstoneEvent.OnPlaceItem.outputprivate final ItemStackAnvilUpdateEvent.rightprivate final ItemStackItemAttributeModifierEvent.stackprivate final ItemStackItemStackedOnOtherEvent.stackedOnItemprivate final ItemStackGrindstoneEvent.topFields in net.neoforged.neoforge.event with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final MutableHashedLinkedMap<ItemStack,CreativeModeTab.TabVisibility> BuildCreativeModeTabContentsEvent.entriesMethods in net.neoforged.neoforge.event that return ItemStackModifier and TypeMethodDescriptionGrindstoneEvent.getBottomItem()ItemStackedOnOtherEvent.getCarriedItem()Returns the stack being carried by the mouse.ItemAttributeModifierEvent.getItemStack()Gets the item stack instanceAnvilUpdateEvent.getLeft()GrindstoneEvent.OnTakeItem.getNewBottomItem()GrindstoneEvent.OnTakeItem.getNewTopItem()AnvilUpdateEvent.getOutput()This is the output as determined by the event, not by the vanilla behavior between these two items.GrindstoneEvent.OnPlaceItem.getOutput()This is the output as determined by the event, not by the vanilla behavior between these two items.AnvilUpdateEvent.getRight()ItemStackedOnOtherEvent.getStackedOnItem()Returns the stack currently in the slot being clicked on.GrindstoneEvent.getTopItem()static ItemStackEventHooks.onItemUseFinish(LivingEntity entity, ItemStack item, int duration, ItemStack result) Methods in net.neoforged.neoforge.event that return types with arguments of type ItemStackModifier and TypeMethodDescriptionBuildCreativeModeTabContentsEvent.getEntries()static InteractionResultHolder<ItemStack>EventHooks.onArrowNock(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) static @Nullable InteractionResultHolder<ItemStack>EventHooks.onBucketUse(Player player, Level level, ItemStack stack, @Nullable HitResult target) Methods in net.neoforged.neoforge.event with parameters of type ItemStackModifier and TypeMethodDescriptionvoidBuildCreativeModeTabContentsEvent.accept(ItemStack stack, CreativeModeTab.TabVisibility visibility) static voidEventHooks.firePlayerCraftingEvent(Player player, ItemStack crafted, Container craftMatrix) static voidEventHooks.firePlayerItemPickupEvent(Player player, ItemEntity item, ItemStack clone) static voidEventHooks.firePlayerSmeltedEvent(Player player, ItemStack smelted) static Map<Enchantment,Integer> EventHooks.getEnchantmentLevel(Map<Enchantment, Integer> enchantments, ItemStack stack) FiresGetEnchantmentLevelEventand for all enchantments, returning the (possibly event-modified) enchantment map.static intEventHooks.getEnchantmentLevelSpecific(int level, ItemStack stack, Enchantment ench) FiresGetEnchantmentLevelEventand for a single enchantment, returning the (possibly event-modified) level.static intEventHooks.getItemBurnTime(ItemStack itemStack, int burnTime, @Nullable RecipeType<?> recipeType) static intEventHooks.onApplyBonemeal(Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) static intEventHooks.onArrowLoose(ItemStack stack, Level level, Player player, int charge, boolean hasAmmo) static InteractionResultHolder<ItemStack>EventHooks.onArrowNock(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) static @Nullable InteractionResultHolder<ItemStack>EventHooks.onBucketUse(Player player, Level level, ItemStack stack, @Nullable HitResult target) static intEventHooks.onEnchantmentLevelSet(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantmentLevel) static intEventHooks.onItemExpire(ItemEntity entity, ItemStack item) static ItemTooltipEventEventHooks.onItemTooltip(ItemStack itemStack, @Nullable Player entityPlayer, List<Component> list, TooltipFlag flags) static ItemStackEventHooks.onItemUseFinish(LivingEntity entity, ItemStack item, int duration, ItemStack result) static intEventHooks.onItemUseStart(LivingEntity entity, ItemStack item, int duration) static intEventHooks.onItemUseTick(LivingEntity entity, ItemStack item, int duration) static voidEventHooks.onPlayerBrewedPotion(Player player, ItemStack stack) static voidEventHooks.onPlayerDestroyItem(Player player, ItemStack stack, @Nullable InteractionHand hand) static booleanEventHooks.onUseItemStop(LivingEntity entity, ItemStack item, int duration) voidGrindstoneEvent.OnTakeItem.setNewBottomItem(ItemStack newBottom) Sets the itemstack in the bottom slot.voidGrindstoneEvent.OnTakeItem.setNewTopItem(ItemStack newTop) Sets the itemstack in the top slot.voidSets the output slot to a specific itemstack.voidSets the output slot to a specific itemstack.Method parameters in net.neoforged.neoforge.event with type arguments of type ItemStackModifier and TypeMethodDescriptionstatic booleanEventHooks.onPotionAttemptBrew(NonNullList<ItemStack> stacks) static voidEventHooks.onPotionBrewed(NonNullList<ItemStack> brewingItemStacks) Constructors in net.neoforged.neoforge.event with parameters of type ItemStackModifierConstructorDescriptionAnvilUpdateEvent(ItemStack left, ItemStack right, String name, int cost, Player player) protectedGrindstoneEvent(ItemStack top, ItemStack bottom, int xp) ItemAttributeModifierEvent(ItemStack stack, EquipmentSlot slotType, com.google.common.collect.Multimap<Attribute, AttributeModifier> modifiers) ItemStackedOnOtherEvent(ItemStack carriedItem, ItemStack stackedOnItem, Slot slot, ClickAction action, Player player, SlotAccess carriedSlotAccess) OnPlaceItem(ItemStack top, ItemStack bottom, int xp) OnTakeItem(ItemStack top, ItemStack bottom, int xp) Constructor parameters in net.neoforged.neoforge.event with type arguments of type ItemStackModifierConstructorDescriptionBuildCreativeModeTabContentsEvent(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.ItemDisplayParameters parameters, MutableHashedLinkedMap<ItemStack, CreativeModeTab.TabVisibility> entries) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.brewingFields in net.neoforged.neoforge.event.brewing declared as ItemStackFields in net.neoforged.neoforge.event.brewing with type parameters of type ItemStackMethods in net.neoforged.neoforge.event.brewing that return ItemStackModifier and TypeMethodDescriptionPotionBrewEvent.getItem(int index) PlayerBrewedPotionEvent.getStack()The ItemStack of the potion.Methods in net.neoforged.neoforge.event.brewing with parameters of type ItemStackConstructors in net.neoforged.neoforge.event.brewing with parameters of type ItemStackConstructor parameters in net.neoforged.neoforge.event.brewing with type arguments of type ItemStackModifierConstructorDescriptionPost(NonNullList<ItemStack> stacks) protectedPotionBrewEvent(NonNullList<ItemStack> stacks) Pre(NonNullList<ItemStack> stacks) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.enchantingFields in net.neoforged.neoforge.event.enchanting declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackEnchantmentLevelSetEvent.itemStackprotected final ItemStackGetEnchantmentLevelEvent.stackMethods in net.neoforged.neoforge.event.enchanting that return ItemStackModifier and TypeMethodDescriptionEnchantmentLevelSetEvent.getItem()Get the item being enchantedGetEnchantmentLevelEvent.getStack()Returns the item stack that is being queried against.Constructors in net.neoforged.neoforge.event.enchanting with parameters of type ItemStackModifierConstructorDescriptionEnchantmentLevelSetEvent(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantLevel) GetEnchantmentLevelEvent(ItemStack stack, Map<Enchantment, Integer> enchantments, @Nullable Enchantment targetEnchant) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.entity.livingFields in net.neoforged.neoforge.event.entity.living declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackLivingEquipmentChangeEvent.fromprivate final ItemStackLivingEntityUseItemEvent.itemprivate ItemStackLivingGetProjectileEvent.projectileItemStackprivate final ItemStackLivingGetProjectileEvent.projectileWeaponItemStackprivate ItemStackLivingEntityUseItemEvent.Finish.resultprivate final ItemStackLivingEquipmentChangeEvent.toprivate ItemStackLivingSwapItemsEvent.Hands.toMainHandprivate ItemStackLivingSwapItemsEvent.Hands.toOffHandprivate final ItemStackLivingUseTotemEvent.totemMethods in net.neoforged.neoforge.event.entity.living that return ItemStackModifier and TypeMethodDescriptionLivingEquipmentChangeEvent.getFrom()LivingEntityUseItemEvent.getItem()LivingSwapItemsEvent.Hands.getItemSwappedToMainHand()Gets the item that will be swapped to the main hand of the entity.LivingSwapItemsEvent.Hands.getItemSwappedToOffHand()Gets the item that will be swapped to the offhand of the entity.LivingGetProjectileEvent.getProjectileItemStack()LivingGetProjectileEvent.getProjectileWeaponItemStack()LivingEntityUseItemEvent.Finish.getResultStack()LivingEquipmentChangeEvent.getTo()LivingUseTotemEvent.getTotem()Returns the totem of undying being used from the entity's inventory.Methods in net.neoforged.neoforge.event.entity.living with parameters of type ItemStackModifier and TypeMethodDescriptionvoidLivingSwapItemsEvent.Hands.setItemSwappedToMainHand(ItemStack item) Sets the item that will be swapped to the main hand of the entity.voidLivingSwapItemsEvent.Hands.setItemSwappedToOffHand(ItemStack item) Sets the item that will be swapped to the offhand of the entity.voidLivingGetProjectileEvent.setProjectileItemStack(ItemStack projectileItemStack) Sets the projectile itemstack to be used.voidLivingEntityUseItemEvent.Finish.setResultStack(ItemStack result) Constructors in net.neoforged.neoforge.event.entity.living with parameters of type ItemStackModifierConstructorDescriptionFinish(LivingEntity entity, ItemStack item, int duration, ItemStack result) privateLivingEntityUseItemEvent(LivingEntity entity, ItemStack item, int duration) LivingEquipmentChangeEvent(LivingEntity entity, EquipmentSlot slot, ItemStack from, ItemStack to) LivingGetProjectileEvent(LivingEntity livingEntity, ItemStack projectileWeaponItemStack, ItemStack ammo) LivingUseTotemEvent(LivingEntity entity, DamageSource source, ItemStack totem, InteractionHand hand) Start(LivingEntity entity, ItemStack item, int duration) Stop(LivingEntity entity, ItemStack item, int duration) Tick(LivingEntity entity, ItemStack item, int duration) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.entity.playerFields in net.neoforged.neoforge.event.entity.player declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackArrowLooseEvent.bowprivate final ItemStackArrowNockEvent.bowprivate final ItemStackPlayerEvent.ItemCraftedEvent.craftingprivate final ItemStackFillBucketEvent.currentprivate final ItemStackItemTooltipEvent.itemStackprivate final ItemStackAnvilRepairEvent.leftprivate final ItemStackPlayerDestroyItemEvent.originalprivate final ItemStackAnvilRepairEvent.outputprivate ItemStackFillBucketEvent.resultprivate final ItemStackAnvilRepairEvent.rightprivate final ItemStackPlayerEvent.ItemSmeltedEvent.smeltingprivate final ItemStackBonemealEvent.stackprivate final ItemStackPlayerEvent.ItemPickupEvent.stackClone item stack, containing the item and amount picked upFields in net.neoforged.neoforge.event.entity.player with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate InteractionResultHolder<ItemStack>ArrowNockEvent.actionprivate final NonNullList<ItemStack>ItemFishedEvent.stacksMethods in net.neoforged.neoforge.event.entity.player that return ItemStackModifier and TypeMethodDescriptionArrowLooseEvent.getBow()ArrowNockEvent.getBow()PlayerEvent.ItemCraftedEvent.getCrafting()FillBucketEvent.getEmptyBucket()FillBucketEvent.getFilledBucket()ItemTooltipEvent.getItemStack()TheItemStackwith the tooltip.PlayerInteractEvent.getItemStack()AnvilRepairEvent.getLeft()Get the first item input into the anvilPlayerDestroyItemEvent.getOriginal()AnvilRepairEvent.getOutput()Get the output result from the anvilAnvilRepairEvent.getRight()Get the second item input into the anvilPlayerEvent.ItemSmeltedEvent.getSmelting()BonemealEvent.getStack()PlayerEvent.ItemPickupEvent.getStack()Methods in net.neoforged.neoforge.event.entity.player that return types with arguments of type ItemStackModifier and TypeMethodDescriptionArrowNockEvent.getAction()ItemFishedEvent.getDrops()Use this to get the items the player will receive.Methods in net.neoforged.neoforge.event.entity.player with parameters of type ItemStackMethod parameters in net.neoforged.neoforge.event.entity.player with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidArrowNockEvent.setAction(InteractionResultHolder<ItemStack> action) Constructors in net.neoforged.neoforge.event.entity.player with parameters of type ItemStackModifierConstructorDescriptionAnvilRepairEvent(Player player, ItemStack left, ItemStack right, ItemStack output) ArrowLooseEvent(Player player, ItemStack bow, Level level, int charge, boolean hasAmmo) ArrowNockEvent(Player player, ItemStack item, InteractionHand hand, Level level, boolean hasAmmo) BonemealEvent(Player player, Level level, BlockPos pos, BlockState block, ItemStack stack) FillBucketEvent(Player player, ItemStack current, Level level, @Nullable HitResult target) ItemCraftedEvent(Player player, ItemStack crafting, Container craftMatrix) ItemPickupEvent(Player player, ItemEntity entPickedUp, ItemStack stack) ItemSmeltedEvent(Player player, ItemStack crafting) ItemTooltipEvent(ItemStack itemStack, @Nullable Player player, List<Component> list, TooltipFlag flags) This event is fired ingetTooltipLines(Player, TooltipFlag), which in turn is called from its respective GUIContainer.PlayerDestroyItemEvent(Player player, ItemStack original, @Nullable InteractionHand hand) Constructor parameters in net.neoforged.neoforge.event.entity.player with type arguments of type ItemStackModifierConstructorDescriptionItemFishedEvent(List<ItemStack> stacks, int rodDamage, FishingHook hook) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.furnaceFields in net.neoforged.neoforge.event.furnace declared as ItemStackMethods in net.neoforged.neoforge.event.furnace that return ItemStackModifier and TypeMethodDescriptionFurnaceFuelBurnTimeEvent.getItemStack()Get the ItemStack "fuel" in question.Constructors in net.neoforged.neoforge.event.furnace with parameters of type ItemStackModifierConstructorDescriptionFurnaceFuelBurnTimeEvent(ItemStack itemStack, int burnTime, @Nullable RecipeType<?> recipeType) 
- 
Uses of ItemStack in net.neoforged.neoforge.event.levelMethods in net.neoforged.neoforge.event.level that return ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.fluidsFields in net.neoforged.neoforge.fluids declared as ItemStackMethods in net.neoforged.neoforge.fluids that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackDispenseFluidContainer.dumpContainer(BlockSource source, ItemStack stack) Drains a filled container and places the fluid in front of the Dispenser.DispenseFluidContainer.execute(BlockSource source, ItemStack stack) private ItemStackDispenseFluidContainer.fillContainer(BlockSource source, ItemStack stack) Picks up fluid in front of a Dispenser and fills a container with it.FluidType.getBucket(FluidStack stack) Returns the bucket containing the fluid.static ItemStackFluidUtil.getFilledBucket(FluidStack fluidStack) FluidActionResult.getResult()Methods in net.neoforged.neoforge.fluids with parameters of type ItemStackModifier and TypeMethodDescriptionprivate ItemStackDispenseFluidContainer.dumpContainer(BlockSource source, ItemStack stack) Drains a filled container and places the fluid in front of the Dispenser.DispenseFluidContainer.execute(BlockSource source, ItemStack stack) private ItemStackDispenseFluidContainer.fillContainer(BlockSource source, ItemStack stack) Picks up fluid in front of a Dispenser and fills a container with it.static Optional<FluidStack>FluidUtil.getFluidContained(ItemStack container) Helper method to get the fluid contained in an itemStackstatic Optional<IFluidHandlerItem>FluidUtil.getFluidHandler(ItemStack itemStack) Helper method to get anIFluidHandlerItemfor an itemStack.booleanFluidStack.isFluidEqual(ItemStack other) Determines if the FluidIDs and NBT Tags are equal compared to a registered container ItemStack.static FluidActionResultFluidUtil.tryEmptyContainer(ItemStack container, IFluidHandler fluidDestination, int maxAmount, @Nullable Player player, boolean doDrain) Takes a filled container and tries to empty it into the given tank.static FluidActionResultFluidUtil.tryEmptyContainerAndStow(ItemStack container, IFluidHandler fluidDestination, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doDrain) Takes an Fluid Container Item, tries to empty it into the fluid handler, and stows it in the given inventory.static FluidActionResultFluidUtil.tryFillContainer(ItemStack container, IFluidHandler fluidSource, int maxAmount, @Nullable Player player, boolean doFill) Fill a container from the given fluidSource.static FluidActionResultFluidUtil.tryFillContainerAndStow(ItemStack container, IFluidHandler fluidSource, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doFill) Takes an Fluid Container Item and tries to fill it from the given tank.static FluidActionResultFluidUtil.tryPickUpFluid(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item.static FluidActionResultFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) Constructors in net.neoforged.neoforge.fluids with parameters of type ItemStackModifierConstructorDescriptionprivateFluidActionResult(boolean success, ItemStack result) FluidActionResult(ItemStack result) 
- 
Uses of ItemStack in net.neoforged.neoforge.fluids.capabilityMethods in net.neoforged.neoforge.fluids.capability that return ItemStackModifier and TypeMethodDescriptionIFluidHandlerItem.getContainer()Get the container currently acted on by this fluid handler.
- 
Uses of ItemStack in net.neoforged.neoforge.fluids.capability.templatesFields in net.neoforged.neoforge.fluids.capability.templates declared as ItemStackModifier and TypeFieldDescriptionprotected ItemStackFluidHandlerItemStack.containerprotected ItemStackFluidHandlerItemStackSimple.containerprotected final ItemStackFluidHandlerItemStack.SwapEmpty.emptyContainerprotected final ItemStackFluidHandlerItemStackSimple.SwapEmpty.emptyContainerMethods in net.neoforged.neoforge.fluids.capability.templates that return ItemStackModifier and TypeMethodDescriptionFluidHandlerItemStack.getContainer()FluidHandlerItemStackSimple.getContainer()Constructors in net.neoforged.neoforge.fluids.capability.templates with parameters of type ItemStackModifierConstructorDescriptionConsumable(ItemStack container, int capacity) Consumable(ItemStack container, int capacity) FluidHandlerItemStack(ItemStack container, int capacity) FluidHandlerItemStackSimple(ItemStack container, int capacity) 
- 
Uses of ItemStack in net.neoforged.neoforge.fluids.capability.wrappersFields in net.neoforged.neoforge.fluids.capability.wrappers declared as ItemStackMethods in net.neoforged.neoforge.fluids.capability.wrappers that return ItemStackConstructors in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.itemsFields in net.neoforged.neoforge.items with type parameters of type ItemStackMethods in net.neoforged.neoforge.items that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackItemHandlerHelper.copyStackWithSize(ItemStack itemStack, int size) IItemHandler.extractItem(int slot, int amount, boolean simulate) Extracts an ItemStack from the given slot.ItemStackHandler.extractItem(int slot, int amount, boolean simulate) SlotItemHandler.getItem()IItemHandler.getStackInSlot(int slot) Returns the ItemStack in a given slot.ItemStackHandler.getStackInSlot(int slot) IItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) Inserts an ItemStack into the given slot and return the remainder.static ItemStackItemHandlerHelper.insertItem(IItemHandler dest, ItemStack stack, boolean simulate) ItemStackHandler.insertItem(int slot, ItemStack stack, boolean simulate) VanillaHopperItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) static ItemStackItemHandlerHelper.insertItemStacked(IItemHandler inventory, ItemStack stack, boolean simulate) Inserts the ItemStack into the inventory, filling up already present stacks first.private static ItemStackVanillaInventoryCodeHooks.insertStack(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack, int slot) Copied from TileEntityHopper#insertStack and added capability supportprivate static ItemStackVanillaInventoryCodeHooks.putStackInInventoryAllSlots(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack) SlotItemHandler.remove(int amount) Methods in net.neoforged.neoforge.items with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanItemHandlerHelper.canItemStacksStack(ItemStack a, ItemStack b) static booleanItemHandlerHelper.canItemStacksStackRelaxed(ItemStack a, ItemStack b) A relaxed version of canItemStacksStack that stacks itemstacks with different metadata if they don't have subtypes.static ItemStackItemHandlerHelper.copyStackWithSize(ItemStack itemStack, int size) static booleanVanillaInventoryCodeHooks.dropperInsertHook(Level level, BlockPos pos, DispenserBlockEntity dropper, int slot, ItemStack stack) Copied from BlockDropper#dispense and added capability supportintSlotItemHandler.getMaxStackSize(ItemStack stack) protected intItemStackHandler.getStackLimit(int slot, ItemStack stack) static voidItemHandlerHelper.giveItemToPlayer(Player player, ItemStack stack) giveItemToPlayer without preferred slotstatic voidItemHandlerHelper.giveItemToPlayer(Player player, ItemStack stack, int preferredSlot) Inserts the given itemstack into the players inventory.voidSlotItemHandler.initialize(ItemStack stack) IItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) Inserts an ItemStack into the given slot and return the remainder.static ItemStackItemHandlerHelper.insertItem(IItemHandler dest, ItemStack stack, boolean simulate) ItemStackHandler.insertItem(int slot, ItemStack stack, boolean simulate) VanillaHopperItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) static ItemStackItemHandlerHelper.insertItemStacked(IItemHandler inventory, ItemStack stack, boolean simulate) Inserts the ItemStack into the inventory, filling up already present stacks first.private static ItemStackVanillaInventoryCodeHooks.insertStack(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack, int slot) Copied from TileEntityHopper#insertStack and added capability supportbooleanIItemHandler.isItemValid(int slot, ItemStack stack) This function re-implements the vanilla functionContainer.canPlaceItem(int, ItemStack).booleanItemStackHandler.isItemValid(int slot, ItemStack stack) booleanvoidSlotItemHandler.onQuickCraft(ItemStack oldStackIn, ItemStack newStackIn) private static ItemStackVanillaInventoryCodeHooks.putStackInInventoryAllSlots(BlockEntity source, Object destination, IItemHandler destInventory, ItemStack stack) voidvoidIItemHandlerModifiable.setStackInSlot(int slot, ItemStack stack) Overrides the stack in the given slot.voidItemStackHandler.setStackInSlot(int slot, ItemStack stack) Constructor parameters in net.neoforged.neoforge.items with type arguments of type ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.items.wrapperFields in net.neoforged.neoforge.items.wrapper declared as ItemStackFields in net.neoforged.neoforge.items.wrapper with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate NonNullList<ItemStack>ShulkerItemStackInvWrapper.itemStacksCacheMethods in net.neoforged.neoforge.items.wrapper that return ItemStackModifier and TypeMethodDescriptionCombinedInvWrapper.extractItem(int slot, int amount, boolean simulate) EmptyHandler.extractItem(int slot, int amount, boolean simulate) EntityEquipmentInvWrapper.extractItem(int slot, int amount, boolean simulate) ForwardingItemHandler.extractItem(int slot, int amount, boolean simulate) InvWrapper.extractItem(int slot, int amount, boolean simulate) RangedWrapper.extractItem(int slot, int amount, boolean simulate) ShulkerItemStackInvWrapper.extractItem(int slot, int amount, boolean simulate) SidedInvWrapper.extractItem(int slot, int amount, boolean simulate) RecipeWrapper.getItem(int slot) Returns the stack in this slot.CombinedInvWrapper.getStackInSlot(int slot) EmptyHandler.getStackInSlot(int slot) EntityEquipmentInvWrapper.getStackInSlot(int slot) ForwardingItemHandler.getStackInSlot(int slot) InvWrapper.getStackInSlot(int slot) RangedWrapper.getStackInSlot(int slot) ShulkerItemStackInvWrapper.getStackInSlot(int slot) SidedInvWrapper.getStackInSlot(int slot) CombinedInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) EmptyHandler.insertItem(int slot, ItemStack stack, boolean simulate) EntityEquipmentInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) ForwardingItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) InvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) PlayerArmorInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) PlayerMainInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) RangedWrapper.insertItem(int slot, ItemStack stack, boolean simulate) ShulkerItemStackInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) SidedInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) RecipeWrapper.removeItem(int slot, int count) Attempts to remove n items from the specified slot.RecipeWrapper.removeItemNoUpdate(int index) Removes the stack contained in this slot from the underlying handler, and returns it.Methods in net.neoforged.neoforge.items.wrapper that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprivate NonNullList<ItemStack>ShulkerItemStackInvWrapper.getItemList()private NonNullList<ItemStack>ShulkerItemStackInvWrapper.refreshItemList(CompoundTag rootTag) Methods in net.neoforged.neoforge.items.wrapper with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanRecipeWrapper.canPlaceItem(int slot, ItemStack stack) protected intEntityEquipmentInvWrapper.getStackLimit(int slot, ItemStack stack) CombinedInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) EmptyHandler.insertItem(int slot, ItemStack stack, boolean simulate) EntityEquipmentInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) ForwardingItemHandler.insertItem(int slot, ItemStack stack, boolean simulate) InvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) PlayerArmorInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) PlayerMainInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) RangedWrapper.insertItem(int slot, ItemStack stack, boolean simulate) ShulkerItemStackInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) SidedInvWrapper.insertItem(int slot, ItemStack stack, boolean simulate) booleanCombinedInvWrapper.isItemValid(int slot, ItemStack stack) booleanEmptyHandler.isItemValid(int slot, ItemStack stack) booleanEntityEquipmentInvWrapper.isItemValid(int slot, ItemStack stack) booleanForwardingItemHandler.isItemValid(int slot, ItemStack stack) booleanInvWrapper.isItemValid(int slot, ItemStack stack) booleanRangedWrapper.isItemValid(int slot, ItemStack stack) booleanShulkerItemStackInvWrapper.isItemValid(int slot, ItemStack stack) booleanSidedInvWrapper.isItemValid(int slot, ItemStack stack) intSidedInvWrapper.InsertLimit.limitInsert(int wrapperSlot, int invSlot, ItemStack stack) private voidSidedInvWrapper.setInventorySlotContents(int slot, ItemStack stack) voidSets the contents of this slot to the provided stack.voidCombinedInvWrapper.setStackInSlot(int slot, ItemStack stack) voidEmptyHandler.setStackInSlot(int slot, ItemStack stack) voidEntityEquipmentInvWrapper.setStackInSlot(int slot, ItemStack stack) voidInvWrapper.setStackInSlot(int slot, ItemStack stack) voidRangedWrapper.setStackInSlot(int slot, ItemStack stack) voidShulkerItemStackInvWrapper.setStackInSlot(int slot, ItemStack stack) voidSidedInvWrapper.setStackInSlot(int slot, ItemStack stack) Method parameters in net.neoforged.neoforge.items.wrapper with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate voidShulkerItemStackInvWrapper.setItemList(NonNullList<ItemStack> itemStacks) Constructors in net.neoforged.neoforge.items.wrapper with parameters of type ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.oldtestFields in net.neoforged.neoforge.oldtest declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStack[]CreativeModeTabTest.CreativeModeColorTab.iconItemsMethods in net.neoforged.neoforge.oldtest that return ItemStackModifier and TypeMethodDescriptionCreativeModeTabTest.CreativeModeColorTab.getIconItem()private static ItemStackMethods in net.neoforged.neoforge.oldtest with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static voidFluidUtilTest.checkItemStack(ItemStack stack, Item item, int count) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.clientFields in net.neoforged.neoforge.oldtest.client declared as ItemStackMethods in net.neoforged.neoforge.oldtest.client that return types with arguments of type ItemStackModifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.use(Level level, Player player, InteractionHand hand) Methods in net.neoforged.neoforge.oldtest.client with parameters of type ItemStackModifier and TypeMethodDescriptionvoidCustomTooltipTest.CustomItemWithTooltip.appendHoverText(ItemStack stack, @Nullable Level level, List<Component> components, TooltipFlag flag) @Nullable StringCustomArmorModelTest.EndermanArmorItem.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) CustomTooltipTest.CustomItemWithTooltip.getTooltipImage(ItemStack stack) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.client.modelFields in net.neoforged.neoforge.oldtest.client.model declared as ItemStack
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.client.renderingMethods in net.neoforged.neoforge.oldtest.client.rendering that return ItemStackModifier and TypeMethodDescriptionEntityRendererEventsTest.MyEntity.getItemBySlot(EquipmentSlot p_21127_) Methods in net.neoforged.neoforge.oldtest.client.rendering that return types with arguments of type ItemStackMethods in net.neoforged.neoforge.oldtest.client.rendering with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanCustomItemDecorationsTest.StackSizeDurabilityBar.render(GuiGraphics graphics, Font font, ItemStack stack, int xOffset, int yOffset) voidEntityRendererEventsTest.MyEntity.setItemSlot(EquipmentSlot p_21036_, ItemStack p_21037_) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.entity.playerMethods in net.neoforged.neoforge.oldtest.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionItemUseAnimationTest.ThingItem.getUseAnimation(ItemStack stack) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.fluidMethods in net.neoforged.neoforge.oldtest.fluid that return ItemStackModifier and TypeMethodDescriptionNewFluidTest.FluidloggableBlock.pickupBlock(@Nullable Player player, LevelAccessor worldIn, BlockPos pos, BlockState state) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.itemMethods in net.neoforged.neoforge.oldtest.item that return types with arguments of type ItemStackModifier 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) Methods in net.neoforged.neoforge.oldtest.item with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanCustomElytraTest.CustomElytra.canElytraFly(ItemStack stack, LivingEntity entity) booleanCustomShieldTest.CustomShieldItem.canPerformAction(ItemStack stack, ToolAction toolAction) booleanCustomElytraTest.CustomElytra.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) com.google.common.collect.Multimap<Attribute,AttributeModifier> HiddenTooltipPartsTest.TestItem.getAttributeModifiers(EquipmentSlot slot, ItemStack stack) intHiddenTooltipPartsTest.TestItem.getDefaultTooltipHideFlags(ItemStack stack) CustomElytraTest.CustomElytraLayer.getElytraTexture(ItemStack stack, AbstractClientPlayer entity) @Nullable EquipmentSlotCustomElytraTest.CustomElytra.getEquipmentSlot(ItemStack stack) CustomShieldTest.CustomShieldItem.getUseAnimation(ItemStack stack) StopUsingItemTest.InvertedTelescope.getUseAnimation(ItemStack stack) intCustomShieldTest.CustomShieldItem.getUseDuration(ItemStack stack) intStopUsingItemTest.InvertedTelescope.getUseDuration(ItemStack stack) booleanCustomElytraTest.CustomElytraLayer.shouldRender(ItemStack stack, AbstractClientPlayer entity) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.miscMethods in net.neoforged.neoforge.oldtest.misc that return ItemStackModifier and TypeMethodDescriptionContainerTypeTest.TestContainer.quickMoveStack(Player p_38941_, int p_38942_) 
- 
Uses of ItemStack in net.neoforged.neoforge.oldtest.recipebookFields in net.neoforged.neoforge.oldtest.recipebook declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackRecipeBookTestRecipe.Ingredients.resultThe field for theresultrecord component.Methods in net.neoforged.neoforge.oldtest.recipebook that return ItemStackModifier and TypeMethodDescriptionRecipeBookTestRecipe.assemble(RecipeBookExtensionTest.RecipeBookTestContainer p_44001_, RegistryAccess registryAccess) RecipeBookTestRecipe.getResultItem(RegistryAccess registryAccess) RecipeBookTestRecipe.getToastSymbol()RecipeBookTestMenu.quickMoveStack(Player player, int idx) Mostly copied fromCraftingMenu.quickMoveStack(net.minecraft.world.entity.player.Player, int)RecipeBookTestRecipe.Ingredients.result()Returns the value of theresultrecord component.Methods in net.neoforged.neoforge.oldtest.recipebook with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanRecipeBookTestMenu.canTakeItemForPickAll(ItemStack stack, Slot slot) Constructors in net.neoforged.neoforge.oldtest.recipebook with parameters of type ItemStackModifierConstructorDescriptionIngredients(String group, List<String> pattern, Map<String, Ingredient> recipe, ItemStack result) Creates an instance of aIngredientsrecord class.
- 
Uses of ItemStack in net.neoforged.neoforge.registriesMethods in net.neoforged.neoforge.registries that return ItemStack
- 
Uses of ItemStack in net.neoforged.testframework.conditionMethods in net.neoforged.testframework.condition with parameters of type ItemStack
- 
Uses of ItemStack in net.neoforged.testframework.gametestMethods in net.neoforged.testframework.gametest with parameters of type ItemStackModifier and TypeMethodDescriptionvoidvoidvoid
IBakedModelExtension.getRenderPasses(ItemStack, boolean)andIBakedModelExtension.getRenderTypes(ItemStack, boolean).