Uses of Class
net.minecraft.item.ItemStack
Packages that use ItemStack
Package
Description
-
Uses of ItemStack in net.minecraft
Methods in net.minecraft that return ItemStackModifier and TypeMethodDescriptionBootstrap.BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackBootstrap.class_3116.dispenseSilently(BlockPointer pointer, ItemStack stack) class_3059.class_3060.getOutput()class_3059.class_3060.getResult(CraftingInventory inventory) class_2791.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2793.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) abstract ItemStackclass_2795.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2799.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2801.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2804.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2806.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2808.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2810.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2812.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) static ItemStackclass_3066.method_13715(DyeColor dyeColor) static ItemStackclass_2960.method_13925(List<ItemStack> list, int int2) static ItemStackclass_2960.method_13926(List<ItemStack> list, int int2, int int3) class_3066.method_8640(World world, BlockPos blockPos, BlockState blockState) class_3054.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft that return types with arguments of type ItemStackModifier and TypeMethodDescriptionclass_3059.class_3060.method_13670(CraftingInventory craftingInventory) Methods in net.minecraft with parameters of type ItemStackModifier and TypeMethodDescriptionvoidclass_3056.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) booleanBootstrap.BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackBootstrap.class_3116.dispenseSilently(BlockPointer pointer, ItemStack stack) booleanbooleanvoidclass_3146.equipStack(EquipmentSlot slot, ItemStack stack) class_3056.getTranslationKey(ItemStack stack) booleanclass_3136.isBreedingItem(ItemStack stack) class_2791.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2793.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) abstract ItemStackclass_2795.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2799.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2801.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2804.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2806.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2808.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2810.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2812.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) voidclass_3066.method_13701(ItemStack itemStack, PlayerEntity playerEntity, List<String> list, boolean bool) protected booleanclass_3136.method_13970(PlayerEntity playerEntity, ItemStack itemStack) booleanclass_3136.method_14001(ItemStack itemStack) voidclass_3066.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityMethod parameters in net.minecraft with type arguments of type ItemStackModifier and TypeMethodDescriptionprotected voidclass_2776.method_11967(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2776.method_11969(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2774.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2775.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) abstract voidclass_2778.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2786.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) static NbtCompoundclass_2960.method_13923(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList) static NbtCompoundclass_2960.method_13924(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList, boolean bool) static ItemStackclass_2960.method_13925(List<ItemStack> list, int int2) static ItemStackclass_2960.method_13926(List<ItemStack> list, int int2, int int3) static voidclass_2960.method_13927(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.advancement
Fields in net.minecraft.advancement declared as ItemStackConstructors in net.minecraft.advancement with parameters of type ItemStackModifierConstructorDescriptionAchievement(String statName, String achievementName, int column, int row, ItemStack logo, Achievement parent) -
Uses of ItemStack in net.minecraft.block
Fields in net.minecraft.block declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackJukeboxBlock.JukeboxBlockEntity.field_15141private ItemStackBannerPattern.stackMethods in net.minecraft.block that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackChorusFlowerBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackInfestedBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackLeaves1Block.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackLeaves2Block.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackLog1Block.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackLog2Block.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackPillarBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackQuartzBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackRedstoneLampBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackRedstoneOreBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.BannerPattern.getStack()private ItemStackBannerBlock.method_13699(World world, BlockPos blockPos) JukeboxBlock.JukeboxBlockEntity.method_4782()AbstractSignBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) AttachedStemBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) BannerBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) BedBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) BigMushroomBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) Block.method_8640(World world, BlockPos blockPos, BlockState blockState) BrewingStandBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) CakeBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) CauldronBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) CocoaBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) ComparatorBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) CropBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) DaylightDetectorBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) DirtBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) DoorBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) DoublePlantBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) EndGatewayBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) EndPortalBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) FlowerPotBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) FrostedIceBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) FurnaceBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) GrassPathBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) InfestedBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) Leaves2Block.method_8640(World world, BlockPos blockPos, BlockState blockState) MobSpawnerBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) NetherPortalBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) NetherWartBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) OreBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) PistonExtensionBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) PistonHeadBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) PurpurSlab.method_8640(World world, BlockPos blockPos, BlockState blockState) RedSandstoneSlabBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) RedstoneLampBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) RedstoneOreBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) RedstoneTorchBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) RedstoneWireBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) RepeaterBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) SkeletonSkullBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) StoneSlabBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) SugarCaneBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) TallPlantBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) TripwireBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) WoodSlabBlock.method_8640(World world, BlockPos blockPos, BlockState blockState) Methods in net.minecraft.block with parameters of type ItemStackModifier and TypeMethodDescriptionprotected DispenserBehaviorDispenserBlock.getBehaviorForItem(ItemStack stack) protected DispenserBehaviorDropperBlock.getBehaviorForItem(ItemStack stack) Comparable<?>PurpurSlab.method_11615(ItemStack itemStack) Comparable<?>RedSandstoneSlabBlock.method_11615(ItemStack itemStack) abstract Comparable<?>SlabBlock.method_11615(ItemStack itemStack) Comparable<?>StoneSlabBlock.method_11615(ItemStack itemStack) Comparable<?>WoodSlabBlock.method_11615(ItemStack itemStack) voidBlock.method_13701(ItemStack itemStack, PlayerEntity playerEntity, List<String> list, boolean bool) private booleanFlowerPotBlock.method_13707(ItemStack itemStack) voidJukeboxBlock.JukeboxBlockEntity.method_4783(ItemStack itemStack) voidBannerBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidBlockWithEntity.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidChorusFlowerBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidCobwebBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidDeadBushBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidDoublePlantBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidIceBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidLeaves1Block.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidLeaves2Block.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidSnowLayerBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidTallPlantBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidVineBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidJukeboxBlock.method_8801(World world, BlockPos blockPos, BlockState blockState, ItemStack itemStack) booleanSkeletonSkullBlock.method_8900(World world, BlockPos blockPos, ItemStack itemStack) static voidBlock.onBlockBreak(World world, BlockPos pos, ItemStack item) Runs when a block is brokenvoidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidBeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidBrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidCocoaBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidDispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidDoublePlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidEnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidEnderChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityMethod parameters in net.minecraft.block with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAnvilBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidCarpetBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidDaylightDetectorBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidDirtBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidDoublePlantBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidFlowerBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidInfestedBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidLeaves1Block.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidLeaves2Block.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidLog1Block.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidLog2Block.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidPlanksBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidPrismarineBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidQuartzBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidRedSandstoneBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidRedSandstoneSlabBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSandBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSandstoneBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSaplingBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSpongeBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidStainedGlassBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidStainedGlassPaneBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidStoneBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidStoneBrickBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidStoneSlabBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidTallPlantBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidWallBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidWoodSlabBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidWoolBlock.method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) Constructors in net.minecraft.block with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser that return ItemStackModifier and TypeMethodDescriptionDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) final ItemStackItemDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) Methods in net.minecraft.block.dispenser with parameters of type ItemStackModifier and TypeMethodDescriptionprotected abstract ProjectileProjectileDispenserBehavior.createProjectile(World world, Position pos, ItemStack stack) DispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) final ItemStackItemDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos) -
Uses of ItemStack in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ItemStackFields in net.minecraft.block.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>BrewingStandBlockEntity.field_15151private DefaultedList<ItemStack>ChestBlockEntity.field_15152private DefaultedList<ItemStack>DispenserBlockEntity.field_15153private DefaultedList<ItemStack>FurnaceBlockEntity.field_15154private DefaultedList<ItemStack>HopperBlockEntity.field_15155private DefaultedList<ItemStack>ShulkerBoxBlockEntity.inventoryMethods in net.minecraft.block.entity that return ItemStackModifier and TypeMethodDescriptionBeaconBlockEntity.getInvStack(int slot) BrewingStandBlockEntity.getInvStack(int slot) class_2737.getInvStack(int slot) FurnaceBlockEntity.getInvStack(int slot) FlowerPotBlockEntity.method_11659()BannerBlockEntity.method_13722()private static ItemStackHopperBlockEntity.method_13726(Inventory inventory, Inventory inventory2, ItemStack itemStack, int int2, Direction direction) static ItemStackHopperBlockEntity.method_13727(Inventory inventory, Inventory inventory2, ItemStack itemStack, Direction direction) BeaconBlockEntity.removeInvStack(int slot) BrewingStandBlockEntity.removeInvStack(int slot) class_2737.removeInvStack(int slot) FurnaceBlockEntity.removeInvStack(int slot) BeaconBlockEntity.takeInvStack(int slot, int amount) BrewingStandBlockEntity.takeInvStack(int slot, int amount) class_2737.takeInvStack(int slot, int amount) FurnaceBlockEntity.takeInvStack(int slot, int amount) HopperBlockEntity.takeInvStack(int slot, int amount) Methods in net.minecraft.block.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprotected DefaultedList<ItemStack>ChestBlockEntity.method_13730()protected abstract DefaultedList<ItemStack>class_2737.method_13730()protected DefaultedList<ItemStack>DispenserBlockEntity.method_13730()protected DefaultedList<ItemStack>HopperBlockEntity.method_13730()protected DefaultedList<ItemStack>ShulkerBoxBlockEntity.method_13730()Methods in net.minecraft.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static booleanHopperBlockEntity.canExtract(Inventory inv, ItemStack stack, int slot, Direction facing) booleanBeaconBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanBrewingStandBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanShulkerBoxBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) private static booleanbooleanBeaconBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanBrewingStandBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanShulkerBoxBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) private static booleanHopperBlockEntity.canMergeItems(ItemStack first, ItemStack second) static intFurnaceBlockEntity.getBurnTime(ItemStack stack) static intBannerBlockEntity.getPatternCount(ItemStack stack) static booleanbooleanBeaconBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanBrewingStandBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanclass_2737.isValidInvStack(int slot, ItemStack stack) booleanFurnaceBlockEntity.isValidInvStack(int slot, ItemStack stack) static voidBannerBlockEntity.loadFromItemStack(ItemStack stack) voidBannerBlockEntity.method_13720(ItemStack itemStack, boolean bool) static DyeColorBannerBlockEntity.method_13721(ItemStack itemStack) voidFlowerPotBlockEntity.method_13725(ItemStack itemStack) private static ItemStackHopperBlockEntity.method_13726(Inventory inventory, Inventory inventory2, ItemStack itemStack, int int2, Direction direction) static ItemStackHopperBlockEntity.method_13727(Inventory inventory, Inventory inventory2, ItemStack itemStack, Direction direction) intDispenserBlockEntity.method_514(ItemStack itemStack) intFurnaceBlockEntity.method_8990(ItemStack itemStack) voidBeaconBlockEntity.setInvStack(int slot, ItemStack stack) voidBrewingStandBlockEntity.setInvStack(int slot, ItemStack stack) voidclass_2737.setInvStack(int slot, ItemStack stack) voidFurnaceBlockEntity.setInvStack(int slot, ItemStack stack) voidHopperBlockEntity.setInvStack(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.client
Methods in net.minecraft.client that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackMinecraftClient.method_12138(ItemStack itemStack, BlockEntity blockEntity) Methods in net.minecraft.client with parameters of type ItemStackModifier and TypeMethodDescriptionprivate ItemStackMinecraftClient.method_12138(ItemStack itemStack, BlockEntity blockEntity) intclass_2837.method_12159(ItemStack itemStack, int int2) intclass_2838.method_12160(ItemStack itemStack, int int2) (package private) booleanclass_2874.method_12369(ItemStack itemStack, World world, LivingEntity livingEntity) class_2876.method_12372(ItemStack itemStack, World world, LivingEntity livingEntity) -
Uses of ItemStack in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type ItemStackModifier and TypeMethodDescriptionvoidCreativeInventoryListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) Method parameters in net.minecraft.client.gui with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidCreativeInventoryListener.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as ItemStackMethods in net.minecraft.client.gui.hud with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidInGameHud.method_9422(int int2, int int3, float float2, PlayerEntity playerEntity, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidCustomizeFlatLevelScreen.CustomizeFlatLevelListWidget.renderEntry(int x, int y, ItemStack iconItem) protected voidScreen.renderTooltip(ItemStack stack, int x, int y) -
Uses of ItemStack in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackEnchantingScreen.field_1398private final ItemStackBookEditScreen.itemprivate ItemStackHandledScreen.quickMovingStackprivate ItemStackHandledScreen.touchDragStackprivate ItemStackHandledScreen.touchDropReturningStackFields in net.minecraft.client.gui.screen.ingame with type parameters of type ItemStackMethods in net.minecraft.client.gui.screen.ingame that return ItemStackModifier and TypeMethodDescriptionCreativeInventoryScreen.CreativeInventorySlot.getStack()CreativeInventoryScreen.CreativeInventorySlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) CreativeInventoryScreen.CreativeInventorySlot.takeStack(int amount) CreativeInventoryScreen.CreativeScreenHandler.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft.client.gui.screen.ingame with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanCreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) private voidintCreativeInventoryScreen.CreativeInventorySlot.getMaxStackAmount(ItemStack stack) CreativeInventoryScreen.CreativeInventorySlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) voidAnvilScreen.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) protected voidCreativeInventoryScreen.renderTooltip(ItemStack stack, int x, int y) voidMethod parameters in net.minecraft.client.gui.screen.ingame with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAnvilScreen.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.client.network
Fields in net.minecraft.client.network declared as ItemStackMethods in net.minecraft.client.network that return ItemStackModifier and TypeMethodDescriptionClientPlayerInteractionManager.method_1224(int int2, int int3, int int4, ItemAction itemAction, PlayerEntity playerEntity) Methods in net.minecraft.client.network with parameters of type ItemStackModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.clickCreativeStack(ItemStack stack, int slotId) voidClientPlayerInteractionManager.dropCreativeStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.client.realms
Methods in net.minecraft.client.realms with parameters of type ItemStackModifier and TypeMethodDescriptionvoidRealmsScreenProxy.renderTooltip(ItemStack stack, int x, int y) -
Uses of ItemStack in net.minecraft.client.render
Fields in net.minecraft.client.render declared as ItemStackMethods in net.minecraft.client.render with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionvoidBlockEntityItemStackRenderHelper.renderItem(ItemStack stack) -
Uses of ItemStack in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity that return ItemStackModifier and TypeMethodDescriptionFlyingItemEntityRenderer.createStack(T entity) FlyingPotionEntityRenderer.createStack(PotionEntity potionEntity) Methods in net.minecraft.client.render.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate intItemEntityRenderer.method_10222(ItemStack itemStack) -
Uses of ItemStack in net.minecraft.client.render.entity.feature
Methods in net.minecraft.client.render.entity.feature with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidHeldItemRenderer.method_12484(LivingEntity livingEntity, ItemStack itemStack, ModelTransformation.Mode mode, HandOption handOption) -
Uses of ItemStack in net.minecraft.client.render.item
Fields in net.minecraft.client.render.item declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackHeldItemRenderer.field_13531private ItemStackHeldItemRenderer.field_13532Methods in net.minecraft.client.render.item with parameters of type ItemStackModifier and TypeMethodDescriptionprotected intItemModels.getMetadata(ItemStack stack) private voidItemRenderer.method_10232(BufferBuilder bufferBuilder, List<BakedQuad> list, int int2, ItemStack itemStack) private voidItemRenderer.method_10236(BakedModel bakedModel, int int2, ItemStack itemStack) private voidItemRenderer.method_10237(BakedModel bakedModel, ItemStack itemStack) booleanItemRenderer.method_10240(ItemStack itemStack) voidItemRenderer.method_10243(ItemStack itemStack, BakedModel bakedModel) voidItemRenderer.method_10249(LivingEntity livingEntity, ItemStack itemStack, int int2, int int3) private voidHeldItemRenderer.method_12326(float float2, HandOption handOption, float float3, ItemStack itemStack) private voidHeldItemRenderer.method_12327(float float2, HandOption handOption, ItemStack itemStack) private voidHeldItemRenderer.method_12328(ItemStack itemStack) voidHeldItemRenderer.method_12329(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2, float float3, Hand hand, float float4, ItemStack itemStack, float float5) voidHeldItemRenderer.method_12333(LivingEntity livingEntity, ItemStack itemStack, ModelTransformation.Mode mode, boolean bool) voidItemRenderer.method_12455(ItemStack itemStack, int int2, int int3) protected voidItemRenderer.method_12456(ItemStack itemStack, int int2, int int3, BakedModel bakedModel) ItemRenderer.method_12457(ItemStack itemStack, World world, LivingEntity livingEntity) voidItemRenderer.method_12458(ItemStack itemStack, ModelTransformation.Mode mode) protected voidItemRenderer.method_12459(ItemStack itemStack, BakedModel bakedModel, ModelTransformation.Mode mode, boolean bool) voidItemRenderer.method_12460(ItemStack itemStack, LivingEntity livingEntity, ModelTransformation.Mode mode, boolean bool) voidItemRenderer.method_12461(ItemStack itemStack, int int2, int int3) voidItemRenderer.method_1549(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3) voidItemRenderer.renderGuiItemOverlay(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3, String string) voidHeldItemRenderer.renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode renderMode) -
Uses of ItemStack in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) static ItemStackEnchants thetargetitem stack and returns it.Methods in net.minecraft.enchantment that return types with arguments of type ItemStackMethods in net.minecraft.enchantment with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intEnchantmentHelper.calculateRequiredExperienceLevel(Random random, int slotIndex, int bookshelfCount, ItemStack stack) Returns the required experience level for an enchanting option in the enchanting table's screen, or the enchantment screen.static ItemStackEnchants thetargetitem stack and returns it.private static voidEnchantmentHelper.forEachEnchantment(EnchantmentHelper.Consumer consumer, ItemStack stack) static List<EnchantmentLevelEntry>EnchantmentHelper.generateEnchantments(Random random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack.static Map<Enchantment,Integer> Gets the enchantments on an item stack.static floatEnchantmentHelper.getAttackDamage(ItemStack stack, EntityGroup group) static intEnchantmentHelper.getLevel(Enchantment enchantment, ItemStack stack) Gets the level of an enchantment on an item stack.static intEnchantmentHelper.getLuckOfTheSea(ItemStack stack) static intstatic List<EnchantmentLevelEntry>EnchantmentHelper.getPossibleEntries(int power, ItemStack stack, boolean treasureAllowed) Gets all the possible entries for enchanting thestackat the givenpower.static booleanEnchantmentHelper.hasBindingCurse(ItemStack stack) static booleanEnchantmentHelper.hasVanishingCurse(ItemStack stack) booleanDamageEnchantment.isAcceptableItem(ItemStack stack) booleanEfficiencyEnchantment.isAcceptableItem(ItemStack stack) booleanEnchantment.isAcceptableItem(ItemStack stack) booleanThornsEnchantment.isAcceptableItem(ItemStack stack) booleanUnbreakingEnchantment.isAcceptableItem(ItemStack stack) static voidEnchantmentHelper.set(Map<Enchantment, Integer> enchantments, ItemStack stack) Sets the enchantments on an item stack.static booleanUnbreakingEnchantment.shouldPreventDamage(ItemStack item, int level, Random random) Method parameters in net.minecraft.enchantment with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate static voidEnchantmentHelper.forEachEnchantment(EnchantmentHelper.Consumer consumer, Iterable<ItemStack> stacks) static intEnchantmentHelper.getProtectionAmount(Iterable<ItemStack> stacks, DamageSource source) -
Uses of ItemStack in net.minecraft.entity
Fields in net.minecraft.entity declared as ItemStackFields in net.minecraft.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionEntity.EMPTY_STACK_LISTprivate final DefaultedList<ItemStack>LivingEntity.field_15465private final DefaultedList<ItemStack>LivingEntity.field_15466private static final TrackedData<ItemStack>FireworkRocketEntity.ITEMprivate static final TrackedData<ItemStack>ItemEntity.STACKMethods in net.minecraft.entity that return ItemStackModifier and TypeMethodDescriptionItemEntity.getItemStack()protected ItemStackHuskEntity.getSkull()LivingEntity.getStackInHand(Hand hand) abstract ItemStackLivingEntity.method_13043(EquipmentSlot equipmentSlot) LivingEntity.method_13058()LivingEntity.method_13059()LivingEntity.method_13064()Methods in net.minecraft.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionEntity.getArmorItems()LivingEntity.getArmorItems()Entity.getItemsEquipped()Entity.getItemsHand()Methods in net.minecraft.entity with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidEntity.equipStack(EquipmentSlot slot, ItemStack stack) abstract voidLivingEntity.equipStack(EquipmentSlot slot, ItemStack stack) booleanPolarBearEntity.isBreedingItem(ItemStack stack) protected voidLivingEntity.method_13038(ItemStack stack, int int2) voidLivingEntity.method_13042(Hand hand, ItemStack itemStack) protected voidLivingEntity.method_13045(ItemStack itemStack) protected booleanLlamaEntity.method_13970(PlayerEntity playerEntity, ItemStack itemStack) booleanLlamaEntity.method_14001(ItemStack itemStack) private voidLlamaEntity.method_14034(ItemStack itemStack) voidLivingEntity.method_6111(ItemStack itemStack) voidItemEntity.setItemStack(ItemStack itemStack) Constructors in net.minecraft.entity with parameters of type ItemStackModifierConstructorDescriptionFireworkRocketEntity(World world, double x, double y, double z, ItemStack item) FireworkRocketEntity(World world, ItemStack item, LivingEntity shooter) ItemEntity(World world, double x, double y, double z, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final TrackedDataHandler<ItemStack>TrackedDataHandlerRegistry.ITEM_STACKMethods in net.minecraft.entity.data with parameters of type ItemStackModifier and TypeMethodDescriptionvoidMerchant.method_5501(ItemStack stack) voidTrader.method_5501(ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>ArmorStandEntity.field_15522private final DefaultedList<ItemStack>ArmorStandEntity.field_15523private static final TrackedData<ItemStack>ItemFrameEntity.ITEM_STACKMethods in net.minecraft.entity.decoration that return ItemStackModifier and TypeMethodDescriptionItemFrameEntity.getHeldItemStack()ArmorStandEntity.method_13043(EquipmentSlot equipmentSlot) Methods in net.minecraft.entity.decoration that return types with arguments of type ItemStackModifier and TypeMethodDescriptionArmorStandEntity.getArmorItems()ArmorStandEntity.getItemsHand()Methods in net.minecraft.entity.decoration with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidArmorStandEntity.equipStack(EquipmentSlot slot, ItemStack stack) private voidArmorStandEntity.method_13206(PlayerEntity playerEntity, EquipmentSlot equipmentSlot, ItemStack itemStack, Hand hand) private voidItemFrameEntity.removeFromFrame(ItemStack map) voidItemFrameEntity.setHeldItemStack(ItemStack stack) private voidItemFrameEntity.setHeldItemStack(ItemStack stack, boolean update) -
Uses of ItemStack in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect with type parameters of type ItemStackModifier and TypeFieldDescriptionStatusEffectStrings.field_12342StatusEffectStrings.class_2697.field_12346Methods in net.minecraft.entity.effect that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackStatusEffectStrings.method_11427(ItemStack itemStack, ItemStack itemStack2) Methods in net.minecraft.entity.effect with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanstatic booleanStatusEffectStrings.method_11417(ItemStack itemStack) static booleanStatusEffectStrings.method_11418(ItemStack itemStack, ItemStack itemStack2) protected static booleanStatusEffectStrings.method_11423(ItemStack itemStack) protected static booleanStatusEffectStrings.method_11424(ItemStack itemStack, ItemStack itemStack2) protected static booleanStatusEffectStrings.method_11425(ItemStack itemStack) protected static booleanStatusEffectStrings.method_11426(ItemStack itemStack, ItemStack itemStack2) static ItemStackStatusEffectStrings.method_11427(ItemStack itemStack, ItemStack itemStack2) Method parameters in net.minecraft.entity.effect with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate static voidStatusEffectStrings.method_11420(Potion potion, Predicate<ItemStack> predicate, Potion potion2) Constructor parameters in net.minecraft.entity.effect with type arguments of type ItemStack -
Uses of ItemStack in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>MobEntity.field_15467private final DefaultedList<ItemStack>MobEntity.field_15468Methods in net.minecraft.entity.mob that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackZombieEntity.getSkull()protected ItemStackZombiePigmanEntity.getSkull()protected ItemStackZombieVillagerEntity.getSkull()MobEntity.method_13043(EquipmentSlot equipmentSlot) Methods in net.minecraft.entity.mob that return types with arguments of type ItemStackMethods in net.minecraft.entity.mob with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanMobEntity.canPickupItem(ItemStack stack) protected booleanZombieEntity.canPickupItem(ItemStack stack) booleanvoidMobEntity.equipStack(EquipmentSlot slot, ItemStack stack) static booleanMobEntity.method_13080(EquipmentSlot equipmentSlot, ItemStack itemStack) static EquipmentSlotMobEntity.method_13083(ItemStack itemStack) -
Uses of ItemStack in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as ItemStackModifier and TypeFieldDescriptionVillagerEntity.EmeraldToItem.field_12118VillagerEntity.EnchantedItemStackTradeEntry.itemVillagerEntity.ItemStackTradeEntry.itemVillagerEntity.EmeraldToItem.stack1Methods in net.minecraft.entity.passive with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidAnimalEntity.eat(PlayerEntity player, ItemStack stack) booleanbooleanAnimalEntity.isBreedingItem(ItemStack stack) booleanChickenEntity.isBreedingItem(ItemStack stack) booleanOcelotEntity.isBreedingItem(ItemStack stack) booleanPigEntity.isBreedingItem(ItemStack stack) booleanRabbitEntity.isBreedingItem(ItemStack stack) booleanWolfEntity.isBreedingItem(ItemStack stack) protected booleanPassiveEntity.method_13929(ItemStack itemStack, Class<? extends Entity> class2) booleanHorseBaseEntity.method_14001(ItemStack itemStack) voidVillagerEntity.method_5501(ItemStack stack) voidHorseBaseEntity.method_8390(ItemStack itemStack) Constructors in net.minecraft.entity.passive with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackPlayerInventory.cursorStackprivate ItemStackPlayerEntity.field_14794Fields in net.minecraft.entity.player with type parameters of type ItemStackModifier and TypeFieldDescriptionfinal DefaultedList<ItemStack>PlayerInventory.field_15082final DefaultedList<ItemStack>PlayerInventory.field_15083final DefaultedList<ItemStack>PlayerInventory.field_15084private final List<DefaultedList<ItemStack>>PlayerInventory.field_15085Methods in net.minecraft.entity.player that return ItemStackModifier and TypeMethodDescriptionPlayerInventory.getArmor(int slot) PlayerInventory.getCursorStack()PlayerInventory.getInvStack(int slot) PlayerInventory.getMainHandStack()PlayerEntity.method_13043(EquipmentSlot equipmentSlot) protected ItemStackClientPlayerEntity.method_3164(ItemEntity itemEntity) protected ItemStackPlayerEntity.method_3164(ItemEntity itemEntity) PlayerInventory.removeInvStack(int slot) PlayerInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.entity.player that return types with arguments of type ItemStackMethods in net.minecraft.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanvoidPlayerEntity.equipStack(EquipmentSlot slot, ItemStack stack) voidHungerManager.incrementStat(FoodItem food, ItemStack stack) booleanPlayerInventory.insertStack(ItemStack itemStack) booleanPlayerInventory.isValidInvStack(int slot, ItemStack stack) voidPlayerInventory.method_13250(ItemStack itemStack) private booleanPlayerInventory.method_13251(ItemStack itemStack, ItemStack itemStack2) intPlayerInventory.method_13253(ItemStack itemStack) private booleanPlayerInventory.method_13254(ItemStack itemStack, ItemStack itemStack2) voidPlayerInventory.method_13257(ItemStack itemStack) booleanPlayerEntity.method_13617(ItemStack itemStack) private intPlayerInventory.method_3138(ItemStack itemStack) private intPlayerInventory.method_3140(ItemStack itemStack) voidClientPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidServerPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidServerPlayerEntity.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidPlayerInventory.setCursorStack(ItemStack stack) voidPlayerInventory.setInvStack(int slot, ItemStack stack) Method parameters in net.minecraft.entity.player with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidServerPlayerEntity.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.entity.predicate
Fields in net.minecraft.entity.predicate declared as ItemStackConstructors in net.minecraft.entity.predicate with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return ItemStackModifier and TypeMethodDescriptionprotected abstract ItemStackAbstractArrowEntity.asItemStack()protected ItemStackArrowEntity.asItemStack()protected ItemStackSpetraclArrowEntity.asItemStack()Methods in net.minecraft.entity.projectile with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intArrowEntity.getCustomPotionColor(ItemStack stack) voidArrowEntity.initFromStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.thrown
Fields in net.minecraft.entity.thrown with type parameters of type ItemStackMethods in net.minecraft.entity.thrown that return ItemStackMethods in net.minecraft.entity.thrown with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidPotionEntity.applyLingeringPotion(ItemStack stack, Potion potion) voidConstructors in net.minecraft.entity.thrown with parameters of type ItemStackModifierConstructorDescriptionPotionEntity(World world, double x, double y, double z, ItemStack stack) PotionEntity(World world, LivingEntity entity, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>StorageMinecartEntity.inventoryMethods in net.minecraft.entity.vehicle that return ItemStackModifier and TypeMethodDescriptionStorageMinecartEntity.getInvStack(int slot) StorageMinecartEntity.removeInvStack(int slot) StorageMinecartEntity.takeInvStack(int slot, int amount) Methods in net.minecraft.entity.vehicle with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanStorageMinecartEntity.isValidInvStack(int slot, ItemStack stack) voidStorageMinecartEntity.setInvStack(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.inventory
Fields in net.minecraft.inventory with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>CraftingInventory.field_15100private final DefaultedList<ItemStack>CraftingResultInventory.field_15105private final DefaultedList<ItemStack>SimpleInventory.field_15440Methods in net.minecraft.inventory that return ItemStackModifier and TypeMethodDescriptionSimpleInventory.fillInventoryWith(ItemStack stack) CraftingInventory.getInvStack(int slot) CraftingResultInventory.getInvStack(int slot) DoubleInventory.getInvStack(int slot) Inventory.getInvStack(int slot) SimpleInventory.getInvStack(int slot) CraftingInventory.method_3280(int int2, int int3) CraftingInventory.removeInvStack(int slot) CraftingResultInventory.removeInvStack(int slot) DoubleInventory.removeInvStack(int slot) Inventory.removeInvStack(int slot) SimpleInventory.removeInvStack(int slot) CraftingInventory.takeInvStack(int slot, int amount) CraftingResultInventory.takeInvStack(int slot, int amount) DoubleInventory.takeInvStack(int slot, int amount) Inventory.takeInvStack(int slot, int amount) SimpleInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.inventory with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanSidedInventory.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanSidedInventory.canInsertInvStack(int slot, ItemStack stack, Direction dir) SimpleInventory.fillInventoryWith(ItemStack stack) booleanCraftingInventory.isValidInvStack(int slot, ItemStack stack) booleanCraftingResultInventory.isValidInvStack(int slot, ItemStack stack) booleanDoubleInventory.isValidInvStack(int slot, ItemStack stack) booleanInventory.isValidInvStack(int slot, ItemStack stack) booleanSimpleInventory.isValidInvStack(int slot, ItemStack stack) voidCraftingInventory.setInvStack(int slot, ItemStack stack) voidCraftingResultInventory.setInvStack(int slot, ItemStack stack) voidDoubleInventory.setInvStack(int slot, ItemStack stack) voidInventory.setInvStack(int slot, ItemStack stack) voidSimpleInventory.setInvStack(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.inventory.slot
Methods in net.minecraft.inventory.slot that return ItemStackModifier and TypeMethodDescriptionSlot.getStack()CraftingResultSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) FurnaceOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) Slot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) TradeOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) CraftingResultSlot.takeStack(int amount) FurnaceOutputSlot.takeStack(int amount) Slot.takeStack(int amount) TradeOutputSlot.takeStack(int amount) Methods in net.minecraft.inventory.slot with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanprivate booleanTradeOutputSlot.depleteBuyItems(TradeOffer offer, ItemStack first, ItemStack second) intFurnaceFuelSlot.getMaxStackAmount(ItemStack stack) intSlot.getMaxStackAmount(ItemStack stack) static booleanCraftingResultSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) FurnaceOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) Slot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) TradeOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidSlot.onStackChanged(ItemStack originalItem, ItemStack newItem) void -
Uses of ItemStack in net.minecraft.item
Fields in net.minecraft.item declared as ItemStackMethods in net.minecraft.item that return ItemStackModifier and TypeMethodDescriptionItemStack.copy()private ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) EnchantedBookItem.getAsItemStack(EnchantmentLevelEntry info) Item.getDefaultStack()PotionItem.getDefaultStack()TippedArrowItem.getDefaultStack()static ItemStackArmorItem.method_11353(BlockPointer blockPointer, ItemStack itemStack) protected ItemStackGlassBottleItem.method_11360(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2) private ItemStackBowItem.method_11362(PlayerEntity playerEntity) ItemStack.method_11388(World world, LivingEntity entity) static ItemStackBannerItem.method_13645(DyeColor dyeColor, NbtList nbtList) ItemStack.method_13661(String string) static ItemStackFilledMapItem.method_13663(World world, double double2, double double3, byte byte2, boolean bool, boolean bool2) ChorusFruitItem.method_3367(ItemStack stack, World world, LivingEntity entity) FoodItem.method_3367(ItemStack stack, World world, LivingEntity entity) Item.method_3367(ItemStack stack, World world, LivingEntity entity) MilkBucketItem.method_3367(ItemStack stack, World world, LivingEntity entity) PotionItem.method_3367(ItemStack stack, World world, LivingEntity entity) StewItem.method_3367(ItemStack stack, World world, LivingEntity entity) ItemStack.setCustomName(String name) ItemStack.split(int amount) Methods in net.minecraft.item that return types with arguments of type ItemStackModifier and TypeMethodDescriptionItemStack.method_11390(World world, PlayerEntity player, Hand hand) ArmorItem.method_13649(World world, PlayerEntity player, Hand hand) BoatItem.method_13649(World world, PlayerEntity player, Hand hand) BowItem.method_13649(World world, PlayerEntity player, Hand hand) BucketItem.method_13649(World world, PlayerEntity player, Hand hand) CarrotOnAStickItem.method_13649(World world, PlayerEntity player, Hand hand) EggItem.method_13649(World world, PlayerEntity player, Hand hand) ElytraItem.method_13649(World world, PlayerEntity player, Hand hand) EmptyMapItem.method_13649(World world, PlayerEntity player, Hand hand) EnderEyeItem.method_13649(World world, PlayerEntity player, Hand hand) EnderPearlItem.method_13649(World world, PlayerEntity player, Hand hand) ExperienceBottleItem.method_13649(World world, PlayerEntity player, Hand hand) FireworkItem.method_13649(World world, PlayerEntity player, Hand hand) FishingRodItem.method_13649(World world, PlayerEntity player, Hand hand) FoodItem.method_13649(World world, PlayerEntity player, Hand hand) GlassBottleItem.method_13649(World world, PlayerEntity player, Hand hand) Item.method_13649(World world, PlayerEntity player, Hand hand) LilyPadItem.method_13649(World world, PlayerEntity player, Hand hand) LingeringPotionItem.method_13649(World world, PlayerEntity player, Hand hand) MilkBucketItem.method_13649(World world, PlayerEntity player, Hand hand) PotionItem.method_13649(World world, PlayerEntity player, Hand hand) ShieldItem.method_13649(World world, PlayerEntity player, Hand hand) SnowballItem.method_13649(World world, PlayerEntity player, Hand hand) SpawnEggItem.method_13649(World world, PlayerEntity player, Hand hand) SplashPotionItem.method_13649(World world, PlayerEntity player, Hand hand) WritableBookItem.method_13649(World world, PlayerEntity player, Hand hand) WrittenBookItem.method_13649(World world, PlayerEntity player, Hand hand) Methods in net.minecraft.item with parameters of type ItemStackModifier and TypeMethodDescriptionvoidEnchantedBookItem.addEnchantment(ItemStack itemStack, EnchantmentLevelEntry info) voidBannerItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidBlockItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidEnchantedBookItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidFilledMapItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidFireworkChargeItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidFireworkItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidLingeringPotionItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidMusicDiscItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidPotionItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidShieldItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidTippedArrowItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidWrittenBookItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.Packet<?>FilledMapItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Packet<?>NetworkSyncedItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) protected voidAppleItem.eat(ItemStack stack, World world, PlayerEntity player) protected voidFishItem.eat(ItemStack stack, World world, PlayerEntity player) protected voidFoodItem.eat(ItemStack stack, World world, PlayerEntity player) booleanstatic booleanprivate booleanstatic booleanstatic booleanItemStack.equalsIgnoreDamage(ItemStack left, ItemStack right) booleanItemStack.equalsIgnoreNbt(ItemStack stack) static booleanItemStack.equalsIgnoreNbt(ItemStack left, ItemStack right) static booleanprivate ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) floatAxeItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatPickaxeItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatShearsItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatSwordItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatToolItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) static FishItem.FishTypeFishItem.FishType.getByItemStack(ItemStack itemStack) intBannerItem.getDisplayName(ItemStack stack) Item.getDisplayName(ItemStack stack) LingeringPotionItem.getDisplayName(ItemStack stack) PotionItem.getDisplayName(ItemStack stack) ShieldItem.getDisplayName(ItemStack stack) SkullItem.getDisplayName(ItemStack stack) SpawnEggItem.getDisplayName(ItemStack stack) SplashPotionItem.getDisplayName(ItemStack stack) TippedArrowItem.getDisplayName(ItemStack stack) WrittenBookItem.getDisplayName(ItemStack stack) EnchantedBookItem.getEnchantmentNbt(ItemStack itemStack) static IdentifierSpawnEggItem.getEntityIdentifierFromStack(ItemStack stack) static NbtElementFireworkChargeItem.getExplosionNbt(ItemStack stack, String name) static intWrittenBookItem.getGeneration(ItemStack stack) intFishItem.getHungerPoints(ItemStack stack) intFoodItem.getHungerPoints(ItemStack stack) Item.getItemstackTranslatedName(ItemStack stack) Returns the translated name of an ItemStackFilledMapItem.getMapState(ItemStack itemStack, World world) intBowItem.getMaxUseTime(ItemStack stack) intFoodItem.getMaxUseTime(ItemStack stack) intItem.getMaxUseTime(ItemStack stack) intMilkBucketItem.getMaxUseTime(ItemStack stack) intPotionItem.getMaxUseTime(ItemStack stack) intShieldItem.getMaxUseTime(ItemStack stack) Returns the rarity of the current Item.Returns the rarity of the current Item.Returns the rarity of the current Item.Returns the rarity of the current Item.floatFishItem.getSaturation(ItemStack stack) floatFoodItem.getSaturation(ItemStack stack) BlockItem.getTranslationKey(ItemStack stack) CoalItem.getTranslationKey(ItemStack stack) DyeItem.getTranslationKey(ItemStack stack) FishItem.getTranslationKey(ItemStack stack) GrassBlockItem.getTranslationKey(ItemStack stack) Item.getTranslationKey(ItemStack stack) LeavesItem.getTranslationKey(ItemStack stack) SkullItem.getTranslationKey(ItemStack stack) StoneSlabItem.getTranslationKey(ItemStack stack) VariantBlockItem.getTranslationKey(ItemStack stack) WoolItem.getTranslationKey(ItemStack stack) BowItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.FoodItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.Item.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.MilkBucketItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.PotionItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.ShieldItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.booleanbooleanAppleItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanEnchantedBookItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanEndCrystalItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanExperienceBottleItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanNetherStarItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanPotionItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanWrittenBookItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.voidFilledMapItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) Runs every tick when the item is in an inventory.voidItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) Runs every tick when the item is in an inventory.booleanBookItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanEnchantedBookItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.static DyeColorBannerItem.method_11268(ItemStack itemStack) booleanBlockItem.method_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack) booleanStoneSlabItem.method_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack) static ItemStackArmorItem.method_11353(BlockPointer blockPointer, ItemStack itemStack) class_2680.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) SpectralArrowItem.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) TippedArrowItem.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) static voidBannerItem.method_11359(ItemStack itemStack, List<String> list) protected ItemStackGlassBottleItem.method_11360(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2) protected booleanBowItem.method_11364(ItemStack itemStack) static booleanElytraItem.method_11370(ItemStack itemStack) protected voidHoeItem.method_11372(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, BlockState blockState) floatItemPropertyGetter.method_11398(ItemStack stack, World world, LivingEntity entity) protected static voidFilledMapItem.method_11399(ItemStack itemStack, World world, int int2) protected static voidFilledMapItem.method_11400(ItemStack itemStack, World world) private booleanStoneSlabItem.method_11404(PlayerEntity playerEntity, ItemStack itemStack, World world, BlockPos blockPos, Object object) static voidSpawnEggItem.method_11406(World world, PlayerEntity player, ItemStack stack, Entity entity) static voidFilledMapItem.method_13664(World world, ItemStack itemStack) static intFilledMapItem.method_13665(ItemStack itemStack) booleanDyeItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanNameTagItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanSaddleItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanShearsItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanSwordItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanToolItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) voidBowItem.method_3359(ItemStack stack, World world, LivingEntity entity, int int2) voidItem.method_3359(ItemStack stack, World world, LivingEntity entity, int int2) ChorusFruitItem.method_3367(ItemStack stack, World world, LivingEntity entity) FoodItem.method_3367(ItemStack stack, World world, LivingEntity entity) Item.method_3367(ItemStack stack, World world, LivingEntity entity) MilkBucketItem.method_3367(ItemStack stack, World world, LivingEntity entity) PotionItem.method_3367(ItemStack stack, World world, LivingEntity entity) StewItem.method_3367(ItemStack stack, World world, LivingEntity entity) VariantBlockItem.class_3057.method_8437(ItemStack itemStack) voidFilledMapItem.onCraft(ItemStack stack, World world, PlayerEntity player) Runs when the item is craftedvoidItem.onCraft(ItemStack stack, World world, PlayerEntity player) Runs when the item is craftedbooleanHoeItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanSwordItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanToolItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) voidArmorItem.removeColor(ItemStack stack) private voidWrittenBookItem.resolveContents(ItemStack stack, PlayerEntity player) static booleanBlockItem.setBlockEntityNbt(World world, PlayerEntity player, BlockPos pos, ItemStack itemStack) voidstatic voidSpawnEggItem.setEggEntity(ItemStack stack, Identifier entityId) Method parameters in net.minecraft.item with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidEnchantedBookItem.getEnchantments(Enchantment enchantment, List<ItemStack> list) voidAppleItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidBannerItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidBlockItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidCoalItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidDyeItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidFishItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidPotionItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidShieldItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSkullItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidSpawnEggItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) voidTippedArrowItem.method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.item.itemgroup
Fields in net.minecraft.item.itemgroup declared as ItemStackMethods in net.minecraft.item.itemgroup that return ItemStackModifier and TypeMethodDescriptionItemGroup.getIcon()abstract ItemStackItemGroup.method_13647()Method parameters in net.minecraft.item.itemgroup with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidItemGroup.method_13646(DefaultedList<ItemStack> defaultedList) voidItemGroup.showBooks(List<ItemStack> stacks, EnchantmentTarget[] targets) -
Uses of ItemStack in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type ItemStackModifier and TypeMethodDescriptionPacket<?>static voidMapState.method_13830(ItemStack itemStack, BlockPos blockPos, String string, class_3082.class_3083 class_3083) Packet<?>MapState.method_184(ItemStack itemStack, World world, PlayerEntity player) voidMapState.update(PlayerEntity player, ItemStack stack) -
Uses of ItemStack in net.minecraft.loot
Methods in net.minecraft.loot that return types with arguments of type ItemStackMethod parameters in net.minecraft.loot with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate voidclass_2780.method_11980(List<ItemStack> list, int int2, Random random) -
Uses of ItemStack in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackClickWindowC2SPacket.selectedStackprivate ItemStackCreativeInventoryActionC2SPacket.stackMethods in net.minecraft.network.packet.c2s.play that return ItemStackModifier and TypeMethodDescriptionCreativeInventoryActionC2SPacket.getItemStack()ClickWindowC2SPacket.getSelectedStack()Constructors in net.minecraft.network.packet.c2s.play with parameters of type ItemStackModifierConstructorDescriptionClickWindowC2SPacket(int int2, int int3, int int4, ItemAction itemAction, ItemStack itemStack, short short2) CreativeInventoryActionC2SPacket(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackEntityEquipmentUpdateS2CPacket.stackprivate ItemStackScreenHandlerSlotUpdateS2CPacket.stackFields in net.minecraft.network.packet.s2c.play with type parameters of type ItemStackMethods in net.minecraft.network.packet.s2c.play that return ItemStackModifier and TypeMethodDescriptionScreenHandlerSlotUpdateS2CPacket.getItemStack()EntityEquipmentUpdateS2CPacket.getStack()Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type ItemStackConstructors in net.minecraft.network.packet.s2c.play with parameters of type ItemStackModifierConstructorDescriptionEntityEquipmentUpdateS2CPacket(int int2, EquipmentSlot equipmentSlot, ItemStack itemStack) ScreenHandlerSlotUpdateS2CPacket(int syncId, int slot, ItemStack stack) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type ItemStackModifierConstructorDescriptionInventoryS2CPacket(int int2, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.potion
Methods in net.minecraft.potion that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackPotionUtil.setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects) static ItemStackMethods in net.minecraft.potion with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidPotionUtil.buildTooltip(ItemStack stack, List<String> list, float float2) static intstatic List<StatusEffectInstance>PotionUtil.getCustomPotionEffects(ItemStack stack) static Potionstatic List<StatusEffectInstance>PotionUtil.getPotionEffects(ItemStack stack) static ItemStackPotionUtil.setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects) static ItemStack -
Uses of ItemStack in net.minecraft.realms
Methods in net.minecraft.realms with parameters of type ItemStackModifier and TypeMethodDescriptionvoidRealmsScreen.renderTooltip(ItemStack itemStack, int int2, int int3) -
Uses of ItemStack in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStack[]ShapedRecipeType.field_4440private ItemStackFireworkRecipeType.ingredientprivate final ItemStackShapedRecipeType.resultprivate final ItemStackShapelessRecipeType.resultFields in net.minecraft.recipe with type parameters of type ItemStackModifier and TypeFieldDescriptionSmeltingRecipeRegistry.ORIGINAL_PRODUCT_MAPSmeltingRecipeRegistry.ORIGINAL_PRODUCT_MAPSmeltingRecipeRegistry.PRODUCT_XP_MAPShapelessRecipeType.stacksMethods in net.minecraft.recipe that return ItemStackModifier and TypeMethodDescriptionArmorDyeRecipeType.getOutput()BannerRecipeDispatcher.CopyingRecipeType.getOutput()BannerRecipeDispatcher.PatternRecipeType.getOutput()BookCloningRecipeType.getOutput()class_2700.class_2701.getOutput()class_2702.getOutput()FireworkRecipeType.getOutput()MapCloningRecipeType.getOutput()RecipeType.getOutput()RepairingRecipeType.getOutput()ShapedRecipeType.getOutput()ShapelessRecipeType.getOutput()ArmorDyeRecipeType.getResult(CraftingInventory inventory) BannerRecipeDispatcher.CopyingRecipeType.getResult(CraftingInventory inventory) BannerRecipeDispatcher.PatternRecipeType.getResult(CraftingInventory inventory) BookCloningRecipeType.getResult(CraftingInventory inventory) class_2700.class_2701.getResult(CraftingInventory inventory) class_2702.getResult(CraftingInventory inventory) FireworkRecipeType.getResult(CraftingInventory inventory) MapCloningRecipeType.getResult(CraftingInventory inventory) MapUpscaleRecipeType.getResult(CraftingInventory inventory) RecipeType.getResult(CraftingInventory inventory) RepairingRecipeType.getResult(CraftingInventory inventory) ShapedRecipeType.getResult(CraftingInventory inventory) ShapelessRecipeType.getResult(CraftingInventory inventory) RecipeDispatcher.matches(CraftingInventory inventory, World world) Methods in net.minecraft.recipe that return types with arguments of type ItemStackModifier and TypeMethodDescriptionSmeltingRecipeRegistry.getRecipeMap()SmeltingRecipeRegistry.getRecipeMap()ArmorDyeRecipeType.method_13670(CraftingInventory craftingInventory) BannerRecipeDispatcher.CopyingRecipeType.method_13670(CraftingInventory craftingInventory) BannerRecipeDispatcher.PatternRecipeType.method_13670(CraftingInventory craftingInventory) BookCloningRecipeType.method_13670(CraftingInventory craftingInventory) class_2700.class_2701.method_13670(CraftingInventory craftingInventory) class_2702.method_13670(CraftingInventory craftingInventory) FireworkRecipeType.method_13670(CraftingInventory craftingInventory) MapCloningRecipeType.method_13670(CraftingInventory craftingInventory) RecipeType.method_13670(CraftingInventory craftingInventory) RepairingRecipeType.method_13670(CraftingInventory craftingInventory) ShapedRecipeType.method_13670(CraftingInventory craftingInventory) ShapelessRecipeType.method_13670(CraftingInventory craftingInventory) RecipeDispatcher.method_13671(CraftingInventory craftingInventory, World world) Methods in net.minecraft.recipe with parameters of type ItemStackModifier and TypeMethodDescriptionvoidvoidvoidSmeltingRecipeRegistry.addItemStack(ItemStack original, ItemStack product, float xp) floatprivate booleanSmeltingRecipeRegistry.method_6377(ItemStack stack1, ItemStack stack2) RecipeDispatcher.registerShapedRecipe(ItemStack stack, Object[] args) voidRecipeDispatcher.registerShapelessRecipe(ItemStack result, Object[] args) Constructors in net.minecraft.recipe with parameters of type ItemStackModifierConstructorDescriptionShapedRecipeType(int int2, int int3, ItemStack[] itemStack, ItemStack result) ShapelessRecipeType(ItemStack result, List<ItemStack> stacks) Constructor parameters in net.minecraft.recipe with type arguments of type ItemStack -
Uses of ItemStack in net.minecraft.screen
Fields in net.minecraft.screen with type parameters of type ItemStackMethods in net.minecraft.screen that return ItemStackModifier and TypeMethodDescriptionScreenHandler.method_3252(int int2, int int3, ItemAction itemAction, PlayerEntity playerEntity) BrewingScreenHandler.PotionSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) AnvilScreenHandler.transferSlot(PlayerEntity player, int invSlot) BeaconScreenHandler.transferSlot(PlayerEntity player, int invSlot) BrewingScreenHandler.transferSlot(PlayerEntity player, int invSlot) ChestScreenHandler.transferSlot(PlayerEntity player, int invSlot) CraftingScreenHandler.transferSlot(PlayerEntity player, int invSlot) EnchantingScreenHandler.transferSlot(PlayerEntity player, int invSlot) FurnaceScreenHandler.transferSlot(PlayerEntity player, int invSlot) Generic3x3ScreenHandler.transferSlot(PlayerEntity player, int invSlot) HopperScreenHandler.transferSlot(PlayerEntity player, int invSlot) HorseScreenHandler.transferSlot(PlayerEntity player, int invSlot) PlayerScreenHandler.transferSlot(PlayerEntity player, int invSlot) ScreenHandler.transferSlot(PlayerEntity player, int invSlot) VillagerScreenHandler.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft.screen that return types with arguments of type ItemStackMethods in net.minecraft.screen with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidScreenHandler.calculateStackSize(Set<Slot> slots, int rmode, ItemStack stack, int stackSize) booleanbooleanbooleanbooleanbooleanCraftingScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) booleanPlayerScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) booleanScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) static booleanScreenHandler.canInsertItemIntoSlot(Slot slot, ItemStack stack, boolean bool) private List<EnchantmentLevelEntry>EnchantingScreenHandler.getRandomEnchantments(ItemStack stack, int modifier, int int2) protected booleanScreenHandler.insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast) static booleanstatic booleanBrewingScreenHandler.class_2678.method_11350(ItemStack itemStack) BrewingScreenHandler.PotionSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) voidScreenHandlerListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidScreenHandler.setStackInSlot(int slot, ItemStack stack) Method parameters in net.minecraft.screen with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidScreenHandler.method_13642(List<ItemStack> list) voidScreenHandlerListener.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ItemStackModifier and TypeMethodDescriptionDemoServerPlayerInteractionManager.method_12791(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand) ServerPlayerInteractionManager.method_12791(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand) DemoServerPlayerInteractionManager.method_12792(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand, BlockPos blockPos, Direction direction, float float2, float float3, float float4) ServerPlayerInteractionManager.method_12792(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand, BlockPos blockPos, Direction direction, float float2, float float3, float float4) -
Uses of ItemStack in net.minecraft.util
Methods in net.minecraft.util that return ItemStackMethods in net.minecraft.util with parameters of type ItemStackModifier and TypeMethodDescriptionstatic HorseArmorTypeHorseArmorType.method_13137(ItemStack itemStack) static voidItemScatterer.spawnItemStack(World world, double x, double y, double z, ItemStack itemStack) PacketByteBuf.writeItemStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.village
Fields in net.minecraft.village declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackTradeOffer.resultprivate ItemStackTradeOffer.stack1private ItemStackTradeOffer.stack2Fields in net.minecraft.village with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>TraderInventory.field_15104Methods in net.minecraft.village that return ItemStackModifier and TypeMethodDescriptionTradeOffer.getFirstStack()TraderInventory.getInvStack(int slot) TradeOffer.getResult()TradeOffer.getSecondStack()TraderInventory.removeInvStack(int slot) TraderInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.village with parameters of type ItemStackModifier and TypeMethodDescriptionTraderOfferList.getValidRecipe(ItemStack firstBuyItem, ItemStack secondBuyItem, int index) booleanTraderInventory.isValidInvStack(int slot, ItemStack stack) private booleanTraderOfferList.method_8454(ItemStack itemStack, ItemStack itemStack2) voidTraderInventory.setInvStack(int slot, ItemStack stack) Constructors in net.minecraft.village with parameters of type ItemStackModifierConstructorDescriptionTradeOffer(ItemStack stack1, Item result) TradeOffer(ItemStack stack1, ItemStack result) TradeOffer(ItemStack stack1, ItemStack stack2, ItemStack result) TradeOffer(ItemStack stack1, ItemStack stack2, ItemStack result, int uses, int maxUses)