Skip to content

Releases: mel1x/RandomItem

Random Items Command 1.1

Choose a tag to compare

@mel1x mel1x released this 09 Oct 09:19

1.1

  • Add separate NeoForge builds for Minecraft 26.1, 26.1.1, 26.1.2, 26.2 and 26.3 with the same command behavior.

  • Add separate Forge builds for Minecraft 1.21.1, 1.21.3–1.21.11, 26.1, 26.1.1, 26.1.2, 26.2 and 26.3.

  • Update command registration and operator permission checks for newer Minecraft and Forge APIs.

  • Preserve /getRandomItem [count] [maxStack], including vanilla, hidden and modded items.

  • Exclude air from random selection.

  • Drop remaining items at the player when their inventory is full.

  • Respect each item's maximum stack size.

Forge does not provide a build for Minecraft 1.21.2. Each JAR supports only its named Minecraft version.

NeoForge builds use source commit 85d7c1c, validated by GitHub Actions. The original 1.1 tag retains the Forge release source.

Version 1.0.0

Choose a tag to compare

@mel1x mel1x released this 21 Nov 07:32
bfc5319

Version 1.0.0 Added:

This modification adds one simple command:

/getRandomItem <itemAmount> <maxStackSize>

This command gives you random items in quantities and with a random number in one stack from 1 to

Features:

  • This mod includes hidden items from minecraft
  • This mod includes all items from the installed mods
  • This mod command can be used without parameters