

Random Assistant
This mod provides an intelligent loot tracking system for Minecraft that creates hierarchical diagrams for obtaining random items.
The Red Book
In the survival inventory, next to the recipe book, appears a new red book - this is the tool for monitoring loot tables.
Loot Tracking
The book automatically records all loot tables discovered in the world. The system registers block breaking, entity killing, fishing, chest opening, and other actions. It also tracks crafted recipes and interactions with blocks - log stripping, copper waxing, and other operations. This allows you to trace the entire path to obtain a specific item.
All data is collected through a special implementation of in-game statistics, ensuring information preservation. Important: for full functionality, the mod must be installed on the server, as statistics are stored there.
Red Book Interface
When opening the red book, a special panel appears to the right of the inventory, automatically closing the recipe book. This panel displays a list of all discovered loot tables, for example, ways to obtain diamonds.
Each entry shows the optimal source for obtaining an item with the number of steps to the target. "Optimal source" is the block, entity, or recipe that naturally occurs in the world and requires the minimum number of actions to reach the target item.
Clicking on a loot table entry opens a graphical diagram for obtaining that item above the inventory. In the top right corner is the mod settings button.
Loot Diagram
The diagram displays the target item selected in the red book. In the top left corner is the icon of the current target and a compass to center the diagram on the main item.
The diagram consists of nodes and connecting arrows. Right-clicking a node highlights the path from that node to the target item. Scaling is done with the mouse wheel.
Settings
The settings menu is accessible via the button in the top right corner of the red book.
- Unbroken Stars (default:
on
)
Display star icons on unbroken blocks - Silk-Touch Stars (default:
on
)
Display star icons on broken blocks without silk touch
Requires "Unbroken Stars" to be enabled - Enable Override (default:
off
)
Activates all undiscovered loot tables
This setting is not permanent and can be disabled at any time - Randomize Colors (default:
off
)
Randomizes world and entity colors (cosmetic feature) - Search Depth (default:
6
)
Maximum number of steps to search for a path to the target item
Increasing this value expands the diagram and increases generation time, so values above 15 are not recommended - Highlight Radius (default:
5
)
Highlight radius for unbroken blocks when holding the highlight key (defaultv
)
Values above 10 are not recommended with many unbroken blocks, as highlighting requires significant resources
Dependencies
- Minecraft Fabric 1.20
- Fabric API ≥ 0.83.0+1.20