Uses of Class
net.minecraft.item.ItemStack
Packages that use ItemStack
Package
Description
-
Uses of ItemStack in net.minecraft
Fields in net.minecraft declared as ItemStackModifier and TypeFieldDescriptionclass_2665.field_12114class_2666.field_12116class_2666.field_12118class_2667.field_12120Methods in net.minecraft that return ItemStackModifier and TypeMethodDescriptionclass_4877.dispense(BlockPointer pointer, ItemStack stack) class_4917.dispense(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4559.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4593.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4906.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4907.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4908.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4909.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4910.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4911.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4912.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4913.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4919.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4920.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4921.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4922.dispenseSilently(BlockPointer pointer, ItemStack stack) class_2159.getOutput()class_2160.getOutput()class_2159.getRemainders(CraftingInventory inventory) class_2160.getRemainders(CraftingInventory inventory) class_2159.getResult(CraftingInventory inventory) class_2160.getResult(CraftingInventory inventory) Methods in net.minecraft with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanclass_4877.dispense(BlockPointer pointer, ItemStack stack) class_4917.dispense(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4559.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4593.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4906.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4907.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4908.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4909.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4910.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4911.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4912.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackclass_4913.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4919.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4920.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4921.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4922.dispenseSilently(BlockPointer pointer, ItemStack stack) class_4819.getIdentifier(ItemStack stack) class_4820.getIdentifier(ItemStack stack) class_4821.getIdentifier(ItemStack stack) class_4822.getIdentifier(ItemStack stack) class_4823.getIdentifier(ItemStack stack) voidclass_4551.onTakeItem(PlayerEntity player, ItemStack stack) Constructors in net.minecraft with parameters of type ItemStackModifierConstructorDescriptionclass_2667(ItemStack itemStack, class_2669 class_2669) (package private)class_4547(PlayerInventory playerInventory, ItemStack itemStack) (package private)class_4814(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_4816(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_4817(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_4818(ItemRenderer itemRenderer, ItemStack itemStack) (package private)class_4918(class_4917 class_4917, ItemStack itemStack) -
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.BannerPattern.getStack()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) 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 entityConstructors in net.minecraft.block with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser that return ItemStackModifier and TypeMethodDescriptionDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) final ItemStackItemDispenserBehavior.dispense(BlockPointer pointer, ItemStack stack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) Methods in net.minecraft.block.dispenser with parameters of type ItemStackModifier and 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 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()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) voidJukeboxBlockEntity.method_4783(ItemStack itemStack) 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 ItemStack -
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) intclass_417.getMaxStackAmount(ItemStack stack) private voidclass_1319.method_4237(int int2, int int3, ItemStack itemStack) voidclass_417.onTakeItem(PlayerEntity player, ItemStack stack) void -
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.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.touchDropReturningStackMethods in net.minecraft.client.gui.screen.ingame with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidvoidAnvilScreen.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) protected voidCreativeInventoryScreen.renderTooltip(ItemStack stack, int x, int y) 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(Entity 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 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) voidItemRenderer.method_10243(ItemStack itemStack, BakedModel bakedModel) protected voidItemRenderer.method_10244(ItemStack itemStack, BakedModel bakedModel, class_2464 class_2464) voidItemRenderer.method_10245(ItemStack itemStack, LivingEntity livingEntity, class_2464 class_2464) private voidItemRenderer.method_10248(ItemStack itemStack) voidItemRenderer.method_1549(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3) voidHeldItemRenderer.method_9872(LivingEntity livingEntity, ItemStack itemStack, class_2464 class_2464) voidItemRenderer.renderGuiItemOverlay(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3, String string) voidItemRenderer.renderInGuiWithOverrides(ItemStack itemStack, int int2, int int3) 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.static MapGets the enchantments on an item stack.static floatEnchantmentHelper.getAttackDamage(ItemStack stack, EntityGroup group) 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()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 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
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
Methods 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) -
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) -
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 TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprivate booleanTradeOutputSlot.depleteBuyItems(TradeOffer offer, ItemStack first, ItemStack second) intFurnaceFuelSlot.getMaxStackAmount(ItemStack stack) intSlot.getMaxStackAmount(ItemStack stack) static booleanstatic 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) 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) voidBannerItem.appendTooltip(ItemStack stack, PlayerEntity player, List lines, boolean advanced) 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) static booleanItemStack.equalsIgnoreNbt(ItemStack left, ItemStack right) static booleanprivate ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) 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) static booleanBlockItem.method_11270(World world, BlockPos blockPos, 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) 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) boolean -
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 TypeMethodDescriptionMapState.method_184(ItemStack itemStack, World world, PlayerEntity player) class_90.method_9311(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(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) -
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.resultMethods in net.minecraft.recipe that return ItemStackModifier and TypeMethodDescriptionArmorDyeRecipeType.getOutput()BookCloningRecipeType.getOutput()FireworkRecipeType.getOutput()MapCloningRecipeType.getOutput()RecipeType.getOutput()RepairingRecipeType.getOutput()ShapedRecipeType.getOutput()ShapelessRecipeType.getOutput()ArmorDyeRecipeType.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) 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 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 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) private ListEnchantingScreenHandler.getRandomEnchantments(ItemStack stack, int modifier, int int2) 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.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 TypeMethodDescriptionstatic FishTypeprivate 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) 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