Commit Graph
32 Commits
Author SHA1 Message Date
Nassim Jahnke 2a20fde332 Add feature patch hook for overrides 2024-12-05 13:00:22 +01:00
Nassim Jahnke 3d14e7af19 Separate dimensiondata executor 2024-11-28 10:35:58 +01:00
Nassim Jahnke c056e2319d Fix PlayerCommandPreprocessEvent on signed commands 2024-09-21 22:01:52 +02:00
Nassim Jahnke 334058fa69 Check for block type in SculkSensorBlock#canActivate 2024-08-07 14:33:25 +02:00
Nassim JahnkeandJake Potrebic c6f962ba54 Prevent sending oversized item data in equipment and metadata
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-12-01 12:36:25 +01:00
Nassim Jahnke aabe9f5264 Print data component type on encoding error 2024-05-09 15:11:34 +02:00
Nassim Jahnke 3758965f88 Improve tag parser handling 2024-02-05 11:54:04 +01:00
Nassim Jahnke 898bf90054 Fixup NamespacedKey handling 2024-01-06 14:31:00 +01:00
Nassim Jahnke 2506babe8e Validate ResourceLocation in NBT reading 2024-01-04 13:49:14 +01:00
Nassim Jahnke 5688b5cf50 Add slot sanity checks in container clicks 2023-09-11 12:01:57 +10:00
Nassim Jahnke 7139479d40 Fix text display error on spawn 2023-03-16 16:27:50 +01:00
Nassim Jahnke dbfc5fda14 Remove unnecessary onTrackingStart during navigation warning 2022-10-03 20:48:19 +02:00
Nassim Jahnke 1be6fca1f1 Disable component selector resolving in books by default 2022-06-02 20:35:58 +02:00
Nassim Jahnke 4a5a684c14 Fix falling block spawn methods
Restores the API behavior from previous versions of the server
- Do not call API events
- Do not replace the existing block in the world

== AT ==
public net.minecraft.world.entity.item.FallingBlockEntity <init>(Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/level/block/state/BlockState;)V
2022-03-04 20:35:19 +01:00
Nassim Jahnke b85ac14d28 Force close world loading screen
Dead players would be stuck in the world loading screen and other players may
miss messages and similar sent in the join event if chunk loading is slow.
Paper already circumvents falling through the world before chunks are loaded,
so we do not need that. The client only needs the chunk it is currently in to
be loaded to close the loading screen, so we just send an empty one.
2022-03-02 09:45:56 +01:00
Nassim Jahnke cbe94e7657 Reset placed block on exception 2022-01-07 11:45:15 +01:00
Nassim Jahnke 929de37045 Configurable max block light for monster spawning 2021-12-16 09:40:39 +01:00
Nassim Jahnke 99808779a1 Prevent excessive velocity through repeated crits 2021-11-25 10:25:09 +01:00
Nassim JahnkeandThonk 987d596834 Configurable feature seeds
Co-authored-by: Thonk <30448663+ExcessiveAmountsOfZombies@users.noreply.github.com>
2021-08-31 17:05:27 +02:00
Nassim Jahnke 457b4033ab Ensure valid vehicle status 2021-09-28 09:47:47 +02:00
Nassim Jahnke 37bc4f0b04 Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
Nassim Jahnke 5392798da4 Move range check for block placing up 2022-06-08 10:52:18 +02:00
Nassim Jahnke 3ab2001afb Add Channel initialization listeners 2021-04-29 21:19:33 +02:00
Nassim Jahnke 85a8224261 Expose protocol version 2021-03-26 11:23:17 +01:00
Nassim Jahnke a85863338c Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
Nassim Jahnke e0fe76747b More lightning API
== AT ==
public net.minecraft.world.entity.LightningBolt life
public net.minecraft.world.entity.LightningBolt flashes
2020-07-26 14:44:09 +02:00
Nassim Jahnke d1d54d35bf Add PlayerItemCooldownEvent 2020-08-25 13:48:33 +02:00
Nassim JahnkeandMiniDigger | Martin a92909cfd7 Improve java version check
Co-Authored-By: MiniDigger | Martin <admin@benndorf.dev>
2022-03-16 13:58:16 +01:00
Nassim Jahnke 8a2c2db2a5 Fix item EAR ticks
Item entities only have their gravity ticked every 4 ticks when on ground.
Fix that and also remove Spigot's arbitrary tick skipping. It's a terribly
cheap way of getting extra performance that doesn't really work at all.
2024-10-30 13:51:54 +01:00
Nassim Jahnke ccc1107255 Dont send unnecessary sign update 2021-09-11 11:56:51 +02:00
Nassim Jahnke a70953dfb0 Improve CraftEntity and CraftPlayer equals and hashCode
Make sure the hash code does not change and also remove outdated
equals logic from CraftPlayer. Long-term, the override there should
be entirely removed, but this is good enough for now.

Replacing some getHandle method calls with direct field access will
also reduce overhead from casts that the overridden methods come with,
at least until those are changed later on as well.
2024-11-09 21:10:45 +01:00
Nassim JahnkeandJason Penilla fae673b95c Remap reflection calls in plugins using internals
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2022-10-30 23:47:26 +01:00