PaperMC/paper-server/patches/sources/net/minecraft/world/level
Aikar d50334d6e8 Configurable LootPool luck formula
Rewrites the Vanilla luck application formula so that luck can be
applied to items that do not have any quality defined.

See: https://luckformula.emc.gs for data and details
-----------

The rough summary is:
My goal was that in a pool, when luck was applied, the pool
rebalances so the percentages for bigger items is
lowered and smaller items is boosted.

Do this by boosting and then reducing the weight value,
so that larger numbers are penalized more than smaller numbers.
resulting in a larger reduction of entries for more common
items than the reduction on small weights,
giving smaller weights more of a chance

-----------

This work kind of obsoletes quality, but quality would be useful
for 2 items with same weight that you want luck to impact
in varying directions.

Fishing still falls into that as the weights are closer, so luck
will invalidate junk more.

This change will result in some major changes to fishing formulas.

-----------

I would love to see this change in Vanilla, so Mojang please pull :)
2018-06-15 00:30:32 -04:00
..
block Fix exploit that allowed colored signs to be created 2018-04-26 04:41:11 -04:00
border Bound Treasure Maps to World Border 2016-12-20 15:15:11 -05:00
chunk Bound Treasure Maps to World Border 2016-12-20 15:15:11 -05:00
dimension/end Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
entity MC Utils 2016-03-28 20:55:47 -04:00
gameevent Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
levelgen CB fixes 2022-02-25 07:14:48 -08:00
material Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
pathfinder Do not load chunks for Pathfinding 2016-03-31 19:17:58 -04:00
portal Add configurable portal search radius 2016-03-03 02:46:17 -06:00
redstone Prevent NoClassDefError crash and notify on crash 2014-04-21 12:43:08 +01:00
saveddata/maps Adventure 2021-01-29 17:54:03 +01:00
storage Configurable LootPool luck formula 2018-06-15 00:30:32 -04:00
BaseCommandBlock.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
BaseSpawner.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
BlockGetter.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ChunkPos.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ClipContext.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
EmptyBlockGetter.java.patch MC Utils 2016-03-28 20:55:47 -04:00
EntityGetter.java.patch Player affects spawning API 2016-03-01 14:47:52 -06:00
GameRules.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Level.java.patch use CB BlockState implementations for captured blocks 2017-11-16 12:12:41 +00:00
LevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LevelReader.java.patch MC Utils 2016-03-28 20:55:47 -04:00
LevelWriter.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
NaturalSpawner.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
PathNavigationRegion.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ServerExplosion.java.patch Disable explosion knockback 2016-03-02 14:48:03 -06:00
ServerLevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00