L-BulkOpen

Quick rating

Community listing page, reviews here may not be monitored by the author.

L-BulkOpen

No reviews yet

Press one key while holding a loot bag, reward crate, or any other right-click item, and it works through every matching stack in your inventory for you, also paced it out so the server doesn't lag or won't brick your world.

Mod Loaders
Minecraft

About

Description

Opening loot bags one at a time is fine when you have five of them. However, it starts getting annoying somewhere around the two hundred mark, and by then you're just holding right click and watching your inventory fill up.

This mod does it for you. Hold the item, press the key, and it works through every matching stack you're carrying in quick succession.

How it works

- Default key is L. It's a normal keybind, so if L is already taken you can change it under Options > Controls like anything else.

  • Hold a right-click item, press the key, and it starts. It goes through your hotbar, your main inventory and you offhand, one at a time, and tells you how far along it is as it goes. /bulkuse cancel it if you change your mind or if there's a bug.
  • The work is spread across ticks and limited by how long it's allowaed to spend per tick, not by a fixed item count. Two hundred bags and twenty thousand cost the same per tick, the higher quantity just takes longer to finish.
  • It works with modded items. There's no item list in this mod and no per-mod compatibility patches. It fires the same interaction the game fires when you click something yourself, so whatever the item normally does when opened is exactly what happens.
  • That covers items that override use() and items that do their work from Forge's right-click even instead, which is the split that usually breaks this kind of thing. Items that pull themselves out of your inventory rather than out of you hand are aslo handled. If you can right-click it and something happes, it should work here.

What it won't do

  • Some things gets refused on purpose, with a reason in the in-game chat so you're not left wondering. Potions, bows, buckets, spawn eggs, ender pearls, food, tools and armor, and anything else that need aiming, a target block, or a held input. None of those are a self-contained click and bulk using them would go badly in ways that are hard to undo and might brick your world.
  • Items that open a screen without consuming themselves can't work either. It'll stop after a few attempts rather than sit there looping.

About the name

  • It used to work by shift-right-clicking an empty lectern, which is where the name comes from. That turned out to be a crowded click. Some mods open their own GUI on shift-right-click, and if the item in your hand wanted to do something too they'd fight over it and nothing would happen.
  • The keybind replaced it. The lectern trigger is still in there and still works, it's just off by default now. Set enableLecternTrigger = true if you liked it and nothing in your pack gets in the way. It's also the only way to trigger the mod without a client install if you're on a server, if that matters to you.