Skip to content

TheMarstonConnell/randomloot

Repository files navigation

Random Loot

CF downloads Modrinth Downloads CF Version Gradle Build

Introducing Looting like you've never seen it before! Have you ever felt that Minecraft didn't have enough tools and weapons to make you happy? Are you dissatisfied with the low amount of character each tool has? Ever wanted your tools to get better as you use them? Yes?!? Well then this is the mod for you!

Random Loot 2 was rewritten from the ground up to support Minecraft 1.20.x with the goals of creating an easier to maintain code-base with an expandable modifier system.

Items

This mod adds two items, the Loot Case and the Random Tool. You'll never see the Random Tool called the Random Tool since every tool is randomly generated and uniquely named.

Loot Case

You can find cases in any chest that generated in a structure of some kind (ex: dungeons, mineshafts, buried treasure). There is a 25% chance that opening a chest yields a case. Right-clicking with this case generates a new tool and removes the case from your inventory.

case in inventory

Random Tool

Random Tools look like a variety of tool types and can be one of: pickaxes, shovels, axes, swords. These tools all generate with random traits. For every tool you generate by opening a case, the tool you generate will come with better stats and more traits.

tools in inventory

tools with information

Holding Shift while hovering over tools will give you an expanded view on details about the tool and current status of traits. tools with shift information

Holding Control (command on a mac) while hovering over tools will give you a description of every trait currently applied to the tool. tools with control information

Tool Modifiers

For a complete list of modifiers check out the modifier list.

Trait Addition/Subtraction Template

Trait Addition/Subtraction Templates are items that allow you to add and remove traits from your tools. To do this, place either an addition template or subtraction template inside a Smithing Table, to add or remove a trait. Then place in your tool and the corresponding item listed in the Modifiers list. Then You can preview what will happen to your tool.

You can find Trait Addition Templates in dungeon chests similarly to loot cases. To get Subtraction Templates, right click with an addition template in your hand. They can be swapped back and forth as many times as you'd like but once you use them they're gone.

Automation

You can place cases in dispensers to be opened automatically. Be aware that cases opened by dispensers will not keep the global progress they would follow if opened by a player, essentially they will always be the worst version of a tool.

Another Rewrite?

The jump from 1.12 to 1.16 was one of the biggest changes to Forge & the Minecraft codebase making a complete rewrite of the mod very welcome. However, the 1.16 to 1.20 is again, a massive change and I'm overall dissatisfied with the 1.16 version of the mods codebase and sloppy planning. As such, 1.20 is a complete rewrite of Random Loot to make the mod feel more cohesive and less janky.

Changelog

Check the changelog here

Credits

Thank you to Sprucefence, Xiruen, and Zorbyn for donating tool textures.