- 3,462 views • 16 today
- 410 downloads • 0 today
- 10
- 8
- 9
Required Resource Pack
25
Are you constantly searching around your inventory for extra planks and other materials after finishing the stack in your hands? This data pack automatically replenishes the item in your main hand slot with the same item from your inventory when you run out. If you have a linked chest, any items within that chest will also refill into your inventory the same way!
Linked Chest:
You can craft a Chest Link Item using an iron ingot and echo shard in a torch configuration whereby right-clicking any chest with it in hand will couple the chest to your inventory. The Chest link is a one-time use item and will be consumed on a successful link. The link will work at any distance, provided the chest is loaded. Every 10 seconds any chest linked with the player will emit green particles indicating that it is linked. You must destroy the chest for it to unlink.
Works for stackable and non-stackable items, food, blocks, weapons and all!
Settings:
Type /trigger output_stats set 1
to display the total number of items remaining when it refills.
/trigger output_stats set 0
to disable outputs.
Version: 1.21
Disclaimer: There is an unforeseen bug in an earlier version of the data pack. If you have this version, don't shift-click items from the hotbar to the player's inventory; the item could disappear. Download the updated version instead.
Glitch warning: If you spam throw the current item, once it is refilled, it may appear that you are holding air, but the item will reappear when you click on it. If you hold "q," the rate at which you throw items may be too fast for the tick function to register it, thus it won't refill.
Linked Chest:
You can craft a Chest Link Item using an iron ingot and echo shard in a torch configuration whereby right-clicking any chest with it in hand will couple the chest to your inventory. The Chest link is a one-time use item and will be consumed on a successful link. The link will work at any distance, provided the chest is loaded. Every 10 seconds any chest linked with the player will emit green particles indicating that it is linked. You must destroy the chest for it to unlink.
Works for stackable and non-stackable items, food, blocks, weapons and all!
Settings:
Type /trigger output_stats set 1
to display the total number of items remaining when it refills.
/trigger output_stats set 0
to disable outputs.
Version: 1.21
Disclaimer: There is an unforeseen bug in an earlier version of the data pack. If you have this version, don't shift-click items from the hotbar to the player's inventory; the item could disappear. Download the updated version instead.
Glitch warning: If you spam throw the current item, once it is refilled, it may appear that you are holding air, but the item will reappear when you click on it. If you hold "q," the rate at which you throw items may be too fast for the tick function to register it, thus it won't refill.
| Compatibility | Minecraft 1.21 |
| Tags |
2 Update Logs
Update #2 : by JKuantamechanic 01/01/2025 8:16:01 pmJanuary 2, 2025 @ 1:16 am UTC
Fixed bug related to shift-click items from the selected slot in the hotbar into the player's inventory.
Future developer reference: shift-clicking items in the inventory instigates two different changes in the inventory resulting in two distinct executions of the call-back function, of which the order of call-back function execution and inventory changes (deletion of original stack and appearance /change of new stack where the item has been shift-clicked to) depend on whether the player is in creative or survival mode. In survival mode, inventory changes finish before either of the two call-back functions executes; in creative mode, the first call of the call-back function happens when the item has duplicated (appearing where the item would end up during shift-click), the second call occurs when the original item is deleted.
Future developer reference: shift-clicking items in the inventory instigates two different changes in the inventory resulting in two distinct executions of the call-back function, of which the order of call-back function execution and inventory changes (deletion of original stack and appearance /change of new stack where the item has been shift-clicked to) depend on whether the player is in creative or survival mode. In survival mode, inventory changes finish before either of the two call-back functions executes; in creative mode, the first call of the call-back function happens when the item has duplicated (appearing where the item would end up during shift-click), the second call occurs when the original item is deleted.
LOAD MORE LOGS
6496110
119


Have something to say?