Data Packs Item

Random Items Datapack by Aircraft192 [1.21.6]

  • 9.2k views • 0 today
  • save_alt 1.6k downloads
Compatibility
Minecraft 1.21
Changes include
    Added Creditfafik77
    • 9
    • 6
    • 9
    Aircraft192
    Lvl 42 • Master Sus Fish
    7

    Credit

    HUGE thanks to fafik77 (https://www.planetminecraft.com/member/fafik77/), who made the RNG.

    Summary

    This data pack will give you random items at certain time intervals.

    Settings

    The interval can be set using this command:
    /scoreboard players set time randomitems <time>

    How to install

    Just put the zip-File into the Datapacks-Folder of your world.
    DO NOT UNZIP IT, OTHERWISE IT WON'T WORK!

    5 Update Logs

    1.21.6 : by Aircraft192 06/13/2025 9:36:50 amJune 13, 2025 @ 1:36 pm UTC

    Updated for 1.21.6
    LOAD MORE LOGS

    More like this

      Have something to say?

    User6039078G
    • 10/15/2025 6:06 pm
    • Level 1 : New Miner
    What is the name of the datapack for me when activating it?
    1
    Bzplays13
    • 03/23/2025 4:17 pm
    • Level 1 : New Miner
    How do i enable it?
    1
    Aircraft192
    • 05/12/2025 2:14 pm
    He/Him • Level 42 : Master Sus Fish
    history
    It does enable out of the box. Are you using this datapack on the correct Minecraft version (1.21.4)?
    If you installed it on a server, you have to execute /reload.
    If you have some other server-side software, mods or datapacks, you might have to run /datapack enable <datapack name>. This should not be the case in vanilla Minecraft.

    I tested it in a new world in 1.21.4 and it worked.
    1
    BoosXmsa
    • 02/23/2025 9:39 pm
    • Level 1 : New Miner
    history
    How do I make it so that each player gets a different item every time because it seems to be giving each player the same item each time
    1
    Aircraft192
    • 05/12/2025 2:20 pm
    He/Him • Level 42 : Master Sus Fish
    history
    Unfortunately, that is not possible with this datapack.
    I'd have to completely rewrite everything to make it work, but I'm not sure I could do that either.

    Essentially, the problem is that the randomizer only runs once. In case of multiple different players, you would have to run the randomizer for every player, select an item and also distribute them equally. This is the part I'm unsure about, maybe I will implement this in the future though.

    Thank you for your suggestion!
    1
    pavlo_olavlo
    • 12/28/2024 8:02 am
    • Level 1 : New Miner
    will this work with mods?
    1
    Aircraft192
    • 01/02/2025 9:43 am
    He/Him • Level 42 : Master Sus Fish
    It does work with mods installed but will only give you random items from Minecraft.
    1
    User5005584G
    • 02/04/2024 9:31 pm
    • Level 1 : New Miner
    it wont give me items in 1.20.1(fabric)
    2
    Aircraft192
    • 03/19/2024 3:15 pm
    He/Him • Level 42 : Master Sus Fish
    Sorry, I messed something up, but it should be working again (Tested in Fabric 1.20.4)
    1

    Welcome