I know it is possible, but I have no idea whether it is an add-on or just some undocumented vanilla method (the turtle api can't be used for that, apparently).
Minecraft – How to you insert/extract items in/from a specific inventory slot
minecraft-computercraftminecraft-java-edition
Related Topic
- Minecraft – How to make a turtle run a program over the Modem API in computercraft
- Minecraft – How to swap two inventory slots dynamically
- Minecraft – Deny items to be removed from inventory slots.
- Minecraft Java Edition – How to Edit NBT Tags of Inventory Items
- Minecraft – Did Minecraft or one of the tweaks mods take away shift-click to move inventory items in bulk
- Minecraft Java Edition – How to Modify an Item Inside the Player’s Inventory
- Minecraft – How to remove specific NBT items from player inventory without data packs
Best Answer
This is not possible directly, but if you know that all slots will always be full, or which item you are looking for, you can keep using
suck()
until you hit the right slot (in the former case), or you find the right item (in the latter).