I decided to make this mod for beam, since whenever people used the regular spawn random item feature in modded, every now and then they would crash because of a bugged item. So I decided to create a mod that would allow you to put what items you would like to allow it to use in the config file.
Commands:
/ri, /randitem (both are the same command, just different alliases) (Spawns a random item from your list in the config)
Usual config name: ritems
This mod supports and needs forge, and will work with other mods.
If you are a developer of blipbot, feel free to take my code, just don't forget to credit me. (Contact me for the source)
What I plan to add:
A config option to enable blacklisting instead of whitelisting
- Metadata support
- A block that executes the command upon being broken.
(Only 1.5 has the blacklist)
Features:
- Works on server!
- Whitelist for items
- Blacklist for items
- Blacklist for mods
- Option for choosing white or black list
Config:
blackitemlist - Blacklist
itemlist - Whitelist
Blacklisted_Mods - blacklisted mods.