Luck All Bonus

Luck All Bonus

Luck benefits all chests now

1 078 downloads 3 followers

MCMOD Modrinth Curseforge

Luck All Bonus

In vanilla, luck only matters in a few places (fishing loot, for example). With this mod, nearly every kind of loot scales with luck.

Chest loot

  • Every loot table whose id starts with chests/ or chest/, or whose parameter set is chest, gets its bonus rolls raised to at least 1 per pool
  • Vanilla counts bonus rolls as "floor(bonus rolls × luck)", so each point of luck adds one more roll and roughly doubles the loot of a chest

Block drops

  • When a player breaks a block, the breaker's luck is written into the loot context
  • Pool weights and bonus rolls that depend on luck therefore change accordingly

Entity drops

  • In the random_chance_with_enchanted_bonus condition, the enchantment level is increased by "luck × entity loot bonus"
  • The count of enchanted_count_increase is rounded probabilistically instead of with Math.round

Equipment drops

  • For each point of luck the killer has, equipment drop chances are raised by the "equipment drop bonus"

Container loot

  • Breaking a chest, barrel, decorated pot or any other container block unpacks its loot table with the breaking player, so luck takes part in generation. Vanilla only does this for shulker boxes
  • Inserting an item into a decorated pot also passes the player along
  • Breaking a chest boat, chest minecart or any other container entity passes the player along too

Scattering loot

  • Loot that does not fit into the container is no longer discarded, but dropped right where the block or entity is
  • The extra loot is split into as many full stacks as needed

No splitting drops

  • Contents of a container drop in full stacks instead of being split into random small piles

Probabilistic rounding

  • Fractional parts are carried with a probability instead of always being floored or rounded, so even a fraction of a point of luck matters
  • Bonus rolls and entity drop counts are controlled by "probabilistic rounding: loot pool" and "probabilistic rounding: entity drops" respectively

Bone meal

  • When "bone meal bonus" is above 0, bone meal is applied "1 + luck × bone meal bonus" times. Defaults to 0, which disables it

Configuration

Everything lives in config/luckallbonus-server.toml and is decided by the server.

  • enable: master switch. Turning it off disables every change this mod makes
  • round: probabilistic rounding for entity drops. Fractional counts are carried with a probability instead of being rounded
  • floor: probabilistic rounding for loot pools. Fractional bonus rolls are carried with a probability instead of being floored
  • equipment: equipment drop bonus. Extra drop chance per point of luck the killer has, defaults to 0.01
  • entity_loot: entity loot bonus. Extra enchantment level per point of luck in the random_chance_with_enchanted_bonus condition, defaults to 1
  • bonemeal: bone meal bonus, defaults to 0 (disabled)
  • scatter: scatter overflow loot, on by default
  • container: unpack container loot with the player, on by default
  • no_split: do not split drops, on by default
Version Minecraft Loader Download

Luck All Bonus 0.4.2

0.4.2

1.21.1, 1.21
neoforge
Download

Luck All Bonus 0.4.2

0.4.2

26.1.2, 26.1.1, 26.1
neoforge
Download

Luck All Bonus 0.4.1

0.4.1

1.21, 1.21.1
neoforge
Download

Luck All Bonus 0.4.1

0.4.1

26.1, 26.1.1, 26.1.2
neoforge
Download

Luck All Bonus 0.4.0

0.4.0

26.1, 26.1.1, 26.1.2
neoforge
Download

Luck All Bonus 0.4.0

0.4.0

1.21, 1.21.1
neoforge
Download

Luck All Bonus 0.3.1

0.3.1

26.1, 26.1.1, 26.1.2
neoforge
Download

Luck All Bonus 0.3.1

0.3.1

1.21, 1.21.1
neoforge
Download

Luck All Bonus 0.3.0

0.3.0

26.1, 26.1.1, 26.1.2
neoforge
Download

Luck All Bonus 0.3.0

0.3.0

1.21, 1.21.1
neoforge
Download

Luck All Bonus 0.0.1

0.0.1

1.21, 1.21.1
fabric
Download