Paper/paper-server/patches/sources
MrPowerGamerBR 5f134afc4b Lazily create LootContext for criterions
For each player on each tick, enter block triggers are invoked, and these create loot contexts that are promptly thrown away since the trigger doesn't pass the predicate

To avoid this, we now lazily create the LootContext if the criterion passes the predicate AND if any of the listener triggers require a loot context instance
2023-11-21 12:16:39 -03:00
..
com/mojang Avoid Lazy Initialization for Enum Fields 2023-05-14 00:47:28 -04:00
net/minecraft Lazily create LootContext for criterions 2023-11-21 12:16:39 -03:00