• check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 24,128 views, 14 today
  • 6,289 downloads, 1 today
  • 39
  • 56
  • 19
dthigpen's Avatar dthigpen
Level 48 : Master Miner
18
Description

A simple datapack that will refill depleted hotbar slots with items of the same type in your inventory. For example, when you place your last cobblestone from your selected hotbar slot, the slot will be refilled by the stack in your inventory if available. This works with tools, or any other item.

Installation
  1. Visit the Releases page and download the desired datapack zip file.
  2. Copy the downloaded zip file into your world's datapacks folder at %APPDATA%\.minecraft\saves\<world>\datapacks
  3. Launch the world and type /reload
  4. Check that the datapack is installed under the "Installed Datapacks" Advancement tab with Ctrl + L

    Usage
    Enable and disable the refill with the command
    /trigger dt.refill.toggleUse blocks as normal and have stacks from the inventory replace them. Note: the slot will be reset when no items can be pulled from the inventory

    Changes for v1.2.0
    Mostly rewritten to use another util datapack I made called call-stack, which should make it easier to maintain and add features.
    CompatibilityMinecraft 1.18
    Tags

    4 Update Logs

    Update #4 : by dthigpen 03/05/2022 8:05:09 pmMar 5th, 2022

    Fix extraneous tags being added to refiled items
    LOAD MORE LOGS

    Create an account or sign in to comment.

    1
    09/01/2022 4:10 pm
    Level 19 : Journeyman Engineer
    Timongcraft
    Timongcraft's Avatar
    Can you pls make a 1.19Version with the new items?
    1
    04/12/2022 9:09 pm
    Level 1 : New Miner
    User4110662F
    User4110662F's Avatar
    Refill keeps deleting items from my inventory. making them disappear permanently
    1
    03/19/2022 11:25 pm
    Level 4 : Apprentice Miner
    poletooke
    poletooke's Avatar
    Is this compatible with 1.18.2? It's saying it was made for an older version
    1
    03/20/2022 12:27 am
    Level 4 : Apprentice Miner
    poletooke
    poletooke's Avatar
    Not working for 1.18.2 for me. Please update, I need this functionality in my life lol
    1
    03/20/2022 1:13 am
    Level 4 : Apprentice Miner
    poletooke
    poletooke's Avatar
    Update: For some reason it just is off by default. I copy-pasted the toggle thing in the description and it now is working on my 1.18.2
    1
    01/12/2022 3:16 pm
    Level 25 : Expert Theorist
    Skwerps
    Skwerps's Avatar
    interesting
    1
    10/06/2021 3:54 pm
    Level 32 : Artisan Wolf
    MrPinkWolf
    MrPinkWolf's Avatar
    Is there a way to disable that is says "Refilled from slot X"? Were using this on a multiplayer server and it says so for everybody in the server even if its just one player that actualy refills a block.
    1
    01/12/2022 10:07 am
    Level 48 : Master Miner
    dthigpen
    dthigpen's Avatar
    This has been fixed.
    1
    01/06/2021 8:39 pm
    Level 1 : New Miner
    gamerfreshtv
    gamerfreshtv's Avatar
    Why I can't download??
    2
    11/13/2020 12:05 pm
    Level 21 : Expert Crafter
    Nillarie
    Nillarie's Avatar
    Hello! This datapack works quite well for me, however it sometimes won't let me remove blocks from my hotbar by shift-clicking or even dragging them. I was wondering if it's possible to make this datapack only replace food, torches and tools? That would avoid that issue for the most part.

    For example: If I have a wooden axe in my toolbar and I craft another wooden axe it ends up also on my toolbar. I cannot move that second wooden axe as it immediately gets replaced by the first one.

    I can't shift-click blocks from the toolbar into the full inventory after pressing E, they simply reappear in the slot I wanted them to move out of to "replace" them.

    I'm bad at explaining but I think this is an excellent datapack already, even with these minor issues!
    Planet Minecraft

    Website

    © 2010 - 2024
    www.planetminecraft.com

    Welcome