PaperMC/paper-server/patches/sources/net/minecraft
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
..
advancements Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
commands Add UnknownCommandEvent 2017-06-17 18:48:21 -04:00
core Paper Plugins 2022-07-06 23:00:31 -04:00
nbt MC Dev fixes 2016-03-30 19:36:20 -04:00
network Disable Explicit Network Manager Flushing 2018-03-11 14:13:33 -04:00
resources MC Dev fixes 2016-03-30 19:36:20 -04:00
server Call PaperServerListPingEvent for legacy pings 2017-10-11 19:30:51 +02:00
stats Allow statistics to be disabled/forced 2014-01-07 15:56:26 +00:00
util PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
world Configurable LootPool luck formula 2018-06-15 00:30:32 -04:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Do not submit profile lookups to worldgen threads 2021-08-08 16:26:46 -07:00