promotional bannermobile promotional banner

Container Lootpool Generator

generate lootpools with container & scriptevents
The Command Format
mcfunction
/scriptevent my:clone_and_move <x1 y1 z1> <x2 y2 z2> <destX destY destZ> <min-max>
Use code with caution.
<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." data-sfc-cp="" data-wiz-attrbind="disabled=r0jZlf_u/ggNWmb" data-sfc-root="c" data-sfc-cb="KjsqPd=&amp;r0jZlf_t:UEmoBd" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(173, 175, 184);"></button>
 
<button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." data-sfc-cp="" data-wiz-attrbind="disabled=r0jZlf_u/ggNWmb" data-sfc-root="c" data-sfc-cb="KjsqPd=&amp;r0jZlf_t:UEmoBd" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(173, 175, 184);"></button>
Breakdown of Arguments:
  1. <x1 y1 z1> to <x2 y2 z2>: The coordinates defining the box (area) where your source chests/containers are located.
  2. <destX destY destZ>: The coordinates of the specific chest you want the items to move into.
  3. <min-max>: The total number of items to move (e.g., 1-10 or 64-64).

Step-by-Step Example
If you have a wall of chests from 0 64 0 to 2 66 0 and you want to move between 5 and 20 random items into a hopper at 10 64 10, you would type:
mcfunction
/scriptevent my:clone_and_move 0 64 0 2 66 0 10 64 10 5-20
Use code with caution.
<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." data-sfc-cp="" data-wiz-attrbind="disabled=r0jZlf_27/ggNWmb" data-sfc-root="c" data-sfc-cb="KjsqPd=&amp;r0jZlf_26:UEmoBd" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(173, 175, 184);"></button>
 
<button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." data-sfc-cp="" data-wiz-attrbind="disabled=r0jZlf_27/ggNWmb" data-sfc-root="c" data-sfc-cb="KjsqPd=&amp;r0jZlf_26:UEmoBd" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(173, 175, 184);"></button>
Key Features to Know:
  • Coordinate Shortcuts: You can use ~ (e.g., ~ ~1 ~) to reference coordinates relative to yourself or the command block running the script.
  • Randomization: The script picks items from the source area and places them into random empty slots in the destination container.
  • Scoreboard Tracking: Every time the script checks a source container, it updates a scoreboard objective called item_count.
    • It lists items using the format: c_x_y_z: item_name.
    • You can see this by typing /scoreboard objectives setdisplay sidebar item_count.
  • Safety: It only moves items into empty slots in the destination. If the destination is full, it will stop moving items.
Requirements:
  • Beta APIs: Ensure the "Beta APIs" experimental toggle is turned ON in your world settings.
  • Permissions: You must have operator permissions to run /scriptevent.
 

The Container Lootpool Generator Team

profile avatar
  • 9
    Projects
  • 74
    Downloads

More from cript0pandaView all

  • Floating Text project image

    Floating Text

    • 10
    • Scripts

    Floating Text That Just Doesnt Die unless Use /remove[edu edition] or (nametager has a remove feature one of my other packs)

    • 10
    • May 5, 2026
    • Scripts
    • +1
  • Scoreboard Display Tool project image

    Scoreboard Display Tool

    • 4
    • Scripts

    /scriptevent my:db <source> <target> <range> puts people or fakeplayers on diffent scoreboards based on score

    • 4
    • May 5, 2026
    • Scripts
    • +1
  • Replaceitem X2 project image

    Replaceitem X2

    • 22
    • Scripts

    A more Powerful /replaceitem

    • 22
    • May 5, 2026
    • Scripts
    • +1
  • Counter project image

    Counter

    • 7
    • Scripts

    Counts Container/or inventory Contents

    • 7
    • May 5, 2026
    • Scripts
    • +1
  • Floating Text project image

    Floating Text

    • 10
    • Scripts

    Floating Text That Just Doesnt Die unless Use /remove[edu edition] or (nametager has a remove feature one of my other packs)

    • 10
    • May 5, 2026
    • Scripts
    • +1
  • Scoreboard Display Tool project image

    Scoreboard Display Tool

    • 4
    • Scripts

    /scriptevent my:db <source> <target> <range> puts people or fakeplayers on diffent scoreboards based on score

    • 4
    • May 5, 2026
    • Scripts
    • +1
  • Replaceitem X2 project image

    Replaceitem X2

    • 22
    • Scripts

    A more Powerful /replaceitem

    • 22
    • May 5, 2026
    • Scripts
    • +1
  • Counter project image

    Counter

    • 7
    • Scripts

    Counts Container/or inventory Contents

    • 7
    • May 5, 2026
    • Scripts
    • +1