13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft
Cryptite b37ffd3a00 Add PlayerShieldDisableEvent
Called whenever a players shield is disabled. This is mainly caused by
attacking players or monsters that carry axes.

The event, while similar to the PlayerItemCooldownEvent, offers other
behaviour and can hence not be implemented as a childtype of said event.
Specifically, cancelling the event prevents the game events from being
sent to the player.

Plugins listening to just the PlayerItemCooldownEvent may not want said
sideeffects, meaning the disable event cannot share a handlerlist with
the cooldown event
2023-05-01 16:22:43 -05:00
..
advancements Lazily create LootContext for criterions 2023-11-21 12:16:39 -03:00
commands Fix cmd permission levels for command blocks 2022-01-24 15:32:02 -08:00
core Call missing BlockDispenseEvent 2022-10-29 15:41:56 +02:00
nbt Reduce memory footprint of CompoundTag 2020-04-06 17:39:25 -07:00
network Optimize VarInts 2023-10-28 19:46:21 -04:00
resources Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
server Fix NPE on null loc for EntityTeleportEvent 2023-12-09 19:15:59 -08:00
stats Fix spigot's Forced-Stats 2023-08-28 01:32:39 +01:00
util Validate usernames 2022-01-01 05:19:37 -08:00
world Add PlayerShieldDisableEvent 2023-05-01 16:22:43 -05: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 Remove client-side code using deprecated for removal AccessController 2021-11-26 15:09:58 -08:00