Commit Graph

13 Commits

Author SHA1 Message Date
0eb8f95dec Properly update diff in NaturalSpawner 2024-12-19 11:30:22 +01:00
6126012369 readd beacon effect cause 2024-12-18 19:29:39 +01:00
42cecc53c1 fix more compile issues 2024-12-14 22:43:34 -08:00
767215bf9b net/minecraft/world/level 2024-12-14 23:42:36 +00:00
45ddf764d9 Move patches to unapplied 2024-12-12 12:30:31 +01:00
b67ec825d2 Add '/paper mobcaps' and '/paper playermobcaps'
Add commands to get the mobcaps for a world, as well as the mobcaps for
each player when per-player mob spawning is enabled.

Also has a hover text on each mob category listing what entity types are
in said category
2021-08-16 01:31:54 -05:00
2cd6ace7ab Only count Natural Spawned mobs towards natural spawn mob limit
This resolves the super common complaint about mobs not spawning.

This was ultimately a flaw in the vanilla count algorithim that allows
spawners and other misc mobs to count against the mob limit, which are
not bounded, and can prevent the entire world from spawning new.

I believe Bukkits changes around persistence may of actually made it
worse than vanilla.

This should fully solve all of the issues around it so that only natural
influences natural spawns.
2019-03-24 01:01:32 -04:00
ac503c148a Prevent mob spawning from loading/generating chunks
also prevents if out of world border bounds
2018-09-12 21:12:57 -04:00
cad0c129c8 PreCreatureSpawnEvent
Adds an event to fire before an Entity is created, so that plugins that need to cancel
CreatureSpawnEvent can do so from this event instead.

Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste
as it's done after the Entity object has been fully created.

Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event
instead and save a lot of server resources.

See: https://github.com/PaperMC/Paper/issues/917
2018-01-14 17:01:31 -05:00
68979dd492 Add exception reporting event 2016-03-03 03:15:41 -06:00
770ee3eebd Remove Spigot timings 2016-03-03 04:00:11 -06:00
78524cb95e Spigot Timings
Overhauls the Timings System adding performance tracking all around the Minecraft Server

By: Aikar <aikar@aikar.co>
2013-01-10 00:18:11 -05:00
30e4583dbe Remap CraftBukkit to Mojang+Yarn Mappings
By: Initial Source <noreply+automated@papermc.io>
2024-12-11 22:26:55 +01:00