Commit Graph

768 Commits

Author SHA1 Message Date
Nassim Jahnke 9f00461456 Update a whole lot of deprecated annotations 2025-03-21 17:50:04 +01:00
Shane Bee 8e69d981fa Player - Expose player score (#12243) 2025-03-08 11:38:50 -08:00
Pedro fc56c728c0 Add methods for Creaking (#12094) 2025-02-25 22:23:47 +01:00
Warrior 09f1f88f58 Fix getForwards/SidewaysMovement for players (#12140) 2025-02-18 01:03:48 +01:00
David 6cfa2f7f31 [ci skip] Add missing nullability annotation to sendEquipmentChange method (#12112)
Marked ItemStack parameter as `@Nullable` to explicitly indicate it can be null. This improves clarity, avoids nullability problems, and aligns with the method's documented behavior for handling null values.
2025-02-14 18:39:44 +01:00
Lulu13022002 a06179a018 Update entity effect (#12104) 2025-02-12 23:14:07 +01:00
Tamion 072a8317b2 Add proper attached blocks API to AbstractArrow (#12099) 2025-02-12 23:13:07 +01:00
Jason Penilla 61312fdb59 Switch to jspecify annotations for Player (#12042)
Fixes compilation issues for plugins from recent API addition with double-annotated parameter (JetBrains annotations are type-use and parameter, so nonnull array of nonnull elements ends up with duplicates)
2025-02-08 20:57:35 +01:00
David 53ae5c95b7 Make Sittable interface extend Entity (#12016) 2025-02-08 20:16:23 +01:00
Lulu13022002 d4a957849c Experimental annotation changes (#12028) 2025-01-30 20:02:14 +01:00
masmc05 3af5e77132 Add Player#give (#11995) 2025-01-26 21:19:00 +01:00
Creeam 336ea9dfeb Check for empty when sending equipment changes (#12008) 2025-01-25 20:04:47 +01:00
Lulu13022002 2ea6aee343 Deprecate Turtle#isDigging (#11959) 2025-01-12 12:49:25 -08:00
masmc05 08ac057fda Rename getPotentialBedLocation to getPotentialRespawnLocation (#11950) 2025-01-12 02:17:46 +01:00
Miles c94922514a MenuType API addition InventoryView Builders (#11816) 2025-01-11 20:21:24 +01:00
Jake Potrebic ac3aaa248b Don't use delayed registries in impl anywhere (#11918) 2025-01-11 20:02:28 +01:00
Pedro 5e14504f20 [ci skip] Add missing deprecated docs for isEnabledByFeature (#11938) 2025-01-09 21:08:28 +01:00
Strokkur24 93a3df085c Extend HumanEntity#dropItem API (#11810) 2024-12-28 23:47:21 +01:00
Jake Potrebic ca8709b30f Fix more incorrect array nullability annotations (#11836) 2024-12-27 22:24:16 +01:00
SoSeDiK aac246ae29 Expand on entity serialization API (#11807) 2024-12-27 00:08:00 +01:00
Pedro d568e175ee Port basic lookAt methods from Player to Entity (#11775) 2024-12-24 23:00:07 +01:00
Jake 413751ae2d Update Mob.java (#11757) 2024-12-19 23:14:21 +01:00
Jake Potrebic 4cd3060ff8 Improve entity effect API 2024-09-27 17:12:50 -07:00
Jake Potrebic 0f47ed5252 Add FeatureFlag API 2023-03-09 11:24:43 -08:00
Jake Potrebic 3fc7f9269a Deprecate for removal all OldEnum-related methods 2024-09-07 11:14:31 -07:00
Lulu13022002 4641e233e7 Leashable API 2024-06-22 21:11:58 +02:00
Tamion 5dc2ca5b62 Fix PickupStatus getting reset 2024-07-23 18:37:12 +02:00
Jake Potrebic 962554a0de Fix equipment slot and group API
Adds the following:
- Add missing 'body' slot group
- Expose LivingEntity#canUseSlot

Co-authored-by: SoSeDiK <mrsosedik@gmail.com>
2024-05-22 10:00:19 -07:00
nostalfinals daebdc24e7 Added API to get player ha proxy address 2024-04-08 23:24:38 +08:00
Flo0 c6e1625d87 API for checking sent chunks 2024-04-08 16:22:07 +02:00
Owen1212055 1725de0232 Suspicious Effect Entry API
Exposes a new suspicious effect entry type that properly represents
storable effects in the context of suspicious effects as they only
define the potion effect type and duration.

This differentiates them from the existing PotionEffect API found in
bukkit and hence clarifies that storable values in the parts of the API
in which it replaces PotionEffect.

Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2024-03-03 19:45:52 +01:00
Tamion 0a1e7d6d0f Add HiddenPotionEffect API 2023-11-05 09:50:48 +01:00
Lukas Planz 26ad0bb45b Add experience points API 2023-09-05 20:33:52 +02:00
Jake Potrebic 1ab1d0f10a Experimental annotations change 2023-12-09 11:47:53 -08:00
booky10 2fccf1c185 Add player idle duration API
Implements API for getting and resetting a player's idle duration.
2023-10-14 03:11:11 +02:00
Lulu13022002 912fa90c0e Allow trident custom damage 2022-07-13 15:29:53 +02:00
SoSeDiK c40bddd17f Expand Pose API 2023-01-11 20:59:02 +02:00
LemonCaramel 59865002cc Fix NPE on Boat getStatus 2023-04-11 04:04:41 +09:00
Corey Shupe 3273a33a46 Add Listing API for Player 2023-01-11 16:40:31 -05:00
Jake Potrebic 0d206d5069 API for an entity's scoreboard name
Was obtainable through different methods, but you had to use different
methods depending on the implementation of Entity you were working with.
2023-07-09 11:54:54 -07:00
Jake Potrebic 1ce71b513e Fix BanList API 2023-07-04 11:27:18 -07:00
Spottedleaf 7920d9020b Folia scheduler and owned region API
Pulling Folia API to Paper is primarily intended for plugins
that want to target both Paper and Folia without unnecessary
compatibility layers.

Add both a location based scheduler, an entity based scheduler,
and a global region scheduler.

Owned region API may be useful for plugins which want to perform
operations over large areas outside of the buffer zone provided
by the regionaliser, as it is not guaranteed that anything
outside of the buffer zone is owned. Then, the plugins may use
the schedulers depending on the result of the ownership check.
2023-06-17 11:52:41 +02:00
Jake Potrebic fa0ad8f494 Add method to remove all active potion effects 2023-06-17 13:17:20 -07:00
GodOfPro 07ec5a58a4 Add Mob Experience reward API 2023-04-11 16:30:58 +04:30
Owen1212055 39c27c3661 Add Shearable API 2021-10-17 15:39:41 -04:00
TheTuso 1a9500ec94 Add Entity Body Yaw API 2023-02-02 16:40:11 +01:00
Lama06 7e5c1f612a Win Screen API 2023-01-21 13:45:22 +01:00
TreyRuffy 2d4a6d3f7d Flying Fall Damage API 2022-05-27 02:25:38 -06:00
dawon 850e3c2ea1 Add Sneaking API for Entities 2022-10-19 23:36:42 +02:00
Noah van der Aa 0232bdcc50 Friction API 2021-09-15 20:40:51 +02:00