Uses of Class
net.minecraft.item.ItemStack
Packages that use ItemStack
Package
Description
-
Uses of ItemStack in net.minecraft
Fields in net.minecraft declared as ItemStackModifier and TypeFieldDescriptionprivate final ItemStackclass_3584.field_17471private ItemStackclass_3742.field_18640class_3280.class_3281.class_4170.field_20445private ItemStackclass_4218.field_20665private ItemStackclass_4225.field_20731private ItemStackclass_4225.field_20732private final ItemStackclass_4339.field_21347private ItemStackclass_4385.field_21581private final ItemStackclass_3268.iconFields in net.minecraft with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final class_3306.class_3307<ItemStack>class_3306.field_16177class_3566.field_17411class_4113.field_20009private final DefaultedList<ItemStack>class_3297.field_20640Methods in net.minecraft that return ItemStackModifier and TypeMethodDescriptionBootstrap.BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackBootstrap.class_3116.dispenseSilently(BlockPointer pointer, ItemStack stack) class_3571.getOutput()class_3572.getOutput()class_3574.getOutput()class_3584.getOutput()class_2791.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2793.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) abstract ItemStackclass_2795.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2799.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2801.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2804.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2806.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2810.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2812.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_4071.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_4076.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) static ItemStackclass_3066.method_13715(DyeColor dyeColor) static ItemStackclass_2960.method_13925(List<ItemStack> list, int int2) static ItemStackclass_2960.method_13926(List<ItemStack> list, int int2, int int3) static ItemStackclass_3175.method_14174(int int2) class_3278.class_3279.method_14561()static ItemStackclass_3566.method_16166(ItemStack itemStack, ItemStack itemStack2) class_3569.method_16201(Inventory inventory) class_3570.method_16201(Inventory inventory) class_3572.method_16201(Inventory inventory) class_3573.method_16201(Inventory inventory) class_3574.method_16201(Inventory inventory) class_3583.method_16201(Inventory inventory) class_3584.method_16201(Inventory inventory) class_3742.method_16829()class_4311.method_19702(int int2, boolean bool) class_4339.method_19975()class_4385.method_20291()class_3066.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) class_3684.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) class_3686.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) class_3709.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) class_3730.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) class_3054.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft that return types with arguments of type ItemStackModifier and TypeMethodDescriptionclass_4313.class_4315.create(com.mojang.brigadier.context.CommandContext<class_3915> commandContext) class_3297.delegate()class_3187.method_13649(World world, PlayerEntity player, Hand hand) class_3558.method_13649(World world, PlayerEntity player, Hand hand) class_3564.method_13649(World world, PlayerEntity player, Hand hand) class_3570.method_16203(Inventory inventory) class_4113.method_18268()class_4313.method_19720(com.mojang.brigadier.context.CommandContext<class_3915> commandContext, String string) Methods in net.minecraft with parameters of type ItemStackModifier and TypeMethodDescriptionvoidclass_3056.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidclass_3552.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) booleanbooleanReturns whether the item can be repaired via an anvil or crafting table.Bootstrap.BoatDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) protected ItemStackBootstrap.class_3116.dispenseSilently(BlockPointer pointer, ItemStack stack) protected voidclass_3550.eat(ItemStack stack, World world, PlayerEntity player) booleanbooleanvoidclass_3146.equipStack(EquipmentSlot slot, ItemStack stack) intclass_3564.getMaxUseTime(ItemStack stack) class_3564.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.booleanclass_3547.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanclass_3550.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanclass_3564.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanclass_3136.isBreedingItem(ItemStack stack) class_2791.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2793.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) abstract ItemStackclass_2795.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2799.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2801.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2804.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2806.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2810.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_2812.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_4071.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) class_4076.method_12029(ItemStack itemStack, Random random, class_2782 class_2782) protected booleanclass_3136.method_13970(PlayerEntity playerEntity, ItemStack itemStack) booleanclass_3136.method_14001(ItemStack itemStack) voidclass_3175.method_14170(ItemStack itemStack) voidclass_3177.method_14195(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, int int2) voidclass_3177.class_3178.method_14199(ItemStack itemStack, int int2) voidclass_3197.method_14284(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, int int2) voidclass_3197.class_3198.method_14288(ItemStack itemStack, int int2) booleanclass_3200.method_14294(ItemStack itemStack) voidclass_3222.method_14369(ServerPlayerEntity serverPlayerEntity, BlockPos blockPos, ItemStack itemStack) voidclass_3222.class_3223.method_14373(BlockState blockState, BlockPos blockPos, ServerWorld serverWorld, ItemStack itemStack) voidclass_3241.method_14419(ServerPlayerEntity serverPlayerEntity, VillagerEntity villagerEntity, ItemStack itemStack) voidclass_3241.class_3242.method_14423(ServerPlayerEntity serverPlayerEntity, VillagerEntity villagerEntity, ItemStack itemStack) voidclass_3247.method_14436(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack) voidclass_3247.class_3248.method_14440(ItemStack itemStack) voidclass_3269.method_14522(int int2, int int3, int int4, HeldItemRenderer heldItemRenderer, ItemStack itemStack) voidclass_3316.method_14719(ItemStack itemStack) voidclass_3311.method_14732(ItemStack itemStack) voidclass_3312.method_14732(ItemStack itemStack) voidclass_3315.method_14732(ItemStack itemStack) default voidclass_3318.method_14732(ItemStack itemStack) booleanclass_3177.class_3487.method_15758(ItemStack itemStack, int int2) voidclass_3175.method_15943(ItemStack itemStack) static intclass_3175.method_15944(ItemStack itemStack) voidclass_3533.method_15967(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack) voidclass_3533.class_3534.method_15971(ItemStack itemStack) booleanclass_3533.class_3535.method_15974(ItemStack itemStack) voidclass_3539.method_15988(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) voidclass_3539.class_3540.method_15993(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) booleanclass_3539.class_3541.method_15996(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) static booleanclass_3545.method_16022(ItemStack itemStack, World world, BlockPos blockPos) static booleanclass_3545.method_16023(ItemStack itemStack, World world, BlockPos blockPos, Direction direction) voidclass_3552.method_16031(World world, ItemStack itemStack, BlockPos blockPos) private voidclass_3547.method_16035(PlayerEntity playerEntity, BlockState blockState, IWorld iWorld, BlockPos blockPos, boolean bool, ItemStack itemStack) voidclass_3549.method_16048(ItemStack itemStack, int int2) booleanclass_3549.method_16049(ItemStack itemStack) intclass_3549.method_16050(ItemStack itemStack) voidclass_3549.method_16051(ItemStack itemStack) private voidclass_3552.method_16061(World world, ItemStack itemStack, BlockPos blockPos) protected booleanclass_3556.method_16066(PlayerEntity playerEntity, Direction direction, ItemStack itemStack, BlockPos blockPos) booleanclass_3197.class_3557.method_16123(ItemStack itemStack, int int2) static booleanclass_3566.method_16158(ItemStack itemStack) static booleanclass_3566.method_16159(ItemStack itemStack, ItemStack itemStack2) protected static booleanclass_3566.method_16161(ItemStack itemStack) protected static booleanclass_3566.method_16162(ItemStack itemStack, ItemStack itemStack2) protected static booleanclass_3566.method_16163(ItemStack itemStack) protected static booleanclass_3566.method_16164(ItemStack itemStack, ItemStack itemStack2) static ItemStackclass_3566.method_16166(ItemStack itemStack, ItemStack itemStack2) voidclass_3066.method_16564(ItemStack itemStack, BlockView blockView, List<Text> list, TooltipContext tooltipContext) booleanclass_3222.class_3704.method_16663(BlockState blockState, BlockPos blockPos, ServerWorld serverWorld, ItemStack itemStack) protected voidclass_3721.method_16670(BlockState blockState, World world, BlockPos blockPos, ItemStack itemStack) static booleanclass_3737.method_16770(World world, BlockPos blockPos, ItemStack itemStack) voidclass_3742.method_16828(ItemStack itemStack) booleanclass_3241.class_3744.method_16831(ServerPlayerEntity serverPlayerEntity, VillagerEntity villagerEntity, ItemStack itemStack) booleanclass_3247.class_3771.method_16963(ItemStack itemStack) static RecipeTypeclass_2812.method_17996(class_2782 class_2782, ItemStack itemStack) voidclass_4218.method_19067(ItemStack itemStack) private voidclass_4225.method_19134(float float2, HandOption handOption, float float3, ItemStack itemStack) private voidclass_4225.method_19135(float float2, HandOption handOption, ItemStack itemStack) voidclass_4225.method_19139(LivingEntity livingEntity, ItemStack itemStack, ModelTransformation.Mode mode) voidclass_4225.method_19140(LivingEntity livingEntity, ItemStack itemStack, ModelTransformation.Mode mode, boolean bool) private voidclass_4225.method_19141(ItemStack itemStack) voidclass_4225.method_19142(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2, float float3, Hand hand, float float4, ItemStack itemStack, float float5) private voidclass_4268.method_19432(LivingEntity livingEntity, ItemStack itemStack) protected voidclass_4398.method_20433(Slot slot, ItemStack itemStack) booleanclass_3564.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) voidclass_3564.method_3359(ItemStack stack, World world, LivingEntity entity, int int2) voidclass_3684.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidclass_3720.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidclass_3724.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidclass_3732.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) booleanclass_3564.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) voidclass_3066.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3684.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3698.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3714.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3715.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3737.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidclass_3738.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entitybooleanbooleanbooleanMethod parameters in net.minecraft with type arguments of type ItemStackModifier and TypeMethodDescriptionprotected voidclass_2776.method_11967(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2776.method_11969(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2774.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2775.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) abstract voidclass_2778.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) voidclass_2786.method_11976(Collection<ItemStack> collection, Random random, class_2782 class_2782) static NbtCompoundclass_2960.method_13923(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList) static NbtCompoundclass_2960.method_13924(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList, boolean bool) static ItemStackclass_2960.method_13925(List<ItemStack> list, int int2) static ItemStackclass_2960.method_13926(List<ItemStack> list, int int2, int int3) static voidclass_2960.method_13927(NbtCompound nbtCompound, DefaultedList<ItemStack> defaultedList) voidclass_3539.method_15988(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) voidclass_3539.class_3540.method_15993(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) booleanclass_3539.class_3541.method_15996(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack, FishingBobberEntity fishingBobberEntity, Collection<ItemStack> collection) private static intclass_4409.method_20575(class_3915 class_3915, Collection<ServerPlayerEntity> collection, Predicate<ItemStack> predicate, int int2) Constructors in net.minecraft with parameters of type ItemStackModifierConstructorDescriptionclass_3584(Identifier identifier, String string, Ingredient ingredient, ItemStack itemStack, float float2, int int2) privateclass_4113(ItemStack[] itemStack) class_4170(int int2, int int3, ItemStack[] itemStack) class_4339(ParticleType<class_4339> particleType, ItemStack itemStack) class_4385(ItemStack itemStack, boolean bool, Hand hand) class_4400(World world, BlockPos blockPos, Direction direction, ItemStack itemStack, Direction direction2) -
Uses of ItemStack in net.minecraft.achievement
Methods in net.minecraft.achievement with parameters of type ItemStackModifier and TypeMethodDescriptionvoidclass_3380.method_15090(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack) voidclass_3380.class_3381.method_15094(ItemStack itemStack) booleanclass_3380.class_3382.method_15097(ItemStack itemStack) -
Uses of ItemStack in net.minecraft.advancement
Fields in net.minecraft.advancement declared as ItemStackMethods in net.minecraft.advancement that return ItemStackModifier and TypeMethodDescriptionAdvancementDisplay.getDisplayStack()private static ItemStackAdvancementDisplay.getIconStack(JsonObject object) Constructors in net.minecraft.advancement with parameters of type ItemStackModifierConstructorDescriptionAdvancementDisplay(ItemStack displayStack, Text title, Text description, Identifier identifier, AdvancementType type, boolean bool, boolean bool2, boolean bool3) -
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 ItemStackChorusFlowerBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.protected ItemStackInfestedBlock.createStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.BannerPattern.getStack()AttachedStemBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) Block.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) CocoaBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) CropBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) EndGatewayBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) EndPortalBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) FlowerPotBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) FrostedIceBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) MobSpawnerBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) NetherPortalBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) NetherWartBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) OreBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) PistonExtensionBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) PistonHeadBlock.method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) Methods in net.minecraft.block with parameters of type ItemStackModifier and TypeMethodDescriptionprotected DispenserBehaviorDispenserBlock.getBehaviorForItem(ItemStack stack) protected DispenserBehaviorDropperBlock.getBehaviorForItem(ItemStack stack) voidBlock.method_16564(ItemStack itemStack, BlockView blockView, List<Text> list, TooltipContext tooltipContext) protected voidDoublePlantBlock.method_16670(BlockState blockState, World world, BlockPos blockPos, ItemStack itemStack) voidBedBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidBlockWithEntity.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidChorusFlowerBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidCobwebBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidDeadBushBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidDoorBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidDoublePlantBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidIceBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidLeavesBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidTallPlantBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidVineBlock.method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidJukeboxBlock.method_8801(IWorld iWorld, BlockPos blockPos, BlockState blockState, 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 entityvoidBedBlock.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 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 entityvoidDoorBlock.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 entityvoidFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityvoidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityMethod parameters in net.minecraft.block with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidBlock.addStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> stacks) Constructors in net.minecraft.block with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser that return ItemStackModifier and TypeMethodDescriptionDispenserBehavior.dispense(BlockPointer blockPointer, ItemStack itemStack) final ItemStackItemDispenserBehavior.dispense(BlockPointer blockPointer, ItemStack itemStack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) Methods in net.minecraft.block.dispenser with parameters of type ItemStackModifier and TypeMethodDescriptionprotected abstract ProjectileProjectileDispenserBehavior.createProjectile(World world, Position pos, ItemStack stack) DispenserBehavior.dispense(BlockPointer blockPointer, ItemStack itemStack) final ItemStackItemDispenserBehavior.dispense(BlockPointer blockPointer, ItemStack itemStack) protected ItemStackItemDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) ProjectileDispenserBehavior.dispenseSilently(BlockPointer pointer, ItemStack stack) static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos) -
Uses of ItemStack in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ItemStackFields in net.minecraft.block.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>BrewingStandBlockEntity.field_15151private DefaultedList<ItemStack>ChestBlockEntity.field_15152private DefaultedList<ItemStack>DispenserBlockEntity.field_15153private DefaultedList<ItemStack>FurnaceBlockEntity.field_15154private DefaultedList<ItemStack>HopperBlockEntity.field_15155private DefaultedList<ItemStack>ShulkerBoxBlockEntity.inventoryMethods in net.minecraft.block.entity that return ItemStackModifier and TypeMethodDescriptionBeaconBlockEntity.getInvStack(int slot) BrewingStandBlockEntity.getInvStack(int slot) class_2737.getInvStack(int slot) FurnaceBlockEntity.getInvStack(int slot) private static ItemStackHopperBlockEntity.method_13726(Inventory inventory, Inventory inventory2, ItemStack itemStack, int int2, Direction direction) static ItemStackHopperBlockEntity.method_13727(Inventory inventory, Inventory inventory2, ItemStack itemStack, Direction direction) BannerBlockEntity.method_16775(BlockState blockState) BeaconBlockEntity.removeInvStack(int slot) BrewingStandBlockEntity.removeInvStack(int slot) class_2737.removeInvStack(int slot) FurnaceBlockEntity.removeInvStack(int slot) BeaconBlockEntity.takeInvStack(int slot, int amount) BrewingStandBlockEntity.takeInvStack(int slot, int amount) class_2737.takeInvStack(int slot, int amount) FurnaceBlockEntity.takeInvStack(int slot, int amount) HopperBlockEntity.takeInvStack(int slot, int amount) Methods in net.minecraft.block.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionprotected DefaultedList<ItemStack>ChestBlockEntity.method_13730()protected abstract DefaultedList<ItemStack>class_2737.method_13730()protected DefaultedList<ItemStack>DispenserBlockEntity.method_13730()protected DefaultedList<ItemStack>HopperBlockEntity.method_13730()protected DefaultedList<ItemStack>ShulkerBoxBlockEntity.method_13730()Methods in net.minecraft.block.entity with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static booleanHopperBlockEntity.canExtract(Inventory inv, ItemStack stack, int slot, Direction facing) booleanBeaconBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanBrewingStandBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanShulkerBoxBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) private static booleanbooleanBeaconBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanBrewingStandBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanShulkerBoxBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) private static booleanHopperBlockEntity.canMergeItems(ItemStack first, ItemStack second) private static intFurnaceBlockEntity.getBurnTime(ItemStack stack) static intBannerBlockEntity.getPatternCount(ItemStack stack) static booleanbooleanBeaconBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanBrewingStandBlockEntity.isValidInvStack(int slot, ItemStack stack) booleanclass_2737.isValidInvStack(int slot, ItemStack stack) booleanFurnaceBlockEntity.isValidInvStack(int slot, ItemStack stack) static voidBannerBlockEntity.loadFromItemStack(ItemStack stack) private static ItemStackHopperBlockEntity.method_13726(Inventory inventory, Inventory inventory2, ItemStack itemStack, int int2, Direction direction) static ItemStackHopperBlockEntity.method_13727(Inventory inventory, Inventory inventory2, ItemStack itemStack, Direction direction) voidBannerBlockEntity.method_16774(ItemStack itemStack, DyeColor dyeColor) intDispenserBlockEntity.method_514(ItemStack itemStack) voidBeaconBlockEntity.setInvStack(int slot, ItemStack stack) voidBrewingStandBlockEntity.setInvStack(int slot, ItemStack stack) voidclass_2737.setInvStack(int slot, ItemStack stack) voidFurnaceBlockEntity.setInvStack(int slot, ItemStack stack) voidHopperBlockEntity.setInvStack(int slot, ItemStack stack) Method parameters in net.minecraft.block.entity with type arguments of type ItemStackModifier and TypeMethodDescriptionprotected voidChestBlockEntity.method_16834(DefaultedList<ItemStack> defaultedList) protected abstract voidclass_2737.method_16834(DefaultedList<ItemStack> defaultedList) protected voidDispenserBlockEntity.method_16834(DefaultedList<ItemStack> defaultedList) protected voidHopperBlockEntity.method_16834(DefaultedList<ItemStack> defaultedList) protected voidShulkerBoxBlockEntity.method_16834(DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.client
Methods in net.minecraft.client that return ItemStackModifier and TypeMethodDescriptionprivate ItemStackMinecraftClient.method_12138(ItemStack itemStack, BlockEntity blockEntity) Methods in net.minecraft.client with parameters of type ItemStackModifier and TypeMethodDescriptionintprivate ItemStackMinecraftClient.method_12138(ItemStack itemStack, BlockEntity blockEntity) intclass_2838.method_12160(ItemStack itemStack, int int2) (package private) booleanclass_2874.method_12369(ItemStack itemStack, World world, LivingEntity livingEntity) class_2876.method_19253(BakedModel bakedModel, ItemStack itemStack, World world, LivingEntity livingEntity) -
Uses of ItemStack in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type ItemStackModifier and TypeMethodDescriptionvoidCreativeInventoryListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) Method parameters in net.minecraft.client.gui with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidCreativeInventoryListener.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as ItemStackMethods in net.minecraft.client.gui.hud with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidInGameHud.method_9422(int int2, int int3, float float2, PlayerEntity playerEntity, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ItemStackModifier and TypeMethodDescriptionScreen.method_14502(ItemStack itemStack) private voidCustomizeFlatLevelScreen.CustomizeFlatLevelListWidget.renderEntry(int x, int y, ItemStack iconItem) protected voidScreen.renderTooltip(ItemStack stack, int x, int y) -
Uses of ItemStack in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackEnchantingScreen.field_1398private final ItemStackBookEditScreen.itemprivate ItemStackHandledScreen.quickMovingStackprivate ItemStackHandledScreen.touchDragStackprivate ItemStackHandledScreen.touchDropReturningStackFields in net.minecraft.client.gui.screen.ingame with type parameters of type ItemStackMethods in net.minecraft.client.gui.screen.ingame that return ItemStackModifier and TypeMethodDescriptionCreativeInventoryScreen.CreativeInventorySlot.getStack()CreativeInventoryScreen.CreativeInventorySlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) CreativeInventoryScreen.CreativeInventorySlot.takeStack(int amount) CreativeInventoryScreen.CreativeScreenHandler.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft.client.gui.screen.ingame with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanCreativeInventoryScreen.CreativeScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) private voidintCreativeInventoryScreen.CreativeInventorySlot.getMaxStackAmount(ItemStack stack) CreativeInventoryScreen.CreativeInventorySlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) voidAnvilScreen.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) protected voidCreativeInventoryScreen.renderTooltip(ItemStack stack, int x, int y) voidMethod parameters in net.minecraft.client.gui.screen.ingame with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidAnvilScreen.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type ItemStackModifierConstructorDescriptionBookEditScreen(PlayerEntity playerEntity, ItemStack itemStack, boolean bool, Hand hand) -
Uses of ItemStack in net.minecraft.client.network
Fields in net.minecraft.client.network declared as ItemStackMethods in net.minecraft.client.network that return ItemStackModifier and TypeMethodDescriptionClientPlayerInteractionManager.method_1224(int int2, int int3, int int4, ItemAction itemAction, PlayerEntity playerEntity) Methods in net.minecraft.client.network with parameters of type ItemStackModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.clickCreativeStack(ItemStack stack, int slotId) voidClientPlayerInteractionManager.dropCreativeStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.client.particle
Constructors in net.minecraft.client.particle with parameters of type ItemStackModifierConstructorDescriptionprotectedSnowballParticle(World world, double double2, double double3, double double4, double double5, double double6, double double7, ItemStack itemStack) protectedSnowballParticle(World world, double double2, double double3, double double4, ItemStack itemStack) -
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) private BiPedModel.class_2850PlayerEntityRenderer.method_19440(AbstractClientPlayerEntity abstractClientPlayerEntity, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.client.render.entity.feature
Methods in net.minecraft.client.render.entity.feature with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidHeldItemRenderer.method_12484(LivingEntity livingEntity, ItemStack itemStack, ModelTransformation.Mode mode, HandOption handOption) -
Uses of ItemStack in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type ItemStackModifier and TypeMethodDescriptionItemModels.method_19154(ItemStack itemStack) voidHeldItemRenderer.method_19374(LivingEntity livingEntity, ItemStack itemStack, int int2, int int3) booleanHeldItemRenderer.method_19375(ItemStack itemStack) voidHeldItemRenderer.method_19376(ItemStack itemStack, int int2, int int3) protected voidHeldItemRenderer.method_19377(ItemStack itemStack, int int2, int int3, BakedModel bakedModel) voidHeldItemRenderer.method_19378(ItemStack itemStack, LivingEntity livingEntity, ModelTransformation.Mode mode, boolean bool) HeldItemRenderer.method_19379(ItemStack itemStack, World world, LivingEntity livingEntity) voidHeldItemRenderer.method_19380(ItemStack itemStack, ModelTransformation.Mode mode) voidHeldItemRenderer.method_19381(ItemStack itemStack, BakedModel bakedModel) protected voidHeldItemRenderer.method_19382(ItemStack itemStack, BakedModel bakedModel, ModelTransformation.Mode mode, boolean bool) voidHeldItemRenderer.method_19383(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3) voidHeldItemRenderer.method_19384(TextRenderer textRenderer, ItemStack itemStack, int int2, int int3, String string) private voidHeldItemRenderer.method_19388(BufferBuilder bufferBuilder, List<BakedQuad> list, int int2, ItemStack itemStack) private voidHeldItemRenderer.method_19393(BakedModel bakedModel, int int2, ItemStack itemStack) private voidHeldItemRenderer.method_19394(BakedModel bakedModel, ItemStack itemStack) private BakedModelHeldItemRenderer.method_19395(BakedModel bakedModel, ItemStack itemStack, World world, LivingEntity livingEntity) HeldItemRenderer.method_19396(ItemStack itemStack) voidHeldItemRenderer.method_19397(ItemStack itemStack, int int2, int int3) HeldItemRenderer.method_19398(ItemStack itemStack, World world, LivingEntity livingEntity) -
Uses of ItemStack in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.chooseEquipmentWith(Enchantment enchantment, LivingEntity entity) static ItemStackEnchants thetargetitem stack and returns it.Methods in net.minecraft.enchantment that return types with arguments of type ItemStackMethods in net.minecraft.enchantment with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intEnchantmentHelper.calculateRequiredExperienceLevel(Random random, int slotIndex, int bookshelfCount, ItemStack stack) Returns the required experience level for an enchanting option in the enchanting table's screen, or the enchantment screen.static ItemStackEnchants thetargetitem stack and returns it.static List<EnchantmentLevelEntry>EnchantmentHelper.generateEnchantments(Random random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack.static Map<Enchantment,Integer> Gets the enchantments on an item stack.static intEnchantmentHelper.getLevel(Enchantment enchantment, ItemStack stack) Gets the level of an enchantment on an item stack.static intEnchantmentHelper.getLuckOfTheSea(ItemStack stack) static intstatic List<EnchantmentLevelEntry>EnchantmentHelper.getPossibleEntries(int power, ItemStack stack, boolean treasureAllowed) Gets all the possible entries for enchanting thestackat the givenpower.static booleanEnchantmentHelper.hasBindingCurse(ItemStack stack) static booleanEnchantmentHelper.hasVanishingCurse(ItemStack stack) booleanDamageEnchantment.isAcceptableItem(ItemStack stack) booleanEfficiencyEnchantment.isAcceptableItem(ItemStack stack) booleanEnchantment.isAcceptableItem(ItemStack stack) booleanThornsEnchantment.isAcceptableItem(ItemStack stack) booleanUnbreakingEnchantment.isAcceptableItem(ItemStack stack) static floatEnchantmentHelper.method_16260(ItemStack itemStack, class_3462 class_3462) private static voidEnchantmentHelper.method_16261(EnchantmentHelper.Consumer consumer, ItemStack itemStack) static intEnchantmentHelper.method_16266(ItemStack itemStack) static intEnchantmentHelper.method_16267(ItemStack itemStack) static booleanEnchantmentHelper.method_16268(ItemStack itemStack) static voidEnchantmentHelper.set(Map<Enchantment, Integer> enchantments, ItemStack stack) Sets the enchantments on an item stack.static booleanUnbreakingEnchantment.shouldPreventDamage(ItemStack item, int level, Random random) Method parameters in net.minecraft.enchantment with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate static voidEnchantmentHelper.forEachEnchantment(EnchantmentHelper.Consumer consumer, Iterable<ItemStack> stacks) static intEnchantmentHelper.getProtectionAmount(Iterable<ItemStack> stacks, DamageSource source) -
Uses of ItemStack in net.minecraft.entity
Fields in net.minecraft.entity declared as ItemStackFields in net.minecraft.entity with type parameters of type ItemStackModifier and TypeFieldDescriptionEntity.EMPTY_STACK_LISTprivate final DefaultedList<ItemStack>LivingEntity.field_15465private final DefaultedList<ItemStack>LivingEntity.field_15466private static final TrackedData<ItemStack>FireworkRocketEntity.ITEMprivate static final TrackedData<ItemStack>ItemEntity.STACKMethods in net.minecraft.entity that return ItemStackModifier and TypeMethodDescriptionItemEntity.getItemStack()protected ItemStackHuskEntity.getSkull()LivingEntity.getStackInHand(Hand hand) abstract ItemStackLivingEntity.method_13043(EquipmentSlot equipmentSlot) LivingEntity.method_13058()LivingEntity.method_13059()LivingEntity.method_13064()Methods in net.minecraft.entity that return types with arguments of type ItemStackModifier and TypeMethodDescriptionEntity.getArmorItems()LivingEntity.getArmorItems()Entity.getItemsEquipped()Entity.getItemsHand()Methods in net.minecraft.entity with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidEntity.equipStack(EquipmentSlot slot, ItemStack stack) abstract voidLivingEntity.equipStack(EquipmentSlot slot, ItemStack stack) booleanParrotEntity.isBreedingItem(ItemStack stack) booleanPolarBearEntity.isBreedingItem(ItemStack stack) protected voidLivingEntity.method_13038(ItemStack stack, int int2) voidLivingEntity.method_13042(Hand hand, ItemStack itemStack) protected voidLivingEntity.method_13045(ItemStack itemStack) protected booleanLlamaEntity.method_13970(PlayerEntity playerEntity, ItemStack itemStack) booleanLlamaEntity.method_14001(ItemStack itemStack) Entity.method_15571(ItemStack itemStack) EntityType.method_15619(World world, ItemStack itemStack, PlayerEntity playerEntity, BlockPos blockPos, boolean bool, boolean bool2) private voidLivingEntity.method_15640(ItemStack itemStack, int int2) private static DyeColorLlamaEntity.method_15831(ItemStack itemStack) voidLivingEntity.method_6111(ItemStack itemStack) voidItemEntity.setItemStack(ItemStack itemStack) Constructors in net.minecraft.entity with parameters of type ItemStackModifierConstructorDescriptionFireworkRocketEntity(World world, double x, double y, double z, ItemStack item) FireworkRocketEntity(World world, ItemStack item, LivingEntity shooter) ItemEntity(World world, double x, double y, double z, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type ItemStackModifier and TypeFieldDescriptionstatic final TrackedDataHandler<ItemStack>TrackedDataHandlerRegistry.ITEM_STACKMethods in net.minecraft.entity.data with parameters of type ItemStackModifier and TypeMethodDescriptionvoidMerchant.method_5501(ItemStack stack) voidTrader.method_5501(ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>ArmorStandEntity.field_15522private final DefaultedList<ItemStack>ArmorStandEntity.field_15523private static final TrackedData<ItemStack>ItemFrameEntity.ITEM_STACKMethods in net.minecraft.entity.decoration that return ItemStackModifier and TypeMethodDescriptionItemFrameEntity.getHeldItemStack()ArmorStandEntity.method_13043(EquipmentSlot equipmentSlot) Methods in net.minecraft.entity.decoration that return types with arguments of type ItemStackModifier and TypeMethodDescriptionArmorStandEntity.getArmorItems()ArmorStandEntity.getItemsHand()Methods in net.minecraft.entity.decoration with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanvoidArmorStandEntity.equipStack(EquipmentSlot slot, ItemStack stack) private voidArmorStandEntity.method_13206(PlayerEntity playerEntity, EquipmentSlot equipmentSlot, ItemStack itemStack, Hand hand) private voidItemFrameEntity.removeFromFrame(ItemStack map) voidItemFrameEntity.setHeldItemStack(ItemStack stack) private voidItemFrameEntity.setHeldItemStack(ItemStack stack, boolean update) -
Uses of ItemStack in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>MobEntity.field_15467private final DefaultedList<ItemStack>MobEntity.field_15468Methods in net.minecraft.entity.mob that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackDrownedEntity.getSkull()protected ItemStackZombieEntity.getSkull()protected ItemStackZombiePigmanEntity.getSkull()protected ItemStackZombieVillagerEntity.getSkull()MobEntity.method_13043(EquipmentSlot equipmentSlot) Methods in net.minecraft.entity.mob that return types with arguments of type ItemStackMethods in net.minecraft.entity.mob with parameters of type ItemStackModifier and TypeMethodDescriptionprotected booleanMobEntity.canPickupItem(ItemStack stack) protected booleanZombieEntity.canPickupItem(ItemStack stack) booleanvoidMobEntity.equipStack(EquipmentSlot slot, ItemStack stack) static booleanMobEntity.method_13080(EquipmentSlot equipmentSlot, ItemStack itemStack) static EquipmentSlotMobEntity.method_13083(ItemStack itemStack) protected booleanDrownedEntity.method_15651(ItemStack itemStack, ItemStack itemStack2, EquipmentSlot equipmentSlot) protected booleanMobEntity.method_15651(ItemStack itemStack, ItemStack itemStack2, EquipmentSlot equipmentSlot) -
Uses of ItemStack in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as ItemStackModifier and TypeFieldDescriptionVillagerEntity.EmeraldToItem.field_12118VillagerEntity.ItemStackTradeEntry.field_17087VillagerEntity.EnchantedItemStackTradeEntry.itemVillagerEntity.EmeraldToItem.stack1Methods in net.minecraft.entity.passive that return ItemStackModifier and TypeMethodDescriptionprotected ItemStackCodEntity.method_15726()protected abstract ItemStackFishEntity.method_15726()protected ItemStackPufferfishEntity.method_15726()protected ItemStackSalmonEntity.method_15726()protected ItemStackTropicalFishEntity.method_15726()Methods in net.minecraft.entity.passive with parameters of type ItemStackModifier and TypeMethodDescriptionprotected voidAnimalEntity.eat(PlayerEntity player, ItemStack stack) booleanbooleanAnimalEntity.isBreedingItem(ItemStack stack) booleanChickenEntity.isBreedingItem(ItemStack stack) booleanOcelotEntity.isBreedingItem(ItemStack stack) booleanPigEntity.isBreedingItem(ItemStack stack) booleanRabbitEntity.isBreedingItem(ItemStack stack) booleanTurtleEntity.isBreedingItem(ItemStack stack) booleanWolfEntity.isBreedingItem(ItemStack stack) booleanHorseBaseEntity.method_14001(ItemStack itemStack) protected voidFishEntity.method_15725(ItemStack itemStack) protected voidTropicalFishEntity.method_15725(ItemStack itemStack) DolphinEntity.method_15750(ItemStack itemStack) private booleanTurtleEntity.class_3504.method_15825(ItemStack itemStack) voidVillagerEntity.method_5501(ItemStack stack) voidHorseBaseEntity.method_8390(ItemStack itemStack) Constructors in net.minecraft.entity.passive with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackPlayerInventory.cursorStackprivate ItemStackPlayerEntity.field_14794Fields in net.minecraft.entity.player with type parameters of type ItemStackModifier and TypeFieldDescriptionfinal DefaultedList<ItemStack>PlayerInventory.field_15082final DefaultedList<ItemStack>PlayerInventory.field_15083final DefaultedList<ItemStack>PlayerInventory.field_15084private final List<DefaultedList<ItemStack>>PlayerInventory.field_15085Methods in net.minecraft.entity.player that return ItemStackModifier and TypeMethodDescriptionPlayerInventory.getArmor(int slot) PlayerInventory.getCursorStack()PlayerInventory.getInvStack(int slot) PlayerInventory.getMainHandStack()PlayerEntity.method_13043(EquipmentSlot equipmentSlot) protected ItemStackClientPlayerEntity.method_3164(ItemEntity itemEntity) protected ItemStackPlayerEntity.method_3164(ItemEntity itemEntity) PlayerInventory.removeInvStack(int slot) PlayerInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.entity.player that return types with arguments of type ItemStackMethods in net.minecraft.entity.player with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanvoidPlayerEntity.equipStack(EquipmentSlot slot, ItemStack stack) voidHungerManager.incrementStat(FoodItem food, ItemStack stack) booleanPlayerInventory.insertStack(ItemStack itemStack) booleanPlayerInventory.isValidInvStack(int slot, ItemStack stack) voidPlayerInventory.method_13250(ItemStack itemStack) private booleanPlayerInventory.method_13251(ItemStack itemStack, ItemStack itemStack2) intPlayerInventory.method_13253(ItemStack itemStack) private booleanPlayerInventory.method_13254(ItemStack itemStack, ItemStack itemStack2) voidPlayerInventory.method_13257(ItemStack itemStack) booleanPlayerEntity.method_13617(ItemStack itemStack) voidPlayerInventory.method_14149(World world, ItemStack itemStack) booleanPlayerInventory.method_14150(int int2, ItemStack itemStack) intPlayerInventory.method_14151(ItemStack itemStack) private intPlayerInventory.method_14152(int int2, ItemStack itemStack) intPlayerInventory.method_3138(ItemStack itemStack) private intPlayerInventory.method_3140(ItemStack itemStack) voidPlayerEntity.method_3172(ItemStack itemStack, int int2) voidServerPlayerEntity.method_3172(ItemStack itemStack, int int2) voidClientPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidServerPlayerEntity.method_3201(ItemStack itemStack, Hand hand) voidServerPlayerEntity.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidPlayerInventory.setCursorStack(ItemStack stack) voidPlayerInventory.setInvStack(int slot, ItemStack stack) Method parameters in net.minecraft.entity.player with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidServerPlayerEntity.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) intPlayerInventory.method_15922(Predicate<ItemStack> predicate, int int2) -
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
Fields in net.minecraft.entity.projectile declared as ItemStackMethods in net.minecraft.entity.projectile that return ItemStackModifier and TypeMethodDescriptionprotected abstract ItemStackAbstractArrowEntity.asItemStack()protected ItemStackArrowEntity.asItemStack()protected ItemStackSpetraclArrowEntity.asItemStack()protected ItemStackTridentEntity.asItemStack()Methods in net.minecraft.entity.projectile with parameters of type ItemStackModifier and TypeMethodDescriptionstatic intArrowEntity.getCustomPotionColor(ItemStack stack) voidArrowEntity.initFromStack(ItemStack stack) intFishingBobberEntity.method_15844(ItemStack itemStack) Constructors in net.minecraft.entity.projectile with parameters of type ItemStackModifierConstructorDescriptionTridentEntity(World world, LivingEntity livingEntity, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.entity.thrown
Fields in net.minecraft.entity.thrown with type parameters of type ItemStackMethods in net.minecraft.entity.thrown that return ItemStackMethods in net.minecraft.entity.thrown with parameters of type ItemStackModifier and TypeMethodDescriptionprivate voidPotionEntity.applyLingeringPotion(ItemStack stack, Potion potion) voidConstructors in net.minecraft.entity.thrown with parameters of type ItemStackModifierConstructorDescriptionPotionEntity(World world, double x, double y, double z, ItemStack stack) PotionEntity(World world, LivingEntity entity, ItemStack stack) -
Uses of ItemStack in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>StorageMinecartEntity.inventoryMethods in net.minecraft.entity.vehicle that return ItemStackModifier and TypeMethodDescriptionStorageMinecartEntity.getInvStack(int slot) StorageMinecartEntity.removeInvStack(int slot) StorageMinecartEntity.takeInvStack(int slot, int amount) Methods in net.minecraft.entity.vehicle with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanStorageMinecartEntity.isValidInvStack(int slot, ItemStack stack) voidStorageMinecartEntity.setInvStack(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.inventory
Fields in net.minecraft.inventory with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>CraftingInventory.field_15100private final DefaultedList<ItemStack>CraftingResultInventory.field_15105private final DefaultedList<ItemStack>SimpleInventory.field_15440Methods in net.minecraft.inventory that return ItemStackModifier and TypeMethodDescriptionSimpleInventory.fillInventoryWith(ItemStack stack) CraftingInventory.getInvStack(int slot) CraftingResultInventory.getInvStack(int slot) DoubleInventory.getInvStack(int slot) Inventory.getInvStack(int slot) SimpleInventory.getInvStack(int slot) CraftingInventory.removeInvStack(int slot) CraftingResultInventory.removeInvStack(int slot) DoubleInventory.removeInvStack(int slot) Inventory.removeInvStack(int slot) SimpleInventory.removeInvStack(int slot) CraftingInventory.takeInvStack(int slot, int amount) CraftingResultInventory.takeInvStack(int slot, int amount) DoubleInventory.takeInvStack(int slot, int amount) Inventory.takeInvStack(int slot, int amount) SimpleInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.inventory with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanSidedInventory.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanSidedInventory.canInsertInvStack(int slot, ItemStack stack, Direction dir) SimpleInventory.fillInventoryWith(ItemStack stack) booleanCraftingInventory.isValidInvStack(int slot, ItemStack stack) booleanCraftingResultInventory.isValidInvStack(int slot, ItemStack stack) booleanDoubleInventory.isValidInvStack(int slot, ItemStack stack) booleanInventory.isValidInvStack(int slot, ItemStack stack) booleanSimpleInventory.isValidInvStack(int slot, ItemStack stack) voidCraftingInventory.setInvStack(int slot, ItemStack stack) voidCraftingResultInventory.setInvStack(int slot, ItemStack stack) voidDoubleInventory.setInvStack(int slot, ItemStack stack) voidInventory.setInvStack(int slot, ItemStack stack) voidSimpleInventory.setInvStack(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.inventory.slot
Methods in net.minecraft.inventory.slot that return ItemStackModifier and TypeMethodDescriptionSlot.getStack()CraftingResultSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) FurnaceOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) Slot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) TradeOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) CraftingResultSlot.takeStack(int amount) FurnaceOutputSlot.takeStack(int amount) Slot.takeStack(int amount) TradeOutputSlot.takeStack(int amount) Methods in net.minecraft.inventory.slot with parameters of type ItemStackModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanprivate booleanTradeOutputSlot.depleteBuyItems(TradeOffer offer, ItemStack first, ItemStack second) intFurnaceFuelSlot.getMaxStackAmount(ItemStack stack) intSlot.getMaxStackAmount(ItemStack stack) static booleanCraftingResultSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) FurnaceOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) Slot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) TradeOutputSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidSlot.onStackChanged(ItemStack originalItem, ItemStack newItem) void -
Uses of ItemStack in net.minecraft.item
Fields in net.minecraft.item declared as ItemStackModifier and TypeFieldDescriptionstatic final ItemStackItemStack.EMPTYprotected final ItemStackItemUsageContext.field_17406Methods in net.minecraft.item that return ItemStackModifier and TypeMethodDescriptionItemStack.copy()private ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) static ItemStackEnchantedBookItem.getAsItemStack(EnchantmentLevelEntry enchantmentLevelEntry) Item.getDefaultStack()PotionItem.getDefaultStack()TippedArrowItem.getDefaultStack()ItemUsageContext.getItemStack()static ItemStackArmorItem.method_11353(BlockPointer blockPointer, ItemStack itemStack) protected ItemStackGlassBottleItem.method_11360(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2) private ItemStackBowItem.method_11362(PlayerEntity playerEntity) ItemStack.method_11388(World world, LivingEntity entity) protected ItemStackBucketItem.method_16030(ItemStack itemStack, PlayerEntity playerEntity) static ItemStackItemStack.method_16099(NbtCompound nbtCompound) ItemStack.method_16101(Text text) static ItemStackFilledMapItem.method_16113(World world, int int2, int int3, byte byte2, boolean bool, boolean bool2) ChorusFruitItem.method_3367(ItemStack stack, World world, LivingEntity entity) FoodItem.method_3367(ItemStack stack, World world, LivingEntity entity) Item.method_3367(ItemStack stack, World world, LivingEntity entity) MilkBucketItem.method_3367(ItemStack stack, World world, LivingEntity entity) PotionItem.method_3367(ItemStack stack, World world, LivingEntity entity) StewItem.method_3367(ItemStack stack, World world, LivingEntity entity) ItemStack.split(int amount) Methods in net.minecraft.item that return types with arguments of type ItemStackModifier and TypeMethodDescriptionItemStack.method_11390(World world, PlayerEntity player, Hand hand) ArmorItem.method_13649(World world, PlayerEntity player, Hand hand) BoatItem.method_13649(World world, PlayerEntity player, Hand hand) BowItem.method_13649(World world, PlayerEntity player, Hand hand) BucketItem.method_13649(World world, PlayerEntity player, Hand hand) CarrotOnAStickItem.method_13649(World world, PlayerEntity player, Hand hand) EggItem.method_13649(World world, PlayerEntity player, Hand hand) ElytraItem.method_13649(World world, PlayerEntity player, Hand hand) EmptyMapItem.method_13649(World world, PlayerEntity player, Hand hand) EnderEyeItem.method_13649(World world, PlayerEntity player, Hand hand) EnderPearlItem.method_13649(World world, PlayerEntity player, Hand hand) ExperienceBottleItem.method_13649(World world, PlayerEntity player, Hand hand) FireworkItem.method_13649(World world, PlayerEntity player, Hand hand) FishingRodItem.method_13649(World world, PlayerEntity player, Hand hand) FoodItem.method_13649(World world, PlayerEntity player, Hand hand) GlassBottleItem.method_13649(World world, PlayerEntity player, Hand hand) Item.method_13649(World world, PlayerEntity player, Hand hand) LilyPadItem.method_13649(World world, PlayerEntity player, Hand hand) LingeringPotionItem.method_13649(World world, PlayerEntity player, Hand hand) MilkBucketItem.method_13649(World world, PlayerEntity player, Hand hand) PotionItem.method_13649(World world, PlayerEntity player, Hand hand) ShieldItem.method_13649(World world, PlayerEntity player, Hand hand) SnowballItem.method_13649(World world, PlayerEntity player, Hand hand) SplashPotionItem.method_13649(World world, PlayerEntity player, Hand hand) WritableBookItem.method_13649(World world, PlayerEntity player, Hand hand) WrittenBookItem.method_13649(World world, PlayerEntity player, Hand hand) Methods in net.minecraft.item with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidEnchantedBookItem.addEnchantment(ItemStack stack, EnchantmentLevelEntry itemStack) voidBannerItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidBlockItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidEnchantedBookItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidFilledMapItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidFireworkChargeItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidFireworkItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidLingeringPotionItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidMusicDiscItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidPotionItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidShieldItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidTippedArrowItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) voidWrittenBookItem.appendTooltips(ItemStack stack, World world, List<Text> tooltip, TooltipContext tooltipContext) floatItemPropertyGetter.call(ItemStack itemStack, World world, LivingEntity livingEntity) booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.booleanReturns whether the item can be repaired via an anvil or crafting table.Packet<?>FilledMapItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Packet<?>NetworkSyncedItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) protected voidAppleItem.eat(ItemStack stack, World world, PlayerEntity player) protected voidFishItem.eat(ItemStack stack, World world, PlayerEntity player) protected voidFoodItem.eat(ItemStack stack, World world, PlayerEntity player) booleanstatic booleanprivate booleanstatic booleanstatic booleanItemStack.equalsIgnoreDamage(ItemStack left, ItemStack right) booleanItemStack.equalsIgnoreNbt(ItemStack stack) static booleanItemStack.equalsIgnoreNbt(ItemStack left, ItemStack right) private ItemStackBucketItem.fill(ItemStack stack, PlayerEntity player, Item item) floatAxeItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatPickaxeItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatShearsItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatSwordItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) floatToolItem.getBlockBreakingSpeed(ItemStack stack, BlockState state) static FishItem.FishTypeFishItem.FishType.getByItemStack(ItemStack itemStack) static NbtListEnchantedBookItem.getEnchantmentNbt(ItemStack stack) static intWrittenBookItem.getGeneration(ItemStack stack) intFishItem.getHungerPoints(ItemStack stack) intFoodItem.getHungerPoints(ItemStack stack) intBowItem.getMaxUseTime(ItemStack stack) intFoodItem.getMaxUseTime(ItemStack stack) intItem.getMaxUseTime(ItemStack stack) intMilkBucketItem.getMaxUseTime(ItemStack stack) intPotionItem.getMaxUseTime(ItemStack stack) intShieldItem.getMaxUseTime(ItemStack stack) Returns the rarity of the current Item.floatFishItem.getSaturation(ItemStack stack) floatFoodItem.getSaturation(ItemStack stack) Item.getTranslationKey(ItemStack stack) PotionItem.getTranslationKey(ItemStack stack) ShieldItem.getTranslationKey(ItemStack stack) TippedArrowItem.getTranslationKey(ItemStack stack) BowItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.FoodItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.Item.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.MilkBucketItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.PotionItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.ShieldItem.getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.booleanEnchantedBookItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanEndCrystalItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanExperienceBottleItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanNetherStarItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanPotionItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.booleanWrittenBookItem.hasEnchantmentGlint(ItemStack stack) Returns whether the current item has an enchantment glint.voidFilledMapItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) Runs every tick when the item is in an inventory.voidItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) Runs every tick when the item is in an inventory.booleanBookItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanEnchantedBookItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanItem.isEnchantable(ItemStack stack) Returns whether the current item can have enchantments.static ItemStackArmorItem.method_11353(BlockPointer blockPointer, ItemStack itemStack) class_2680.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) SpectralArrowItem.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) TippedArrowItem.method_11358(World world, ItemStack itemStack, LivingEntity livingEntity) static voidBannerItem.method_11359(ItemStack itemStack, List<Text> list) protected ItemStackGlassBottleItem.method_11360(ItemStack itemStack, PlayerEntity playerEntity, ItemStack itemStack2) protected booleanBowItem.method_11364(ItemStack itemStack) static booleanElytraItem.method_11370(ItemStack itemStack) protected static voidFilledMapItem.method_11399(ItemStack itemStack, World world, int int2) static voidFilledMapItem.method_13664(World world, ItemStack itemStack) static intFilledMapItem.method_13665(ItemStack itemStack) protected booleanBlockItem.method_16014(BlockPos blockPos, World world, PlayerEntity playerEntity, ItemStack itemStack, BlockState blockState) protected booleanSignItem.method_16014(BlockPos blockPos, World world, PlayerEntity playerEntity, ItemStack itemStack, BlockState blockState) protected ItemStackBucketItem.method_16030(ItemStack itemStack, PlayerEntity playerEntity) voidBucketItem.method_16031(World world, ItemStack itemStack, BlockPos blockPos) protected booleanWallHangableItem.method_16066(PlayerEntity playerEntity, Direction direction, ItemStack itemStack, BlockPos blockPos) static MapStateFilledMapItem.method_16111(ItemStack itemStack, World world) private static MapStateFilledMapItem.method_16112(ItemStack itemStack, World world, int int2, int int3, int int4, boolean bool, boolean bool2, DimensionType dimensionType) static intFilledMapItem.method_16117(ItemStack itemStack) static DyeColorShieldItem.method_16122(ItemStack itemStack) booleanDyeItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanNameTagItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanSaddleItem.method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand) booleanItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanShearsItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanSwordItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) booleanToolItem.method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) voidBowItem.method_3359(ItemStack stack, World world, LivingEntity entity, int int2) voidItem.method_3359(ItemStack stack, World world, LivingEntity entity, int int2) ChorusFruitItem.method_3367(ItemStack stack, World world, LivingEntity entity) FoodItem.method_3367(ItemStack stack, World world, LivingEntity entity) Item.method_3367(ItemStack stack, World world, LivingEntity entity) MilkBucketItem.method_3367(ItemStack stack, World world, LivingEntity entity) PotionItem.method_3367(ItemStack stack, World world, LivingEntity entity) StewItem.method_3367(ItemStack stack, World world, LivingEntity entity) Item.method_3383(ItemStack itemStack) SkullItem.method_3383(ItemStack itemStack) WrittenBookItem.method_3383(ItemStack itemStack) voidFilledMapItem.onCraft(ItemStack stack, World world, PlayerEntity player) Runs when the item is craftedvoidItem.onCraft(ItemStack stack, World world, PlayerEntity player) Runs when the item is craftedbooleanHoeItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanSwordItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) booleanToolItem.onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) private voidWrittenBookItem.resolveContents(ItemStack stack, PlayerEntity player) static booleanBlockItem.setBlockEntityNbt(World world, PlayerEntity player, BlockPos pos, ItemStack itemStack) Method parameters in net.minecraft.item with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidBlockItem.appendToItemGroup(ItemGroup group, DefaultedList<ItemStack> stacks) voidEnchantedBookItem.appendToItemGroup(ItemGroup group, DefaultedList<ItemStack> stacks) voidItem.appendToItemGroup(ItemGroup group, DefaultedList<ItemStack> stacks) voidPotionItem.appendToItemGroup(ItemGroup group, DefaultedList<ItemStack> stacks) voidTippedArrowItem.appendToItemGroup(ItemGroup group, DefaultedList<ItemStack> stacks) Constructors in net.minecraft.item with parameters of type ItemStackModifierConstructorDescriptionprotectedItemPlacementContext(World world, PlayerEntity playerEntity, ItemStack itemStack, BlockPos blockPos, Direction direction, float float2, float float3, float float4) ItemUsageContext(PlayerEntity playerEntity, ItemStack itemStack, BlockPos blockPos, Direction direction, float float2, float float3, float float4) protectedItemUsageContext(World world, PlayerEntity playerEntity, ItemStack itemStack, BlockPos blockPos, Direction direction, float float2, float float3, float float4) -
Uses of ItemStack in net.minecraft.item.itemgroup
Fields in net.minecraft.item.itemgroup declared as ItemStackMethods in net.minecraft.item.itemgroup that return ItemStackModifier and TypeMethodDescriptionItemGroup.getIcon()abstract ItemStackItemGroup.method_13647()Method parameters in net.minecraft.item.itemgroup with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidItemGroup.method_13646(DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type ItemStackModifier and TypeMethodDescriptionPacket<?>static voidMapState.method_13830(ItemStack itemStack, BlockPos blockPos, String string, class_3082.class_3083 class_3083) Packet<?>MapState.method_17932(ItemStack itemStack, BlockView blockView, PlayerEntity playerEntity) voidMapState.update(PlayerEntity player, ItemStack stack) -
Uses of ItemStack in net.minecraft.loot
Methods in net.minecraft.loot that return types with arguments of type ItemStackMethod parameters in net.minecraft.loot with type arguments of type ItemStackModifier and TypeMethodDescriptionprivate voidclass_2780.method_11980(List<ItemStack> list, int int2, Random random) -
Uses of ItemStack in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackClickWindowC2SPacket.selectedStackprivate ItemStackCreativeInventoryActionC2SPacket.stackMethods in net.minecraft.network.packet.c2s.play that return ItemStackModifier and TypeMethodDescriptionCreativeInventoryActionC2SPacket.getItemStack()ClickWindowC2SPacket.getSelectedStack()Constructors in net.minecraft.network.packet.c2s.play with parameters of type ItemStackModifierConstructorDescriptionClickWindowC2SPacket(int int2, int int3, int int4, ItemAction itemAction, ItemStack itemStack, short short2) CreativeInventoryActionC2SPacket(int slot, ItemStack stack) -
Uses of ItemStack in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackEntityEquipmentUpdateS2CPacket.stackprivate ItemStackScreenHandlerSlotUpdateS2CPacket.stackFields in net.minecraft.network.packet.s2c.play with type parameters of type ItemStackMethods in net.minecraft.network.packet.s2c.play that return ItemStackModifier and TypeMethodDescriptionScreenHandlerSlotUpdateS2CPacket.getItemStack()EntityEquipmentUpdateS2CPacket.getStack()Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type ItemStackConstructors in net.minecraft.network.packet.s2c.play with parameters of type ItemStackModifierConstructorDescriptionEntityEquipmentUpdateS2CPacket(int int2, EquipmentSlot equipmentSlot, ItemStack itemStack) ScreenHandlerSlotUpdateS2CPacket(int syncId, int slot, ItemStack stack) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type ItemStackModifierConstructorDescriptionInventoryS2CPacket(int int2, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.potion
Methods in net.minecraft.potion that return ItemStackModifier and TypeMethodDescriptionstatic ItemStackPotionUtil.setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects) static ItemStackMethods in net.minecraft.potion with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidPotionUtil.buildTooltip(ItemStack stack, List<Text> list, float float2) static intstatic List<StatusEffectInstance>PotionUtil.getCustomPotionEffects(ItemStack stack) static Potionstatic List<StatusEffectInstance>PotionUtil.getPotionEffects(ItemStack stack) static ItemStackPotionUtil.setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects) static ItemStack -
Uses of ItemStack in net.minecraft.realms
Methods in net.minecraft.realms with parameters of type ItemStackModifier and TypeMethodDescriptionvoidRealmsScreen.renderTooltip(ItemStack itemStack, int int2, int int3) -
Uses of ItemStack in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStack[]Ingredient.field_15681private final ItemStackIngredient.class_3575.field_17441private final ItemStackShapedRecipeType.resultprivate final ItemStackShapelessRecipeType.resultMethods in net.minecraft.recipe that return ItemStackModifier and TypeMethodDescriptionRecipeType.getOutput()ShapedRecipeType.getOutput()ShapelessRecipeType.getOutput()Ingredient.method_14244()ArmorDyeRecipeType.method_16201(Inventory inventory) BookCloningRecipeType.method_16201(Inventory inventory) class_2700.method_16201(Inventory inventory) class_2702.method_16201(Inventory inventory) MapCloningRecipeType.method_16201(Inventory inventory) MapUpscaleRecipeType.method_16201(Inventory inventory) RecipeType.method_16201(Inventory inventory) RepairingRecipeType.method_16201(Inventory inventory) ShapedRecipeType.method_16201(Inventory inventory) ShapelessRecipeType.method_16201(Inventory inventory) RecipeDispatcher.method_16204(Inventory inventory, World world) static ItemStackShapedRecipeType.method_16223(JsonObject jsonObject) Methods in net.minecraft.recipe that return types with arguments of type ItemStackModifier and TypeMethodDescriptionIngredient.class_3575.method_16198()Ingredient.class_3576.method_16198()Ingredient.class_3577.method_16198()BookCloningRecipeType.method_16203(Inventory inventory) default DefaultedList<ItemStack>RecipeType.method_16203(Inventory inventory) RecipeDispatcher.method_16211(Inventory inventory, World world) Methods in net.minecraft.recipe with parameters of type ItemStackModifier and TypeMethodDescriptionstatic IngredientIngredient.method_14248(ItemStack[] itemStack) booleanConstructors in net.minecraft.recipe with parameters of type ItemStackModifierConstructorDescriptionprivateclass_3575(ItemStack itemStack) ShapedRecipeType(Identifier identifier, String string, int int2, int int3, DefaultedList<Ingredient> defaultedList, ItemStack itemStack) ShapelessRecipeType(Identifier identifier, String string, ItemStack itemStack, DefaultedList<Ingredient> defaultedList) -
Uses of ItemStack in net.minecraft.screen
Fields in net.minecraft.screen with type parameters of type ItemStackMethods in net.minecraft.screen that return ItemStackModifier and TypeMethodDescriptionScreenHandler.method_3252(int int2, int int3, ItemAction itemAction, PlayerEntity playerEntity) BrewingScreenHandler.PotionSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) AnvilScreenHandler.transferSlot(PlayerEntity player, int invSlot) BeaconScreenHandler.transferSlot(PlayerEntity player, int invSlot) BrewingScreenHandler.transferSlot(PlayerEntity player, int invSlot) ChestScreenHandler.transferSlot(PlayerEntity player, int invSlot) CraftingScreenHandler.transferSlot(PlayerEntity player, int invSlot) EnchantingScreenHandler.transferSlot(PlayerEntity player, int invSlot) FurnaceScreenHandler.transferSlot(PlayerEntity player, int invSlot) Generic3x3ScreenHandler.transferSlot(PlayerEntity player, int invSlot) HopperScreenHandler.transferSlot(PlayerEntity player, int invSlot) HorseScreenHandler.transferSlot(PlayerEntity player, int invSlot) PlayerScreenHandler.transferSlot(PlayerEntity player, int invSlot) ScreenHandler.transferSlot(PlayerEntity player, int invSlot) VillagerScreenHandler.transferSlot(PlayerEntity player, int invSlot) Methods in net.minecraft.screen that return types with arguments of type ItemStackMethods in net.minecraft.screen with parameters of type ItemStackModifier and TypeMethodDescriptionstatic voidScreenHandler.calculateStackSize(Set<Slot> slots, int rmode, ItemStack stack, int stackSize) booleanbooleanbooleanbooleanbooleanCraftingScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) booleanPlayerScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) booleanScreenHandler.canInsertIntoSlot(ItemStack stack, Slot slot) static booleanScreenHandler.canInsertItemIntoSlot(Slot slot, ItemStack stack, boolean bool) private List<EnchantmentLevelEntry>EnchantingScreenHandler.getRandomEnchantments(ItemStack stack, int modifier, int int2) protected booleanScreenHandler.insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast) static booleanstatic booleanBrewingScreenHandler.class_2678.method_11350(ItemStack itemStack) static booleanScreenHandler.method_15965(ItemStack itemStack, ItemStack itemStack2) private booleanFurnaceScreenHandler.method_15976(ItemStack itemStack) BrewingScreenHandler.PotionSlot.method_3298(PlayerEntity playerEntity, ItemStack itemStack) voidScreenHandlerListener.onScreenHandlerSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidScreenHandler.setStackInSlot(int slot, ItemStack stack) Method parameters in net.minecraft.screen with type arguments of type ItemStackModifier and TypeMethodDescriptionvoidScreenHandler.method_13642(List<ItemStack> list) voidScreenHandlerListener.method_13643(ScreenHandler screenHandler, DefaultedList<ItemStack> defaultedList) -
Uses of ItemStack in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type ItemStackModifier and TypeMethodDescriptionprivate static intReplaceItemCommand.method_20922(class_3915 class_3915, BlockPos blockPos, int int2, ItemStack itemStack) private static intReplaceItemCommand.method_20923(class_3915 class_3915, Collection<? extends Entity> collection, int int2, ItemStack itemStack) -
Uses of ItemStack in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ItemStackModifier and TypeMethodDescriptionDemoServerPlayerInteractionManager.method_12791(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand) ServerPlayerInteractionManager.method_12791(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand) DemoServerPlayerInteractionManager.method_12792(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand, BlockPos blockPos, Direction direction, float float2, float float3, float float4) ServerPlayerInteractionManager.method_12792(PlayerEntity playerEntity, World world, ItemStack itemStack, Hand hand, BlockPos blockPos, Direction direction, float float2, float float3, float float4) -
Uses of ItemStack in net.minecraft.util
Methods in net.minecraft.util that return ItemStackMethods in net.minecraft.util with parameters of type ItemStackModifier and TypeMethodDescriptionstatic HorseArmorTypeHorseArmorType.method_13137(ItemStack itemStack) static voidItemScatterer.spawnItemStack(World world, double x, double y, double z, ItemStack itemStack) PacketByteBuf.writeItemStack(ItemStack stack) -
Uses of ItemStack in net.minecraft.util.json
Methods in net.minecraft.util.json with parameters of type ItemStack -
Uses of ItemStack in net.minecraft.village
Fields in net.minecraft.village declared as ItemStackModifier and TypeFieldDescriptionprivate ItemStackTradeOffer.resultprivate ItemStackTradeOffer.stack1private ItemStackTradeOffer.stack2Fields in net.minecraft.village with type parameters of type ItemStackModifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>TraderInventory.field_15104Methods in net.minecraft.village that return ItemStackModifier and TypeMethodDescriptionTradeOffer.getFirstStack()TraderInventory.getInvStack(int slot) TradeOffer.getResult()TradeOffer.getSecondStack()TraderInventory.removeInvStack(int slot) TraderInventory.takeInvStack(int slot, int amount) Methods in net.minecraft.village with parameters of type ItemStackModifier and TypeMethodDescriptionTraderOfferList.getValidRecipe(ItemStack firstBuyItem, ItemStack secondBuyItem, int index) booleanTraderInventory.isValidInvStack(int slot, ItemStack stack) private booleanTraderOfferList.method_8454(ItemStack itemStack, ItemStack itemStack2) voidTraderInventory.setInvStack(int slot, ItemStack stack) Constructors in net.minecraft.village with parameters of type ItemStackModifierConstructorDescriptionTradeOffer(ItemStack stack1, Item result) TradeOffer(ItemStack stack1, ItemStack result) TradeOffer(ItemStack stack1, ItemStack stack2, ItemStack result) TradeOffer(ItemStack stack1, ItemStack stack2, ItemStack result, int uses, int maxUses)