Commit Graph

787 Commits

Author SHA1 Message Date
Lulu13022002 f5534cb7c7 [ci skip] Run generators (#12691) 2025-06-18 20:05:50 +02:00
Bjarne Koll a24f9b204c 1.21.6 dev
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2025-06-17 15:45:25 +02:00
Mart 3527ccdf2e feat: expose updateDemand and restock on Villager (#12608) 2025-06-07 12:42:11 +02:00
Pedro a3909f5486 [ci skip] Fix bad format for jd @link (#12581) 2025-05-24 21:17:16 +02:00
Md5Lukas 3efaf477c4 Add API for client-side signs (#11903) 2025-05-24 21:16:23 +02:00
brickmonster fa360aa836 Add some missing annotations and an incorrect one (#12204) 2025-05-18 18:31:49 -04:00
Reason 6f73e62ecd Add getPickItemStack (#12552) 2025-05-18 20:42:14 +02:00
Namiu/うにたろう d683970d40 Add FishHookStateChangeEvent (#12165) 2025-05-15 20:17:32 +02:00
David cbcf75a57c Update visual fire handling with TriState support (#12303)
Replaced the Boolean-based visual fire system with TriState for improved clarity and flexibility, enabling three distinct states: TRUE, FALSE, and NOT_SET. Deprecated older methods in favor of new ones and updated internal handling to reflect these changes. Adjusted serialization and deserialization logic to accommodate the new TriState implementation.
2025-05-07 23:33:41 +02:00
Bert Towne e2da5d2f0a Registry API for supported Mob Variants (#12417)
---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2025-05-06 17:13:00 -04:00
Illia Bondar e663f99982 Add combat tracker API (#11853) 2025-04-30 19:24:33 +02:00
Pedro a7a76c8fc7 Add methods for Armadillo (#12031) 2025-04-29 15:44:37 +02:00
Lulu13022002 9e873f50d3 Fix inconsistencies between offline/online spawn position getter (#11960) 2025-04-29 14:57:36 +02:00
David 952338b33e [ci skip] Add missing exception docs to Player#listPlayer (#12488) 2025-04-28 15:00:02 +02:00
Shane Bee f8fa4f6f5e Add method to retrieve FishHook (#12310) 2025-04-27 14:12:01 +02:00
Illia Bondar a820bdaeb9 [ci skip] Some javadoc fixes 2025-04-22 13:55:41 +02:00
Jakub Zacek d22644aada Expand cooldown API (#12435) 2025-04-22 11:30:00 +02:00
TonytheMacaroni 1b889688a5 Add Entity#isTrackedBy (#12332) 2025-04-14 10:12:48 +02:00
Nassim Jahnke f00727c57e 1.21.5
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com>
Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
2025-04-12 17:27:00 +02:00
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