AddRandomItem
Description
An event that gives the player a random item of a random rarity from a specific color category.
To set up the event place random item spawn bricks(located in Special > Interactive). The color of the brick is the category it will be in. Spawn an item on it. Click the brick and scroll through your brick menu(default 0 - 1) to select how rare the item will be. Click plant brick to confirm or cancel brick to cancel.
Now when you use the event, select the color that you chose for one or more of the random item spawn bricks.
You can also change the name of a color category by doing /setRandItemColorName NAME.