Random Items Command
by Mel1x
Random Items Command gives server operators a /getRandomItem command that hands a player a random item from the installed mods.
What it does
Once installed on a server, the command can be run with no parameters, and it returns one random item drawn from the items that the installed mods register. Operators can also pass a quantity, so the command gives a set of random items instead of one. A single result can be as large as one full stack, which lets the command drop a mix of different items in one call.
The command is useful on servers that run many mods and want players to find content they might not otherwise discover, or for testing items across a modpack. Because it is a command, it is typed in chat or a command block and needs no client-side part. The mod is published for Forge and NeoForge, with files for 26.3 released 2026-10-09, and its game versions span 1.20.1 – 26.3.
Key features
Random item command
The getRandomItem command returns a random item from the registered items of the installed mods.
Command without parameters
Run with no arguments, the command gives one random item, which is the simplest way to use it.
Random quantities
With a quantity argument, the command gives several random items, and any single stack can hold up to one full stack.
Hidden items
The command can surface items that players have not yet found, including those added by other installed mods.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x10 of 10 versions with builds
1.20.x6 of 6 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Random Entity Names is a client-side only mod for Fabric, Forge and NeoForge, covering 1.20.1 – 26.2, and it is not open source. Craftable Command Block is server-side only, runs on Forge for 1.20.1, and is also not open source. Pick Command is the only open source option here: it is server-side only, published for NeoForge 1.20.6 under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Random Items Command | Forge and NeoForge | 1.20.1 – 26.3 | Server-side only | 2026-10-09 |
| Random Entity Names | Fabric, Forge and NeoForge | 1.20.1 – 26.2 | Client-side only | 2026-07-31 |
| Craftable Command Block | Forge | 1.20.1 | Server-side only | 2024-09-18 |
| Pick Command | NeoForge | 1.20.6 | Server-side only | 2024-05-27 |
Questions
Does Random Items Command have to be installed on the client?
Which loaders does Random Items Command support?
Can the command give more than one item at a time?
In the catalog
Random Items Command is one of 29,952 Game mechanics mods on ModsFinder, and one of 13,316 Game mechanics mods for Forge. 8,071 mods support Minecraft 26.3.
More from Mel1x
Similar mods
What the author says
This command gives you random items in quantities and with a random number in one stack from 1 to
Official listing
- Modrinth page
- modrinth.com/mod/random-items-cmd
- Owner
- Mel1x
- Published
- 2024-11-21
- Updated on Modrinth
- 2026-10-09
- Facts verified
- 2026-10-15
