LootSpan (Distance-based Loot)

Quick rating

Community listing page, reviews here may not be monitored by the author.

LootSpan (Distance-based Loot)

No reviews yet

Get bonus loot in chests that are farther away from spawn [0,0]. Fully customizable!

No Theme
Adventure/Exploration
Ores & Resources
Gated Progression & Stages
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
lootspan-1.0.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

🗺️ LootSpan: Distance-dependant loot added to chests 🗺️

LootSpan is a highly customizable Forge mod that rewards players who go farther out in the world with more/better loot. The further you travel from the world's origin [XZ: 0,0], the better the treasures you'll uncover.

🔧 Fully Customizable: It's highly recommended to tailor your loot experience to work well with other mods you've added. It's very easy with the config! With LootSpan, you have complete control over:

  • Loot Tables: Decide precisely which items appear in chests, including items from your favorite mods.
  • Bonus Loot Amount: Adjust how much extra loot is generated.
  • Distance Milestones: Set the distances required to trigger extra loot tiers, as well as the generation limits.

Lootr Compatible: Enjoy a seamless experience with the popular Lootr mod for instanced loot.

💀 Progressive Gameplay: LootSpan pairs well with your favorite progressive difficulty mods such as Scaling Health or Ascendant MobsTurn Minecraft into a game that changes the more you explore!

How Do I Customize Loot?

    🔰 Take a look at the spoiler below to find out how the mod's config works!

Config File Explaination

1.

   #How far from (0,0) in the [X,Z] plane must a chest be to get extra loot?
   #Range: 0.0 ~ 1.7976931348623157E308
   distanceFromSpawn = 5000.0

 This is just the distance you must be to start getting better loot. Pretty self explanitory.

2.

   #Extended format: namespace:itemid:count:weight[:damage][:enchantment1=level1,enchantment2=level2,...]
	extraLoot = [
"minecraft:diamond:1:1",
"minecraft:emerald:2:5",
"minecraft:golden_carrot:2:14",
"minecraft:gold_nugget:4:10", "minecraft:leather:2:15",
"minecraft:ender_pearl:1:5",
"minecraft:slime_ball:3:5",
"minecraft:string:3:20",
"minecraft:air:1:45", "minecraft:iron_sword:1:2:70:sharpness=1,unbreaking=2",
"minecraft:iron_axe:1:2:50:unbreaking=1,efficiency=1", "minecraft:iron_shovel:1:2:100:unbreaking=3,efficiency=2",
"minecraft:golden_pickaxe:1:1:8:silk_touch=1,unbreaking=1"
]

 This is where you can adjust the loot that is generated. Every entry must have: 

'namespace:itemid'. for vanilla items this is 'minecraft', but for modded items it's 'modID'. just press F3+H ingame to view the modID and itemID of any item.

'count'. this is the amount of the item. right now it must be a single number, in future updates I may add a min/max item count.

'weight'. this is the likeliness that an item will be chosen for a given loot roll. for example, by default: 
a diamond will be generated 1 time out of 127 (127 being the total weight of all items) or 0.78% chance per roll.

What is: "minecraft:air:1:45" - this is just empty space. Basically, it's the chance to roll nothing for a loot roll, which is 45/127 or 35%.

For advanced item entries, you can add optional item damage functions (like an axe with low durability) or enchantments.

'damage'. the amount of remaining durability an item has.

'enchantment=number,enchantment2=number'. the enchantment and the associated level. right now, it works for equipment

3.

#Base number of times the custom loot pool is rolled per chest (default=1).
   #Range: > 0
   poolRollCount = 1

 This is the number of times an entry will be selected from the 'extraLoot' pool. For example, if you set this to 3, you could get:

1 ender pearl

6 slime balls (3 slime balls x 2)

4.

#Every this many blocks beyond distanceFromSpawn grants +1 extra roll.
   #Range: > 1
   blockIncrement = 2500

 If you would like extra loot to be more plentiful as you go even farther, you can adjust this. By this logic (by default):

At [7500] away from [0,0], you will get 2 rolls of the loot pool.

At [9999] away from [0,0], you will get 2 rolls of the loot pool.

At [11000] away from [0,0], you will get 3 rolls of the loot pool.

To disable this, you can set it to a very high number that won't be reached, OR adjust the next config.

5.

#Maximum number of extra rolls that can be granted (default=4).
   #Range: > 0
   maxExtraRolls = 4

 This is the maximum amount of rolls that can be generated by the `blockIncrement` setting. So by default:

At [15000] away from [0,0], you will get 5 rolls of the loot pool.

At [20000] away from [0,0], you will get 5 rolls of the loot pool still, because the limit (4 maximum bonus rolls) has been reached.

divider

FAQs

-I plan to update the mod to the current versions eventually. I won't be downporting the mod.

-Let me know any recommendations you have or bugs in the comments. This is my first published mod so I would appreciate it.

-Feel free to use this mod in your modpack.

Screenshots

Gallery

  • loot
    loot A sample of 20 loot injections at [20000] from spawn.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works