Prosperity

FAQ

Click any question to expand. If yours isn't here, open an issue on GitHub.

How is Prosperity different from Lootr? +
Prosperity replaces Lootr's instanced-loot functionality with a zero-trust approach: it never registers custom blocks or replaces block entities. Instead it attaches per-player loot to vanilla containers via persistent Fabric data attachments and intercepts interactions through events. On top of instancing, it adds distance-scaled loot quality, unlooted indicators, structure overrides, and a loot modifier API. Remove Lootr before installing — the two should not run together.
Will Prosperity hurt my server's performance? +
It shouldn't. Loot is generated once per player on first open, then stored. The unlooted-indicator system uses lightweight per-chunk requests and an O(1) injection lookup keyed by loot table. If you observe a regression, please file an issue with a Spark profile.
Does it work in singleplayer? On a dedicated server? +
Both. Install Prosperity on the server and every client. The server owns the loot logic and config; the client renders the unlooted indicators and the loot-tier feedback.
Why do hoppers see an empty chest? +
Instanced loot lives in a per-player component, not the vanilla inventory, so hoppers and comparators read an empty container. This is intended — it prevents exploits that would let a hopper extract or duplicate instanced loot, and it's why the container's vanilla loot table is nullified after first generation.
How is distance measured for tiers? +
By Euclidean distance from world origin (0, 0 in the XZ plane, Y ignored), not from world spawn. Origin is used because spawn can be moved by commands or datapacks, and distance scaling should represent absolute geography. The End is always treated as Depths tier.
Can I disable distance scaling or instancing for some containers? +
Yes. The container blacklist exempts specific container types or positions from all Prosperity behavior — they fall back to vanilla loot. Structure overrides let you fix, raise, or cap the tier a given structure uses. See the config reference.
Can other mods change the loot Prosperity generates? +
Yes. Prosperity exposes a Fabric-style LootModifierCallback event and a datapack loot-injection system. See the API page.
How do I get a Prospector's Compass? +
Two ways. It turns up rarely in injected chest loot at the Frontier tier and beyond — the lucky early find. Or you can craft one deliberately: a vanilla compass ringed by gold ingots with an end rod below it and a netherite ingot above. The recipe is intentionally late-game, since the compass reveals the bearing and distance to your nearest unlooted container. Because it's a normal crafting recipe, it shows up in EMI, REI, and JEI once those viewers are installed.
Which Minecraft and Fabric versions are supported? +
Minecraft 1.21.1 on the Fabric loader (0.16.10+), with Fabric API and Java 21. There's no Forge/NeoForge build. Watch the releases page for version bumps.