Commit Graph

7928 Commits

Author SHA1 Message Date
Jake Potrebic d00071451b Fix inventory desync (#9640) 2023-08-24 16:53:02 -07:00
Aeltumn 4935180134 Add OfflinePlayer#isConnected (#9642) 2023-08-24 13:44:31 +02:00
Jake Potrebic 6c4af72a54 [ci skip] clear out test plugin 2023-08-23 10:05:08 -07:00
Jake Potrebic 6bc3eaa52a Fix exact choice recipe book clicks (#7822) 2023-08-23 08:20:32 -07:00
Warrior c667df8ff5 Limit setBurnTime to valid short values (#9623) 2023-08-23 13:54:34 +03:00
Jake Potrebic 4e461ccab9 [ci skip] Refactor context records for easier expansion (#9589) 2023-08-22 20:34:57 -07:00
Martijn 86a90ebe3e Optimize nearest structure border iteration (#9638) 2023-08-23 03:53:42 +02:00
The456 24f6e17ded Expose Hand during BlockCanBuildEvent (#9636) 2023-08-23 01:41:30 +01:00
Bjarne Koll 60d2ea03ad Prevent overfilled bundles from duplicating items (#9633)
Bundles compute the amount to remove from an item based on the formula
(64 - currentWeight) / itemWeight. An overfilled bundle however, with a
currentWeight of > 64 ends up with a negative removal amount for the
item.

This can cause duplication issues on craftbukkit inventory
implementations as they do currently not gracefully handle negative
removal amounts in their remove methods.
2023-08-22 11:57:44 +02:00
Lulu13022002 a92fdba593 Allow custom damage for trident (#8132) 2023-08-22 08:20:38 +02:00
Lulu13022002 b6c058204f Fix endgateway teleportation offset (#9517) 2023-08-22 08:03:15 +02:00
Jake Potrebic fc035b6403 Improve performance of mass crafts (#9603) 2023-08-21 22:54:28 -07:00
Rodney 73600b72b6 Add PlayerPickItemEvent (#5590) 2023-08-22 07:22:05 +02:00
SoSeDiK 7e34587a54 Properly clone custom nbt tags inside ItemMeta (#7849) 2023-08-22 07:59:31 +03:00
Jake Potrebic c18117104b More DragonBattle API (#5655) 2023-08-21 21:08:43 -07:00
Joo200 a02a484a57 MerchantRecipe: add copy constructor (#8703) 2023-08-22 05:48:25 +02:00
aerulion dad6cfe6c4 Expose clicked BlockFace during BlockDamageEvent (#9632) 2023-08-22 05:07:18 +02:00
SoSeDiK 1316321c7f Expand Pose API (#8781) 2023-08-22 06:05:47 +03:00
caramel d369e65fab Fix NPE on Boat#getStatus (#9115) 2023-08-22 11:57:54 +09:00
Jake Potrebic 5ceafb601c [ci skip] update editorconfig and gitattributes (#9608) 2023-08-21 19:16:03 -07:00
Bjarne Koll 623478709c Remove unused lag-compensate-block-breaking option (#9635)
Removes the unused lag-compensate-block-breaking option from the paper
configuration file as the patch using it has been dropped in 1.19.
2023-08-21 14:08:25 +02:00
Nassim Jahnke a411e324aa [ci skip] Update Gradle wrapper 2023-08-21 19:16:46 +10:00
Corey Shupe 8aee3fc4d0 Player listing API (#8782) 2023-08-21 04:51:31 -04:00
ruViolence 79152ad03a Add entity tracker min Y distance config option (#9406) 2023-08-21 16:05:49 +08:00
Jake Potrebic 1b4291893f Improve cancelling PreCreatureSpawnEvent with per player mob spawns (#9400) 2023-08-21 00:44:47 -07:00
Yannick Lamprecht 183462c9f0 Add cancellability to PlayerTrackEntityEvent (#8605) 2023-08-21 09:38:55 +02:00
TonytheMacaroni b0439eea91 Add Entity Coordinate and Rotation API (#9461) 2023-08-21 03:35:05 -04:00
Will FP bd8dd4f684 Fixed CraftItemStack/CraftItemMeta enchantment level inconsistency (#8792)
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
2023-08-21 08:31:52 +01:00
Trevor Bedson d8b5390f81 Fire entity death event for ender dragon (#9495) 2023-08-21 03:06:21 -04:00
Gero 68a69e380c Fix CME in CraftPersistentDataTypeRegistry (#6701) 2023-08-21 06:50:21 +02:00
EpicPlayerA10 77c6859b66 Don't tab-complete namespaced commands if send-namespaced is false (#9366) 2023-08-21 06:50:11 +02:00
galacticwarrior9 e526eafa39 Determine lava and water fluid explosion resistance by their block explosion resistance (#9482) 2023-08-21 05:50:02 +01:00
Gameoholic 42e6758cb4 Fix rotation for spawning display entities (#9552) 2023-08-21 07:49:53 +03:00
EpicPlayerA10 e121a90eef Add option to disable chorus plant and mushroom block updates (#9442) 2023-08-21 06:49:38 +02:00
Md5Lukas a2846ba80b Fix Inventory#getLocation not working for the composter (#9596) 2023-08-21 06:49:29 +02:00
Jake Potrebic 7e6bdb92a4 Properly handle BlockBreakEvent#isDropItems (#8936)
Setting whether a block break dropped items controlled
far more than just whether blocks dropped, like stat increases
food consumption, turtle egg count decreases, ice to water
conversions and beehive releases
2023-08-20 20:49:20 -07:00
Jake Potrebic 06ee045ab9 Deprecate and replace methods using deprecated StructureType (#8643) 2023-08-20 10:30:45 -07:00
Jake Potrebic 975d0562a7 API for an entity's scoreboard name (#9462)
Was obtainable through different methods, but you had to use different
methods depending on the implementation of Entity you were working with.
2023-08-20 09:06:09 -07:00
Nassim Jahnke 564ba7b184 Fix unknown entity interaction clicked position getter if null 2023-08-19 12:01:06 +10:00
Martijn a925383693 Count down radius-aware dependency tree node parents (#9600) 2023-08-18 04:02:20 +02:00
Jamie 95371f3cdf Delete patch to fix PaperMC/Paper#9612 (#9621) 2023-08-17 21:51:34 +01:00
Nassim Jahnke 84993c1413 Add clicked position to PlayerUseUnknownEntityEvent (#9604) 2023-08-16 17:58:07 +10:00
Bjarne Koll f5719c0b4a Don't let player loot if reloot time is disabled (#9615)
If the reloot time is disabled while reloot is restricted, the player
should not be able to reloot. The previous logic was incorrect and
allowed players to reloot explicitly when the reloot time was disabled.
2023-08-16 06:08:00 +02:00
Warrior 49502449bb Fix main thread priority being lowered (#9488) 2023-08-15 19:37:17 +02:00
Jake Potrebic 975444e5d2 Updated Upstream (CraftBukkit/Spigot) (#9598)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
b76ceb4f5 PR-1235: Move EntityType return to base Entity class
e795d7490 SPIGOT-7458: Exception when Entity CommandSender executes Vanilla command
46c7fc3b1 SPIGOT-7452: Player#openSign cannot edit
d91e5aa0b SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout
921ae06d6 Revert "SPIGOT-7447: Fix --forceUpgrade"

Spigot Changes:
94e187b5 Rebuild patches
3bce7935 SPIGOT-7091: Update bungeecord-chat
2023-08-13 16:32:51 -07:00
Jake Potrebic 224e38a0f6 Account for dimension type in portal void damage check (#9602) 2023-08-13 13:30:48 -07:00
Nassim Jahnke b5f844b362 [ci skip] Update README 2023-08-13 10:36:26 +10:00
Warrior 93f4d6f535 Fix DEFAULT getEntitySpawnReason for /summon (#9480) 2023-08-13 01:57:13 +02:00
Nacioszeczek 203115c88f SculkCatalyst bloom API (#9466) 2023-08-13 01:31:32 +02:00
Jake Potrebic 2e3118d02a Bandaid fix for Effect (#9548)
Effect or LevelEvent needs to be replaced
but ideally after the enum PR has been merged
upstream. Until then, this test and these fixes
should address all the known issues with them
2023-08-12 15:19:34 -07:00