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
Fields in net.minecraft.block declared as ItemStackMethods in net.minecraft.block that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackHayBlock.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 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.JukeboxBlock.JukeboxBlockEntity.method_4782()Methods in net.minecraft.block with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanBlock.canBeReplaced(World world, BlockPos pos, Direction dir, ItemStack stack) Returns whether the current block can be replaced.protected DispenserBehaviorDispenserBlock.getBehaviorForItem(ItemStack stack) protected DispenserBehaviorDropperBlock.getBehaviorForItem(ItemStack stack) voidJukeboxBlock.JukeboxBlockEntity.method_4783(ItemStack itemStack) RedSandstoneSlabBlock.method_8793(ItemStack itemStack) abstract ObjectSlabBlock.method_8793(ItemStack itemStack) StoneSlabBlock.method_8793(ItemStack itemStack) WoodSlabBlock.method_8793(ItemStack itemStack) 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 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.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidCarpetBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidDaylightDetectorBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidDirtBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidDoublePlantBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidFlowerBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidInfestedBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidLeaves1Block.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidLeaves2Block.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidLog1Block.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidLog2Block.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidPlanksBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidPrismarineBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidQuartzBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidRedSandstoneBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidRedSandstoneSlabBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidSandBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidSandstoneBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidSaplingBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidSpongeBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidStainedGlassBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidStainedGlassPaneBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidStoneBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidStoneBrickBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidStoneSlabBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidTallPlantBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidWallBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidWoodSlabBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup.voidWoolBlock.appendItemStacks(Item item, ItemGroup group, List<ItemStack> stacks) Appends ItemStacks to an itemgroup. -
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 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) 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 ItemStackModifier and TypeFieldDescriptionprivate ItemStackBeaconBlockEntity.field_5024private ItemStack[]BrewingStandBlockEntity.field_513private ItemStackBannerBlockEntity.BannerPattern.ingredientprivate ItemStack[]ChestBlockEntity.inventoryStacksprivate ItemStack[]DispenserBlockEntity.itemsprivate ItemStack[]HopperBlockEntity.itemsprivate ItemStack[]FurnaceBlockEntity.stacksMethods in net.minecraft.block.entity that return ItemStackModifier and TypeMethodDescriptionBannerBlockEntity.BannerPattern.getIngredient()BeaconBlockEntity.getInvStack(int slot) BrewingStandBlockEntity.getInvStack(int slot) ChestBlockEntity.getInvStack(int slot) DispenserBlockEntity.getInvStack(int slot) FurnaceBlockEntity.getInvStack(int slot) HopperBlockEntity.getInvStack(int slot) private static ItemStackHopperBlockEntity.method_4832(Inventory inventory, ItemStack itemStack, int int2, Direction direction) 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) static ItemStackMethods in net.minecraft.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static booleanHopperBlockEntity.canExtract(Inventory inv, ItemStack stack, int slot, Direction facing) booleanBrewingStandBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) private static booleanbooleanBrewingStandBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.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) booleanChestBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanDispenserBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanFurnaceBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanHopperBlockEntity.isValidInvStack(int slot, ItemStack stack) static voidBannerBlockEntity.loadFromItemStack(ItemStack stack) private static ItemStackHopperBlockEntity.method_4832(Inventory inventory, ItemStack itemStack, int int2, Direction direction) private intBrewingStandBlockEntity.method_505(int int2, ItemStack itemStack) intDispenserBlockEntity.method_514(ItemStack itemStack) voidBannerBlockEntity.method_8958(ItemStack itemStack) static intBannerBlockEntity.method_8960(ItemStack itemStack) intFurnaceBlockEntity.method_8990(ItemStack itemStack) 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) static ItemStackConstructors in net.minecraft.block.entity with parameters of type ItemStackModifierConstructorDescriptionprivateBannerPattern(String name, String id, ItemStack ingredient) -
Uses of ItemStack in net.minecraft.client
Methods in net.minecraft.client that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackMinecraftClient.method_9385(Item item, int int2, BlockEntity blockEntity) -
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.updateScreenHandler(ScreenHandler handler, List<ItemStack> list) -
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 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 TypeFieldDescription(package private) 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.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) voidAnvilScreen.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidCreativeInventoryScreen.CreativeInventorySlot.onTakeItem(PlayerEntity player, 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.updateScreenHandler(ScreenHandler handler, List<ItemStack> list) 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.onRightClick(ClientPlayerEntity player, ClientWorld world, ItemStack stack, BlockPos pos, Direction direction, Vec3d vec) -
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.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 that return ItemStackModifier and TypeMethodDescriptionArmorFeatureRenderer.method_10279(LivingEntity livingEntity, int int2) -
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 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_10242(ItemStack itemStack, ModelTransformation.Mode mode) voidItemRenderer.method_10243(ItemStack itemStack, BakedModel bakedModel) protected voidItemRenderer.method_10244(ItemStack itemStack, BakedModel bakedModel, ModelTransformation.Mode mode) voidItemRenderer.method_10245(ItemStack itemStack, LivingEntity livingEntity, ModelTransformation.Mode mode) private voidItemRenderer.method_10248(ItemStack itemStack) voidItemRenderer.method_1549(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3) voidItemRenderer.renderGuiItemOverlay(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3, String string) voidItemRenderer.renderInGuiWithOverrides(ItemStack itemStack, int int2, int int3) voidHeldItemRenderer.renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode renderMode) voidItemRenderer.renderItem(ItemStack itemStack, int int2, int int3) -
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.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.private static voidEnchantmentHelper.forEachEnchantment(EnchantmentHelper.Consumer consumer, ItemStack stack) Gets the enchantments on an item stack.static floatEnchantmentHelper.getAttackDamage(ItemStack stack, EntityGroup group) static List<EnchantmentLevelEntry>EnchantmentHelper.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_3527(EnchantmentHelper.Consumer consumer, ItemStack[] stacks) static Map<Integer,EnchantmentLevelEntry> EnchantmentHelper.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 ItemStackMethods in net.minecraft.entity that return ItemStackModifier and TypeMethodDescriptionEntity.getArmorStacks()abstract ItemStack[]LivingEntity.getArmorStacks()ItemEntity.getItemStack()abstract ItemStackLivingEntity.getMainSlot(int slot) abstract ItemStackLivingEntity.getStackInHand()abstract ItemStackLivingEntity.method_4485(int int2) Methods in net.minecraft.entity with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidLivingEntity.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 ItemStackModifierConstructorDescriptionFireworkRocketEntity(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
Fields in net.minecraft.entity.decoration declared as ItemStackMethods in net.minecraft.entity.decoration that return ItemStackModifier and TypeMethodDescriptionArmorStandEntity.getArmorStacks()ItemFrameEntity.getHeldItemStack()ArmorStandEntity.getMainSlot(int slot) ArmorStandEntity.getStackInHand()ArmorStandEntity.method_4485(int int2) Methods in net.minecraft.entity.decoration with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanprivate voidItemFrameEntity.removeFromFrame(ItemStack map) voidArmorStandEntity.setArmorSlot(int armorSlot, ItemStack item) voidItemFrameEntity.setHeldItemStack(ItemStack stack) private voidItemFrameEntity.setHeldItemStack(ItemStack stack, boolean update) -
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_4485(int int2) Methods in net.minecraft.entity.mob with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanMobEntity.canPickupItem(ItemStack stack) protected booleanZombieEntity.canPickupItem(ItemStack stack) booleanstatic 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
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) booleanbooleanbooleanAnimalEntity.isBreedingItem(ItemStack stack) booleanChickenEntity.isBreedingItem(ItemStack stack) booleanHorseBaseEntity.isBreedingItem(ItemStack stack) booleanOcelotEntity.isBreedingItem(ItemStack stack) booleanPigEntity.isBreedingItem(ItemStack stack) booleanRabbitEntity.isBreedingItem(ItemStack stack) booleanWolfEntity.isBreedingItem(ItemStack stack) voidVillagerEntity.method_5501(ItemStack stack) voidHorseBaseEntity.method_8390(ItemStack itemStack) private intHorseBaseEntity.method_8391(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 TypeFieldDescriptionPlayerInventory.armorprivate ItemStackPlayerInventory.cursorStackPlayerInventory.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 TypeMethodDescriptionbooleanbooleanprotected voidbooleanvoidHungerManager.incrementStat(FoodItem food, ItemStack stack) booleanPlayerInventory.insertStack(ItemStack itemStack) booleanPlayerInventory.isValidInvStack(int slot, ItemStack stack) private intPlayerInventory.method_3138(ItemStack itemStack) private intPlayerInventory.method_3140(ItemStack itemStack) voidServerPlayerEntity.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidClientPlayerEntity.openBookEditScreen(ItemStack stack) voidPlayerEntity.openBookEditScreen(ItemStack stack) voidServerPlayerEntity.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) Method parameters in net.minecraft.entity.player with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidServerPlayerEntity.updateScreenHandler(ScreenHandler handler, List<ItemStack> list) -
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 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 final ItemStack[]CraftingInventory.field_4103private ItemStack[]CraftingResultInventory.field_4146private ItemStack[]SimpleInventory.inventoryMethods 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.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 booleanprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidSlot.onStackChanged(ItemStack originalItem, ItemStack newItem) 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
Fields in net.minecraft.item with type parameters of type ItemStackMethods 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) voidBannerItem.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) voidMusicDiscItem.appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) voidPotionItem.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.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) static booleanItemStack.equalsIgnoreNbt(ItemStack left, ItemStack right) static booleanprivate ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) static FishItem.FishTypeFishItem.FishType.getByItemStack(ItemStack itemStack) intintArmorItem.getDisplayColor(ItemStack stack, int color) intBannerItem.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) BannerItem.getDisplayName(ItemStack stack) 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) 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) 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.private 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) booleanItemStack.method_11310(ItemStack stack) PotionItem.method_3460(ItemStack itemStack) private booleanStoneSlabItem.method_8438(ItemStack itemStack, World world, BlockPos blockPos, Object object) booleanItem.onBlockBroken(ItemStack stack, World world, Block block, BlockPos pos, LivingEntity entity) booleanShearsItem.onBlockBroken(ItemStack stack, World world, Block block, BlockPos pos, LivingEntity entity) booleanSwordItem.onBlockBroken(ItemStack stack, World world, Block block, BlockPos pos, LivingEntity entity) booleanToolItem.onBlockBroken(ItemStack stack, World world, Block block, BlockPos pos, LivingEntity entity) 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) private voidWrittenBookItem.resolveContents(ItemStack stack, PlayerEntity player) static booleanBlockItem.setBlockEntityNbt(World world, PlayerEntity player, BlockPos pos, ItemStack itemStack) voidbooleanArmorStandItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBannerItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBedItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBlockItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanCropItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanDyeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanEnderEyeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFireChargeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFireworkItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFlintAndSteelItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) protected booleanHoeItem.use(ItemStack stack, PlayerEntity player, World world, BlockPos pos, BlockState state) booleanHoeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanLeadItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanMinecartItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanMusicDiscItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanPlaceableItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanRedstoneItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSeedItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSignItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSkullItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSnowLayerItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSpawnEggItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanStoneSlabItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanWallHangableItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanMethod parameters in net.minecraft.item with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAppleItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidBannerItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidBlockItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidCoalItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidDyeItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidFishItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidPotionItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidSkullItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidSpawnEggItem.appendItemStacks(Item item, ItemGroup group, List<ItemStack> list) Registers an item's sub itemsvoidEnchantedBookItem.getEnchantments(Enchantment enchantment, List<ItemStack> list) Constructor parameters in net.minecraft.item with type arguments of type ItemStack -
Uses of ItemStack in net.minecraft.item.itemgroup
Fields in net.minecraft.item.itemgroup declared as ItemStackMethods in net.minecraft.item.itemgroup that return ItemStackMethod parameters in net.minecraft.item.itemgroup with type arguments of type ItemStack -
Uses of ItemStack in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type ItemStackModifier and TypeMethodDescriptionMapState.method_184(ItemStack itemStack, World world, PlayerEntity player) 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(BlockPos pos, int directionId, ItemStack stack, float distanceX, float distanceY, float distanceZ) -
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) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type 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()FireworkRecipeType.getOutput()MapCloningRecipeType.getOutput()RecipeType.getOutput()RepairingRecipeType.getOutput()ShapedRecipeType.getOutput()ShapelessRecipeType.getOutput()ArmorDyeRecipeType.getRemainders(CraftingInventory inventory) BannerRecipeDispatcher.CopyingRecipeType.getRemainders(CraftingInventory inventory) BannerRecipeDispatcher.PatternRecipeType.getRemainders(CraftingInventory inventory) BookCloningRecipeType.getRemainders(CraftingInventory inventory) FireworkRecipeType.getRemainders(CraftingInventory inventory) MapCloningRecipeType.getRemainders(CraftingInventory inventory) RecipeDispatcher.getRemainders(CraftingInventory inventory, World world) RecipeType.getRemainders(CraftingInventory inventory) RepairingRecipeType.getRemainders(CraftingInventory inventory) ShapedRecipeType.getRemainders(CraftingInventory inventory) ShapelessRecipeType.getRemainders(CraftingInventory inventory) ArmorDyeRecipeType.getResult(CraftingInventory inventory) BannerRecipeDispatcher.CopyingRecipeType.getResult(CraftingInventory inventory) BannerRecipeDispatcher.PatternRecipeType.getResult(CraftingInventory inventory) BookCloningRecipeType.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()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.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 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) booleanbooleanbooleanbooleanCraftingScreenHandler.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 booleanvoidScreenHandlerListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidBrewingScreenHandler.PotionSlot.onTakeItem(PlayerEntity player, ItemStack stack) voidScreenHandler.setStackInSlot(int slot, ItemStack stack) voidScreenHandler.updateSlotStacks(ItemStack[] stacks) Method parameters in net.minecraft.screen with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidScreenHandlerListener.updateScreenHandler(ScreenHandler handler, List<ItemStack> list) -
Uses of ItemStack in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanDemoServerPlayerInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) booleanServerPlayerInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) booleanDemoServerPlayerInteractionManager.interactItem(PlayerEntity player, World world, ItemStack stack) booleanServerPlayerInteractionManager.interactItem(PlayerEntity player, World world, ItemStack stack) -
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 TypeMethodDescriptionprivate static voidItemScatterer.spawnItemStack(World world, double x, double y, double z, ItemStack itemStack) voidPacketByteBuf.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.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) 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) -
Uses of ItemStack in net.minecraft.world
Methods in net.minecraft.world with parameters of type ItemStack