RandomLib Mod lets other mods create config files for weighted random drops. This standalone library comes from the One Block Plus mod and handles customizable random pools. It saves extra info for each pool and sets up server commands to manage config files. The mod also generates items from random pools at chosen spots in the world, inside containers, or in place of broken blocks.

Features:

  • Lets other mods create config files for weighted random drops during setup and saves them in folders named after a registry key (for example, oneblock:phases puts files in configs/oneblock/phases/).
  • Saves and reads extra details for each random pool alongside its weighted items.
  • Stores loaded config files in a map by file name and lets mods sort them into an easier layout after loading.
  • Adds server commands on server start to manage config files, with optional command completion for extra pool details.
  • Generates an item from a random pool at a chosen block position in a specific world.
  • Breaks a block at a chosen world position and generates an item from a random pool in its place.
  • Generates an item from a random pool for container objects (such as a tile entity) at a chosen world position, with support for a held item if present.

Commands:

  • /<RandomLib command name for this mod> help: shows the help menu for a mod’s registered command.

RandomLib Mod Download Links

For Minecraft 1.16.5

Forge version: Download from Server 1 – Download from Server 2

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

Which performance or optimization mod do you rely on the most?

44 responses · See the full results →