Uses of Class
net.minecraft.item.ItemStack
Packages that use ItemStack
Package
Description
-
Uses of ItemStack in net.minecraft
Fields in net.minecraft declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]ShapedRecipe.inputprivate ItemStackShapedRecipe.outputMethods in net.minecraft that return ItemStackModifier and TypeMethodDescriptionShapedRecipe.craft(CraftingInventory craftingInventory) ShapedRecipe.getOutput()Methods in net.minecraft with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanclass_70.method_1831(PlayerEntity playerEntity, World world, ItemStack itemStack) booleanclass_70.method_1832(PlayerEntity playerEntity, World world, ItemStack itemStack, int int2, int int3, int int4, int int5) class_561.method_1855(ItemStack itemStack, World world, PlayerEntity playerEntity) Constructors in net.minecraft with parameters of type ItemStackModifierConstructorDescriptionShapedRecipe(int width, int height, ItemStack[] input, ItemStack output) -
Uses of ItemStack in net.minecraft.achievement
Fields in net.minecraft.achievement declared as ItemStackConstructors in net.minecraft.achievement with parameters of type ItemStackModifierConstructorDescriptionAchievement(int id, String key, int column, int row, ItemStack icon, Achievement parent) -
Uses of ItemStack in net.minecraft.block
Methods in net.minecraft.block with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]ChestBlockEntity.inventoryprivate ItemStack[]DispenserBlockEntity.inventoryprivate ItemStack[]FurnaceBlockEntity.inventoryMethods in net.minecraft.block.entity that return ItemStackModifier and TypeMethodDescriptionDispenserBlockEntity.getItemToDispense()ChestBlockEntity.getStack(int slot) DispenserBlockEntity.getStack(int slot) FurnaceBlockEntity.getStack(int slot) ChestBlockEntity.removeStack(int slot, int amount) DispenserBlockEntity.removeStack(int slot, int amount) FurnaceBlockEntity.removeStack(int slot, int amount) Methods in net.minecraft.block.entity with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.client
Methods in net.minecraft.client that return ItemStackModifier and TypeMethodDescriptionInteractionManager.clickSlot(int syncId, int slotId, int button, boolean shift, PlayerEntity player) MultiplayerInteractionManager.clickSlot(int syncId, int slotId, int button, boolean shift, PlayerEntity player) Methods in net.minecraft.client with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack item, int x, int y, int z, int side) booleanMultiplayerInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack item, int x, int y, int z, int side) booleanInteractionManager.interactItem(PlayerEntity player, World world, ItemStack item) booleanMultiplayerInteractionManager.interactItem(PlayerEntity player, World world, ItemStack item) -
Uses of ItemStack in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type ItemStackModifier and TypeMethodDescriptionvoidWorldRenderer.method_1547(PlayerEntity playerEntity, HitResult hitResult, int int2, ItemStack itemStack, float float2) voidWorldRenderer.method_1554(PlayerEntity playerEntity, HitResult hitResult, int int2, ItemStack itemStack, float float2) -
Uses of ItemStack in net.minecraft.client.render.item
Fields in net.minecraft.client.render.item declared as ItemStackMethods in net.minecraft.client.render.item with parameters of type ItemStackModifier and TypeMethodDescriptionvoidItemRenderer.method_1487(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3) voidItemRenderer.method_1488(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3) voidHeldItemRenderer.method_1862(LivingEntity livingEntity, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.entity
Fields in net.minecraft.entity declared as ItemStackMethods in net.minecraft.entity that return ItemStackMethods in net.minecraft.entity with parameters of type ItemStackConstructors in net.minecraft.entity with parameters of type ItemStackModifierConstructorDescriptionItemEntity(World world, double x, double y, double z, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as ItemStackModifier and TypeFieldDescriptionprivate static final ItemStackPigZombieEntity.heldItemprivate static final ItemStackSkeletonEntity.heldItemMethods in net.minecraft.entity.mob that return ItemStack -
Uses of ItemStack in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ItemStackModifier and TypeFieldDescriptionPlayerInventory.armorprivate ItemStackPlayerInventory.cursorStackprivate ItemStack[]ServerPlayerEntity.field_259PlayerInventory.mainMethods in net.minecraft.entity.player that return ItemStackModifier and TypeMethodDescriptionPlayerInventory.getArmorStack(int index) PlayerInventory.getCursorStack()ServerPlayerEntity.getEquipment()PlayerEntity.getHand()PlayerInventory.getSelectedItem()PlayerInventory.getStack(int slot) ServerPlayerEntity.method_316(int int2) PlayerInventory.removeStack(int slot, int amount) Methods in net.minecraft.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanprivate intPlayerInventory.combineStacks(ItemStack stack) combines existing stacks that are of the same itemIdbooleanvoidvoidprivate intvoidPlayerEntity.method_496(ItemStack itemStack) voidServerPlayerEntity.method_496(ItemStack itemStack) intPlayerEntity.method_917(ItemStack itemStack) voidServerPlayerEntity.onSlotUpdate(ScreenHandler handler, int slot, ItemStack stack) Update a ScreenHandler's slot with a different item stackvoidPlayerInventory.setCursorStack(ItemStack cursorStack) void -
Uses of ItemStack in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as ItemStackMethods in net.minecraft.entity.vehicle that return ItemStackModifier and TypeMethodDescriptionMinecartEntity.getStack(int slot) MinecartEntity.removeStack(int slot, int amount) Methods in net.minecraft.entity.vehicle with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.inventory
Fields in net.minecraft.inventory declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]CraftingInventory.stacksprivate ItemStack[]CraftingResultInventory.stacksprivate ItemStack[]SimpleInventory.stacksMethods in net.minecraft.inventory that return ItemStackModifier and TypeMethodDescriptionCraftingInventory.getStack(int slot) CraftingInventory.getStack(int x, int y) CraftingResultInventory.getStack(int slot) DoubleInventory.getStack(int slot) Inventory.getStack(int slot) SimpleInventory.getStack(int slot) CraftingInventory.removeStack(int slot, int amount) CraftingResultInventory.removeStack(int slot, int amount) DoubleInventory.removeStack(int slot, int amount) Inventory.removeStack(int slot, int amount) SimpleInventory.removeStack(int slot, int amount) Methods in net.minecraft.inventory with parameters of type ItemStackModifier and TypeMethodDescriptionvoidvoidvoidvoidvoid -
Uses of ItemStack in net.minecraft.item
Methods in net.minecraft.item that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackItemStack.copy()ItemStack.split(int count) BoatItem.use(ItemStack stack, World world, PlayerEntity user) BowItem.use(ItemStack stack, World world, PlayerEntity user) BucketItem.use(ItemStack stack, World world, PlayerEntity user) EggItem.use(ItemStack stack, World world, PlayerEntity user) FishingRodItem.use(ItemStack stack, World world, PlayerEntity user) FoodItem.use(ItemStack stack, World world, PlayerEntity user) Item.use(ItemStack stack, World world, PlayerEntity user) ItemStack.use(World world, PlayerEntity user) MushroomStewItem.use(ItemStack stack, World world, PlayerEntity user) SnowballItem.use(ItemStack stack, World world, PlayerEntity user) Methods in net.minecraft.item with parameters of type ItemStackModifier and TypeMethodDescriptionstatic booleanstatic ItemStackbooleanprivate booleanfloatItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatShearsItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatSwordItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatToolItem.getMiningSpeedMultiplier(ItemStack stack, Block block) final intItem.getTextureId(ItemStack itemStack) BlockItem.getTranslationKey(ItemStack stack) CoalItem.getTranslationKey(ItemStack stack) DyeItem.getTranslationKey(ItemStack stack) Item.getTranslationKey(ItemStack stack) SlabBlockItem.getTranslationKey(ItemStack stack) WoolBlockItem.getTranslationKey(ItemStack stack) voidItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) voidMapItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) booleanItemStack.isItemEqual(ItemStack stack) MapItem.method_1730(ItemStack itemStack, World world) MapItem.method_1855(ItemStack itemStack, World world, PlayerEntity playerEntity) voidItem.onCraft(ItemStack stack, World world, PlayerEntity player) voidMapItem.onCraft(ItemStack stack, World world, PlayerEntity player) booleanItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanSaddleItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanSwordItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanToolItem.postHit(ItemStack stack, LivingEntity target, LivingEntity attacker) booleanItem.postMine(ItemStack stack, int blockId, int x, int y, int z, LivingEntity miner) booleanShearsItem.postMine(ItemStack stack, int blockId, int x, int y, int z, LivingEntity miner) booleanSwordItem.postMine(ItemStack stack, int blockId, int x, int y, int z, LivingEntity miner) booleanToolItem.postMine(ItemStack stack, int blockId, int x, int y, int z, LivingEntity miner) BoatItem.use(ItemStack stack, World world, PlayerEntity user) BowItem.use(ItemStack stack, World world, PlayerEntity user) BucketItem.use(ItemStack stack, World world, PlayerEntity user) EggItem.use(ItemStack stack, World world, PlayerEntity user) FishingRodItem.use(ItemStack stack, World world, PlayerEntity user) FoodItem.use(ItemStack stack, World world, PlayerEntity user) Item.use(ItemStack stack, World world, PlayerEntity user) MushroomStewItem.use(ItemStack stack, World world, PlayerEntity user) SnowballItem.use(ItemStack stack, World world, PlayerEntity user) booleanBedItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanBlockItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanDoorItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanDyeItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanFlintAndSteel.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanHoeItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanMinecartItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanMusicDiscItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanPaintingItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanRedstoneItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanSecondaryBlockItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanSeedsItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) booleanSignItem.useOnBlock(ItemStack stack, PlayerEntity user, World world, int x, int y, int z, int side) voidDyeItem.useOnEntity(ItemStack stack, LivingEntity entity) voidItem.useOnEntity(ItemStack stack, LivingEntity entity) voidSaddleItem.useOnEntity(ItemStack stack, LivingEntity entity) -
Uses of ItemStack in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type ItemStackModifier and TypeMethodDescriptionbyte[]MapState.getPlayerMarkerPacket(ItemStack stack, World world, PlayerEntity player) byte[]MapState.PlayerUpdateTracker.getUpdateData(ItemStack stack) voidMapState.update(PlayerEntity player, ItemStack stack) -
Uses of ItemStack in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as ItemStackConstructors in net.minecraft.network.packet.c2s.play with parameters of type ItemStackModifierConstructorDescriptionClickSlotC2SPacket(int syncId, int slot, int button, boolean holdingShift, ItemStack stack, short actionType) PlayerInteractBlockC2SPacket(int x, int y, int z, int side, ItemStack stack) -
Uses of ItemStack in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ItemStackModifier and TypeFieldDescriptionInventoryS2CPacket.contentsScreenHandlerSlotUpdateS2CPacket.stackConstructors in net.minecraft.network.packet.s2c.play with parameters of type ItemStackModifierConstructorDescriptionEntityEquipmentUpdateS2CPacket(int id, int slot, ItemStack itemStack) ScreenHandlerSlotUpdateS2CPacket(int syncId, int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ItemStackMethods in net.minecraft.recipe that return ItemStackModifier and TypeMethodDescriptionCraftingRecipe.craft(CraftingInventory craftingInventory) CraftingRecipeManager.craft(CraftingInventory craftingInventory) ShapelessRecipe.craft(CraftingInventory craftingInventory) SmeltingRecipeManager.craft(int inputId) CraftingRecipe.getOutput()ShapelessRecipe.getOutput()Methods in net.minecraft.recipe with parameters of type ItemStackModifier and TypeMethodDescriptionvoid(package private) voidCraftingRecipeManager.addShapedRecipe(ItemStack output, Object[] input) (package private) voidCraftingRecipeManager.addShapelessRecipe(ItemStack output, Object[] input) Constructors in net.minecraft.recipe with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.screen
Methods in net.minecraft.screen that return ItemStackModifier and TypeMethodDescriptionScreenHandler.onSlotClick(int index, int button, boolean shift, PlayerEntity player) CraftingScreenHandler.quickMove(int slot) FurnaceScreenHandler.quickMove(int slot) GenericContainerScreenHandler.quickMove(int slot) PlayerScreenHandler.quickMove(int slot) ScreenHandler.quickMove(int slot) Methods in net.minecraft.screen with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidScreenHandler.insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast) voidScreenHandlerListener.onSlotUpdate(ScreenHandler handler, int slot, ItemStack stack) Update a ScreenHandler's slot with a different item stackvoidScreenHandler.setStackInSlot(int index, ItemStack stack) voidScreenHandler.updateSlotStacks(ItemStack[] stacks) -
Uses of ItemStack in net.minecraft.screen.slot
Methods in net.minecraft.screen.slot that return ItemStackMethods in net.minecraft.screen.slot with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanvoidCraftingResultSlot.onTakeItem(ItemStack stack) voidFurnaceOutputSlot.onTakeItem(ItemStack stack) voidSlot.onTakeItem(ItemStack stack) void -
Uses of ItemStack in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackDungeonFeature.getRandomChestItem(Random random)