Uses of Class
net.minecraft.item.ItemStack
Packages that use ItemStack
Package
Description
-
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
Methods in net.minecraft.block that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackBlock.method_448(int int2) protected ItemStackDirtBlock.method_448(int int2) protected ItemStackInfestedBlock.method_448(int int2) protected ItemStackLeavesBlock.method_448(int int2) protected ItemStackPaneBlock.method_448(int int2) protected ItemStackPillarBlock.method_448(int int2) protected ItemStackQuartzBlock.method_448(int int2) protected ItemStackRedstoneLampBlock.method_448(int int2) protected ItemStackRedstoneOreBlock.method_448(int int2) protected ItemStackStoneSlabBlock.method_448(int int2) protected ItemStackWoodSlabBlock.method_448(int int2) Methods in net.minecraft.block with parameters of type ItemStackModifier and TypeMethodDescriptionprotected DispenserBehaviorDispenserBlock.getBehaviorForItem(ItemStack stack) protected DispenserBehaviorDropperBlock.getBehaviorForItem(ItemStack stack) voidJukeboxBlock.method_369(World world, int int2, int int3, int int4, ItemStack itemStack) protected voidBlock.method_422(World world, int int2, int int3, int int4, ItemStack itemStack) booleanBlock.method_4790(World world, int int2, int int3, int int4, int int5, ItemStack itemStack) voidAbstractRedstoneGateBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidAnvilBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidBeaconBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidBrewingStandBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidChestBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidCocoaBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidCommandBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidDispenserBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidDoublePlantBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidEnchantingTableBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidEnderChestBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidEndPortalFrameBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidFenceGateBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidFurnaceBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidHopperBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidLeverBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidPistonBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidPumpkinBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidSkeletonSkullBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidStairsBlock.onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) -
Uses of ItemStack in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser that return ItemStackModifier and TypeMethodDescriptionDefaultDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) DispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) final ItemStackItemDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) PotionDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) BucketDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) class_1383.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_1583.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackDyeDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FireballDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FireworksDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackFlintAndStillDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FluidDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) SpawnEggDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackTNTDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) Methods in net.minecraft.block.dispenser with parameters of type ItemStackModifier and TypeMethodDescriptionDefaultDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) DispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) final ItemStackItemDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) PotionDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) BucketDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) class_1383.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_1583.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackDyeDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FireballDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FireworksDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackFlintAndStillDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) FluidDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) SpawnEggDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackTNTDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos) Constructors in net.minecraft.block.dispenser with parameters of type ItemStackModifierConstructorDescription(package private)class_1379(PotionDispenserBehavior potionDispenserBehavior, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackJukeboxBlockEntity.field_5001private ItemStackBeaconBlockEntity.field_5024private ItemStack[]BrewingStandBlockEntity.field_513private ItemStack[]ChestBlockEntity.inventoryStacksprivate ItemStack[]DispenserBlockEntity.itemsprivate ItemStack[]HopperBlockEntity.itemsprivate ItemStack[]FurnaceBlockEntity.stacksMethods in net.minecraft.block.entity that return ItemStackModifier and TypeMethodDescriptionBeaconBlockEntity.getInvStack(int slot) BrewingStandBlockEntity.getInvStack(int slot) ChestBlockEntity.getInvStack(int slot) DispenserBlockEntity.getInvStack(int slot) FurnaceBlockEntity.getInvStack(int slot) HopperBlockEntity.getInvStack(int slot) JukeboxBlockEntity.method_4782()static ItemStackHopperBlockEntity.method_4825(Inventory inventory, ItemStack itemStack, int int2) private static ItemStackHopperBlockEntity.method_4832(Inventory inventory, ItemStack itemStack, int int2, int int3) BeaconBlockEntity.removeInvStack(int slot) BrewingStandBlockEntity.removeInvStack(int slot) ChestBlockEntity.removeInvStack(int slot) DispenserBlockEntity.removeInvStack(int slot) FurnaceBlockEntity.removeInvStack(int slot) HopperBlockEntity.removeInvStack(int slot) BeaconBlockEntity.takeInvStack(int slot, int amount) BrewingStandBlockEntity.takeInvStack(int slot, int amount) ChestBlockEntity.takeInvStack(int slot, int amount) DispenserBlockEntity.takeInvStack(int slot, int amount) FurnaceBlockEntity.takeInvStack(int slot, int amount) HopperBlockEntity.takeInvStack(int slot, int amount) Methods in net.minecraft.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static booleanHopperBlockEntity.canMergeItems(ItemStack first, ItemStack second) static intFurnaceBlockEntity.getBurnTime(ItemStack stack) static booleanbooleanBeaconBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanBrewingStandBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanChestBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanDispenserBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanFurnaceBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanHopperBlockEntity.isValidInvStack(int slot, ItemStack stack) voidJukeboxBlockEntity.method_4783(ItemStack itemStack) static ItemStackHopperBlockEntity.method_4825(Inventory inventory, ItemStack itemStack, int int2) private static booleanHopperBlockEntity.method_4826(Inventory inventory, ItemStack itemStack, int int2, int int3) private static booleanHopperBlockEntity.method_4830(Inventory inventory, ItemStack itemStack, int int2, int int3) private static ItemStackHopperBlockEntity.method_4832(Inventory inventory, ItemStack itemStack, int int2, int int3) private intBrewingStandBlockEntity.method_505(int int2, ItemStack itemStack) intDispenserBlockEntity.method_514(ItemStack itemStack) booleanBrewingStandBlockEntity.method_5353(int int2, ItemStack itemStack, int int3) booleanFurnaceBlockEntity.method_5353(int int2, ItemStack itemStack, int int3) booleanBrewingStandBlockEntity.method_5354(int int2, ItemStack itemStack, int int3) booleanFurnaceBlockEntity.method_5354(int int2, ItemStack itemStack, int int3) voidBeaconBlockEntity.setInvStack(int slot, ItemStack stack) voidBrewingStandBlockEntity.setInvStack(int slot, ItemStack stack) voidChestBlockEntity.setInvStack(int slot, ItemStack stack) voidDispenserBlockEntity.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 TypeMethodDescriptionclass_417.getStack()class_417.takeStack(int amount) class_416.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft.client with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanclass_416.canInsertIntoSlot(ItemStack stack, Slot slot) private voidclass_1319.method_4237(int int2, int int3, ItemStack itemStack) voidclass_417.onTakeItem(PlayerEntity player, ItemStack stack) voidConstructors in net.minecraft.client with parameters of type ItemStackModifierConstructorDescription(package private)class_1865(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_1866(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_1867(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_1868(ItemRenderer itemRenderer, ItemStack itemStack) -
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) -
Uses of ItemStack in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as ItemStack -
Uses of ItemStack in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidScreen.method_21928(ItemStack itemStack, int int2, int int3) -
Uses of ItemStack in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as ItemStackModifier and TypeFieldDescription(package private) ItemStackEnchantingScreen.field_1398private final ItemStackBookEditScreen.itemprivate ItemStackHandledScreen.quickMovingStackprivate ItemStackHandledScreen.touchDragStackprivate ItemStackHandledScreen.touchDropReturningStackMethods in net.minecraft.client.gui.screen.ingame with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidprotected voidCreativeInventoryScreen.method_21928(ItemStack itemStack, int int2, int int3) voidAnvilScreen.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) 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.clickSlot(int syncId, int slotId, int mouseButton, int actionType, PlayerEntity player) Methods in net.minecraft.client.network with parameters of type ItemStackModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.clickCreativeStack(ItemStack stack, int slotId) voidClientPlayerInteractionManager.dropCreativeStack(ItemStack stack) booleanClientPlayerInteractionManager.method_1228(PlayerEntity playerEntity, World world, ItemStack itemStack) booleanClientPlayerInteractionManager.method_1229(PlayerEntity playerEntity, World world, ItemStack itemStack, int int2, int int3, int int4, int int5, Vec3d vec3d) -
Uses of ItemStack in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidBipedEntityRenderer.method_4329(MobEntity mobEntity, ItemStack itemStack) -
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_1549(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3) voidItemRenderer.method_5178(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3, String string) voidHeldItemRenderer.method_5731(LivingEntity livingEntity, ItemStack itemStack, int int2) voidItemRenderer.method_5762(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3) voidItemRenderer.method_6920(TextRenderer textRenderer, TextureManager textureManager, ItemStack itemStack, int int2, int int3) -
Uses of ItemStack in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.addRandomEnchantment(Random random, ItemStack stack, int int2) static ItemStackEnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) Methods in net.minecraft.enchantment with parameters of type ItemStackModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.addRandomEnchantment(Random random, ItemStack stack, int int2) static 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 MapGets the enchantments on an item stack.static ListEnchantmentHelper.getEnchantmentInfoEntries(Random random, ItemStack stack, int int2) booleanDamageEnchantment.isAcceptableItem(ItemStack stack) booleanEfficiencyEnchantment.isAcceptableItem(ItemStack stack) booleanEnchantment.isAcceptableItem(ItemStack stack) booleanSilkTouchEnchantment.isAcceptableItem(ItemStack stack) booleanThornsEnchantment.isAcceptableItem(ItemStack stack) booleanUnbreakingEnchantment.isAcceptableItem(ItemStack stack) static intEnchantmentHelper.method_3519(int id, ItemStack stack) static intEnchantmentHelper.method_3520(int int2, ItemStack[] itemStack) static intEnchantmentHelper.method_3524(ItemStack[] itemStack, DamageSource damageSource) private static voidEnchantmentHelper.method_3526(class_1131 class_1131, ItemStack itemStack) private static voidEnchantmentHelper.method_3527(class_1131 class_1131, ItemStack[] itemStack) static MapEnchantmentHelper.method_3528(int int2, ItemStack stack) static voidSets the enchantments on an item stack.static booleanUnbreakingEnchantment.shouldPreventDamage(ItemStack item, int level, Random random) -
Uses of ItemStack in net.minecraft.entity
Fields in net.minecraft.entity declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStack[]LivingEntity.equippedItemsprivate final ItemStackclass_1565.field_6121Methods in net.minecraft.entity that return ItemStackModifier and TypeMethodDescriptionEntity.getArmorStacks()abstract ItemStack[]LivingEntity.getArmorStacks()ItemEntity.getItemStack()abstract ItemStackLivingEntity.getMainSlot(int slot) abstract ItemStackLivingEntity.getStackInHand()Methods in net.minecraft.entity with parameters of type ItemStackModifier and TypeMethodDescriptionLivingEntity.method_2630(ItemStack itemStack, int int2) voidLivingEntity.method_6111(ItemStack itemStack) voidEntity.setArmorSlot(int armorSlot, ItemStack item) abstract voidLivingEntity.setArmorSlot(int armorSlot, ItemStack item) voidItemEntity.setItemStack(ItemStack itemStack) Constructors in net.minecraft.entity with parameters of type ItemStackModifierConstructorDescriptionclass_1565(ItemStack itemStack) FireworkRocketEntity(World world, double x, double y, double z, ItemStack item) ItemEntity(World world, double x, double y, double z, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.data
Methods in net.minecraft.entity.data that return ItemStackMethods 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
Methods in net.minecraft.entity.decoration that return ItemStackMethods in net.minecraft.entity.decoration with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidItemFrameEntity.removeFromFrame(ItemStack map) voidItemFrameEntity.setHeldItemStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as ItemStackMethods in net.minecraft.entity.mob that return ItemStackModifier and TypeMethodDescriptionMobEntity.getArmorStacks()MobEntity.getMainSlot(int slot) MobEntity.getStackInHand()MobEntity.method_6166(int int2) Methods in net.minecraft.entity.mob with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intMobEntity.method_8374(ItemStack itemStack) voidMobEntity.setArmorSlot(int armorSlot, ItemStack item) voidSkeletonEntity.setArmorSlot(int armorSlot, ItemStack item) -
Uses of ItemStack in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return ItemStackModifier and TypeMethodDescriptionprivate static ItemStackVillagerEntity.method_3105(Item item, Random random) Methods in net.minecraft.entity.passive with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanAnimalEntity.isBreedingItem(ItemStack stack) booleanChickenEntity.isBreedingItem(ItemStack stack) booleanHorseBaseEntity.isBreedingItem(ItemStack stack) booleanOcelotEntity.isBreedingItem(ItemStack stack) booleanPigEntity.isBreedingItem(ItemStack stack) booleanWolfEntity.isBreedingItem(ItemStack stack) voidVillagerEntity.method_5501(ItemStack stack) voidHorseBaseEntity.method_8390(ItemStack itemStack) private intHorseBaseEntity.method_8391(ItemStack itemStack) -
Uses of ItemStack in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ItemStackModifier and TypeFieldDescriptionPlayerInventory.armorprivate ItemStackPlayerInventory.cursorStackprivate ItemStackPlayerInventory.field_3969PlayerInventory.mainprivate ItemStackPlayerEntity.useItemMethods in net.minecraft.entity.player that return ItemStackModifier and TypeMethodDescriptionPlayerInventory.getArmor(int slot) PlayerEntity.getArmorStacks()PlayerInventory.getCursorStack()PlayerInventory.getInvStack(int slot) PlayerEntity.getMainHandStack()PlayerInventory.getMainHandStack()PlayerEntity.getMainSlot(int slot) PlayerEntity.getStackInHand()PlayerEntity.getUsedItem()PlayerEntity.method_4485(int int2) PlayerInventory.removeInvStack(int slot) PlayerInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanprotected voidvoidHungerManager.incrementStat(FoodItem food, ItemStack stack) booleanPlayerInventory.insertStack(ItemStack itemStack) booleanPlayerInventory.isValidInvStack(int slot, ItemStack stack) PlayerEntity.method_2630(ItemStack itemStack, int int2) private intPlayerInventory.method_3138(ItemStack itemStack) private intPlayerInventory.method_3140(ItemStack itemStack) booleanPlayerEntity.method_4570(int int2, int int3, int int4, int int5, ItemStack itemStack) voidServerPlayerEntity.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidClientPlayerEntity.openBookEditScreen(ItemStack stack) voidPlayerEntity.openBookEditScreen(ItemStack stack) voidOtherClientPlayerEntity.setArmorSlot(int armorSlot, ItemStack item) voidPlayerEntity.setArmorSlot(int armorSlot, ItemStack item) voidPlayerInventory.setCursorStack(ItemStack stack) voidPlayerInventory.setInvStack(int slot, ItemStack stack) voidPlayerEntity.setUseItem(ItemStack item, int int2) voidServerPlayerEntity.setUseItem(ItemStack item, int int2) -
Uses of ItemStack in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return ItemStack -
Uses of ItemStack in net.minecraft.entity.thrown
Fields in net.minecraft.entity.thrown declared as ItemStackConstructors 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 declared as ItemStackMethods 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 declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]CraftingInventory.field_4103private ItemStack[]CraftingResultInventory.field_4146private ItemStack[]SimpleInventory.inventoryMethods in net.minecraft.inventory that return ItemStackModifier and TypeMethodDescriptionCraftingInventory.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 TypeMethodDescriptionbooleanCraftingInventory.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) booleanSidedInventory.method_5353(int int2, ItemStack itemStack, int int3) booleanSidedInventory.method_5354(int int2, ItemStack itemStack, int int3) 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.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 TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprivate booleanTradeOutputSlot.depleteBuyItems(TradeOffer offer, ItemStack first, ItemStack second) static booleanclass_1005.method_6338(ItemStack itemStack) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidSlot.onStackChanged(ItemStack originalItem, ItemStack newItem) voidclass_1005.onTakeItem(PlayerEntity player, ItemStack stack) voidclass_1423.onTakeItem(PlayerEntity player, ItemStack stack) voidCraftingResultSlot.onTakeItem(PlayerEntity player, ItemStack stack) voidFurnaceOutputSlot.onTakeItem(PlayerEntity player, ItemStack stack) voidSlot.onTakeItem(PlayerEntity player, ItemStack stack) voidTradeOutputSlot.onTakeItem(PlayerEntity player, ItemStack stack) void -
Uses of ItemStack in net.minecraft.item
Methods in net.minecraft.item that return ItemStackModifier and TypeMethodDescriptionItemStack.copy()static ItemStackprivate ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) static ItemStackItemStack.fromNbt(NbtCompound nbt) EnchantedBookItem.getAsItemStack(EnchantmentLevelEntry info) BowItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) FoodItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) Item.onFinishUse(ItemStack stack, World world, PlayerEntity player) ItemStack.onFinishUse(World world, PlayerEntity player) MilkBucketItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) PotionItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) StewItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) ArmorItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BoatItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BowItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BucketItem.onStartUse(ItemStack stack, World world, PlayerEntity player) CarrotOnAStickItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EggItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EmptyMapItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EnderEyeItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EnderPearlItem.onStartUse(ItemStack stack, World world, PlayerEntity player) ExperienceBottleItem.onStartUse(ItemStack stack, World world, PlayerEntity player) FishingRodItem.onStartUse(ItemStack stack, World world, PlayerEntity player) FoodItem.onStartUse(ItemStack stack, World world, PlayerEntity player) GlassBottleItem.onStartUse(ItemStack stack, World world, PlayerEntity player) Item.onStartUse(ItemStack stack, World world, PlayerEntity player) ItemStack.onStartUse(World world, PlayerEntity player) LilyPadItem.onStartUse(ItemStack stack, World world, PlayerEntity player) MilkBucketItem.onStartUse(ItemStack stack, World world, PlayerEntity player) PotionItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SnowballItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SpawnEggItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SwordItem.onStartUse(ItemStack stack, World world, PlayerEntity player) WritableBookItem.onStartUse(ItemStack stack, World world, PlayerEntity player) WrittenBookItem.onStartUse(ItemStack stack, World world, PlayerEntity player) ItemStack.setCustomName(String name) ItemStack.split(int amount) Methods in net.minecraft.item with parameters of type ItemStackModifier and TypeMethodDescriptionvoidEnchantedBookItem.addEnchantment(ItemStack itemStack, EnchantmentLevelEntry info) voidEnchantedBookItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidFilledMapItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidFireworkChargeItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidFireworkItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidMusicDiscItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidPotionItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) voidWrittenBookItem.appendTooltip(ItemStack stack, PlayerEntity player, List 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.booleanDyeItem.canUseOnEntity(ItemStack stack, PlayerEntity player, LivingEntity entity) booleanItem.canUseOnEntity(ItemStack stack, PlayerEntity player, LivingEntity entity) booleanNameTagItem.canUseOnEntity(ItemStack stack, PlayerEntity player, LivingEntity entity) booleanSaddleItem.canUseOnEntity(ItemStack stack, PlayerEntity player, LivingEntity entity) static ItemStackFilledMapItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) 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) private booleanstatic booleanstatic booleanItemStack.equalsIgnoreDamage(ItemStack left, ItemStack right) booleanItemStack.equalsIgnoreNbt(ItemStack stack) private ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) intintArmorItem.getDisplayColor(ItemStack stack, int color) intBushItem.getDisplayColor(ItemStack stack, int color) intFireworkChargeItem.getDisplayColor(ItemStack stack, int color) intGrassBlockItem.getDisplayColor(ItemStack stack, int color) intItem.getDisplayColor(ItemStack stack, int color) intLeavesItem.getDisplayColor(ItemStack stack, int color) intLilyPadItem.getDisplayColor(ItemStack stack, int color) intPotionItem.getDisplayColor(ItemStack stack, int color) intSpawnEggItem.getDisplayColor(ItemStack stack, int color) Item.getDisplayName(ItemStack stack) PotionItem.getDisplayName(ItemStack stack) SkullItem.getDisplayName(ItemStack stack) SpawnEggItem.getDisplayName(ItemStack stack) WrittenBookItem.getDisplayName(ItemStack stack) EnchantedBookItem.getEnchantmentNbt(ItemStack itemStack) static NbtElementFireworkChargeItem.getExplosionNbt(ItemStack stack, String name) 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) intSwordItem.getMaxUseTime(ItemStack stack) floatAxeItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatPickaxeItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatShearsItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatSwordItem.getMiningSpeedMultiplier(ItemStack stack, Block block) floatToolItem.getMiningSpeedMultiplier(ItemStack stack, Block block) 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) FishItem.getStatusEffectString(ItemStack stack) Returns the status effect string for the current item.Item.getStatusEffectString(ItemStack stack) Returns the status effect string for the current item.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.SwordItem.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.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.booleanItem.hasStatusEffectString(ItemStack stack) Returns whether the current item has a status effect stringvoidFilledMapItem.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.booleanFishingRodItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanBedItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanBlockItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanCropItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanDyeItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanEnderEyeItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanFireChargeItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanFireworkItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanFlintAndSteelItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanHoeItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanLeadItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanMinecartItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanMusicDiscItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanPlaceableItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanPotionItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanRedstoneItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanSeedItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanSignItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanSkullItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanSnowLayerItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanSpawnEggItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanStoneSlabItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanWallHangableItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanWoodenDoorItem.method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanItem.method_3356(ItemStack itemStack, World world, Block block, int int2, int int3, int int4, LivingEntity livingEntity) booleanShearsItem.method_3356(ItemStack itemStack, World world, Block block, int int2, int int3, int int4, LivingEntity livingEntity) booleanSwordItem.method_3356(ItemStack itemStack, World world, Block block, int int2, int int3, int int4, LivingEntity livingEntity) booleanToolItem.method_3356(ItemStack itemStack, World world, Block block, int int2, int int3, int int4, LivingEntity livingEntity) final TextureItem.method_3378(ItemStack itemStack) booleanItem.method_3380(ItemStack itemStack) PotionItem.method_3460(ItemStack itemStack) private booleanStoneSlabItem.method_3462(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5) booleanBlockItem.method_3463(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity, ItemStack itemStack) booleanStoneSlabItem.method_3463(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity, ItemStack itemStack) static booleanDyeItem.method_6346(ItemStack itemStack, World world, int int2, int int3, int int4) 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 craftedbooleanItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanSaddleItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanSwordItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanToolItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) BowItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) FoodItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) Item.onFinishUse(ItemStack stack, World world, PlayerEntity player) MilkBucketItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) PotionItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) StewItem.onFinishUse(ItemStack stack, World world, PlayerEntity player) ArmorItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BoatItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BowItem.onStartUse(ItemStack stack, World world, PlayerEntity player) BucketItem.onStartUse(ItemStack stack, World world, PlayerEntity player) CarrotOnAStickItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EggItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EmptyMapItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EnderEyeItem.onStartUse(ItemStack stack, World world, PlayerEntity player) EnderPearlItem.onStartUse(ItemStack stack, World world, PlayerEntity player) ExperienceBottleItem.onStartUse(ItemStack stack, World world, PlayerEntity player) FishingRodItem.onStartUse(ItemStack stack, World world, PlayerEntity player) FoodItem.onStartUse(ItemStack stack, World world, PlayerEntity player) GlassBottleItem.onStartUse(ItemStack stack, World world, PlayerEntity player) Item.onStartUse(ItemStack stack, World world, PlayerEntity player) LilyPadItem.onStartUse(ItemStack stack, World world, PlayerEntity player) MilkBucketItem.onStartUse(ItemStack stack, World world, PlayerEntity player) PotionItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SnowballItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SpawnEggItem.onStartUse(ItemStack stack, World world, PlayerEntity player) SwordItem.onStartUse(ItemStack stack, World world, PlayerEntity player) WritableBookItem.onStartUse(ItemStack stack, World world, PlayerEntity player) WrittenBookItem.onStartUse(ItemStack stack, World world, PlayerEntity player) voidBowItem.onUseStopped(ItemStack stack, World world, PlayerEntity player, int remainingTicks) voidItem.onUseStopped(ItemStack stack, World world, PlayerEntity player, int remainingTicks) voidArmorItem.removeColor(ItemStack stack) void -
Uses of ItemStack in net.minecraft.item.itemgroup
Fields in net.minecraft.item.itemgroup declared as ItemStackMethods in net.minecraft.item.itemgroup that return ItemStack -
Uses of ItemStack in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type ItemStackModifier and TypeMethodDescriptionbyte[]MapState.method_184(ItemStack itemStack, World world, PlayerEntity playerEntity) byte[]class_90.method_186(ItemStack itemStack) 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 ItemStackModifier and TypeFieldDescriptionprivate ItemStackClickWindowC2SPacket.selectedStackprivate ItemStackCreativeInventoryActionC2SPacket.stackprivate ItemStackPlayerInteractBlockC2SPacket.stackMethods in net.minecraft.network.packet.c2s.play that return ItemStackModifier and TypeMethodDescriptionCreativeInventoryActionC2SPacket.getItemStack()ClickWindowC2SPacket.getSelectedStack()PlayerInteractBlockC2SPacket.getStack()Constructors in net.minecraft.network.packet.c2s.play with parameters of type ItemStackModifierConstructorDescriptionClickWindowC2SPacket(int syncId, int slot, int button, int actionType, ItemStack selectedSlot, short transactionId) CreativeInventoryActionC2SPacket(int slot, ItemStack stack) PlayerInteractBlockC2SPacket(int x, int y, int z, int side, ItemStack stack, float float2, float float3, float float4) -
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.stackprivate ItemStack[]InventoryS2CPacket.stacksMethods in net.minecraft.network.packet.s2c.play that return ItemStackModifier and TypeMethodDescriptionScreenHandlerSlotUpdateS2CPacket.getItemStack()InventoryS2CPacket.getSlotStacks()EntityEquipmentUpdateS2CPacket.getStack()Constructors in net.minecraft.network.packet.s2c.play with parameters of type ItemStackModifierConstructorDescriptionEntityEquipmentUpdateS2CPacket(int id, int slot, ItemStack stack) ScreenHandlerSlotUpdateS2CPacket(int syncId, int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]ShapedRecipeType.field_4440private ItemStackFireworkRecipeType.ingredientprivate ItemStackShapedRecipeType.resultprivate final ItemStackShapelessRecipeType.resultMethods in net.minecraft.recipe that return ItemStackModifier and TypeMethodDescriptionArmorDyeRecipeType.getOutput()BookCloningRecipeType.getOutput()FireworkRecipeType.getOutput()MapCloningRecipeType.getOutput()RecipeType.getOutput()ShapedRecipeType.getOutput()ShapelessRecipeType.getOutput()ArmorDyeRecipeType.getResult(CraftingInventory inventory) BookCloningRecipeType.getResult(CraftingInventory inventory) FireworkRecipeType.getResult(CraftingInventory inventory) MapCloningRecipeType.getResult(CraftingInventory inventory) MapUpscaleRecipeType.getResult(CraftingInventory inventory) RecipeType.getResult(CraftingInventory inventory) ShapedRecipeType.getResult(CraftingInventory inventory) ShapelessRecipeType.getResult(CraftingInventory inventory) RecipeDispatcher.matches(CraftingInventory inventory, 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) (package private) ShapedRecipeTypeRecipeDispatcher.registerShapedRecipe(ItemStack stack, Object[] args) (package private) 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 stacks) -
Uses of ItemStack in net.minecraft.screen
Methods in net.minecraft.screen that return ItemStackModifier and TypeMethodDescriptionScreenHandler.onSlotClick(int slotId, int clickData, int actionType, PlayerEntity player) 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 with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidScreenHandler.calculateStackSize(Set slots, int rmode, ItemStack stack, int stackSize) booleanCraftingScreenHandler.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) protected booleanScreenHandler.insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast) voidScreenHandlerListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidScreenHandler.setStackInSlot(int slot, ItemStack stack) voidScreenHandler.updateSlotStacks(ItemStack[] stacks) -
Uses of ItemStack in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanDemoServerPlayerInteractionManager.interactItem(PlayerEntity player, World world, ItemStack stack) booleanServerPlayerInteractionManager.interactItem(PlayerEntity player, World world, ItemStack stack) booleanDemoServerPlayerInteractionManager.method_2170(PlayerEntity playerEntity, World world, ItemStack itemStack, int int2, int int3, int int4, int int5, float float2, float float3, float float4) booleanServerPlayerInteractionManager.method_2170(PlayerEntity playerEntity, World world, ItemStack itemStack, int int2, int int3, int int4, int int5, float float2, float float3, float float4) -
Uses of ItemStack in net.minecraft.util
Fields in net.minecraft.util declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackWeightedRandomChestContent.contentprivate final ItemStackWeightedRandomFishingLoot.stackMethods in net.minecraft.util that return ItemStackModifier and TypeMethodDescriptionWeightedRandomFishingLoot.getItemStack(Random random) PacketByteBuf.readItemStack()Methods in net.minecraft.util with parameters of type ItemStackModifier and TypeMethodDescriptionstatic FishTypevoidPacketByteBuf.writeItemStack(ItemStack stack) Constructors in net.minecraft.util with parameters of type ItemStackModifierConstructorDescriptionWeightedRandomChestContent(ItemStack content, int minCount, int maxCount, int weight) WeightedRandomFishingLoot(ItemStack stack, int i) -
Uses of ItemStack in net.minecraft.util.crash.provider.world
Constructors in net.minecraft.util.crash.provider.world with parameters of type ItemStackModifierConstructorDescription(package private)ItemStackNameProvider(PlayerInventory playerInventory, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.village
Fields in net.minecraft.village declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]TraderInventory.inventoryprivate ItemStackTradeOffer.resultprivate ItemStackTradeOffer.stack1private ItemStackTradeOffer.stack2Methods 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) 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) -
Uses of ItemStack in net.minecraft.world
Methods in net.minecraft.world with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanWorld.method_3602(Block block, int int2, int int3, int int4, boolean bool, int int5, Entity entity, ItemStack itemStack)