Commit Graph

751 Commits

Author SHA1 Message Date
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
Jake Potrebic c189c3ba5b ItemStack damage API
Adds methods notify clients about item breaks and
to simulate damage done to an itemstack and all
the logic associated with damaging them
2022-05-08 13:35:58 -07:00
Lulu13022002 8a7cabbac9 More vanilla friendly methods to update trades 2022-10-16 15:58:38 +02:00
dawon 9ef7128806 Add Player Warden Warning API 2022-10-15 00:46:32 +02:00
MelnCat f1b8fcafff Add entity knockback API 2022-10-16 12:10:00 -07:00
SoSeDiK 79cb2d4685 Add LivingEntity#swingHand(EquipmentSlot) convenience method 2022-10-11 22:35:56 +03:00
SoSeDiK ad084f6684 Elder Guardian appearance API 2022-10-11 20:38:47 +03:00
Owen1212055 c44d007ade Collision API 2021-10-06 20:10:36 -04:00
Owen1212055 e88a306a8c Custom Chat Completion Suggestions API 2022-07-30 11:23:11 -04:00
Owen1212055 4eafd09fd9 More Teleport API 2021-09-05 00:36:05 -04:00
u9g b780ff7251 Add Player#getFishHook 2022-06-14 19:35:21 -04:00
Owen1212055 f1be44f667 Expand FallingBlock API
- add auto expire setting
- add setter for block data
- add accessors for block state

Co-authored-by: Lukas Planz <lukas.planz@web.de>
2021-12-05 14:58:55 -05:00
Jake Potrebic 495ba77d85 Add EntityDyeEvent and CollarColorable interface 2022-03-18 21:16:38 -07:00
Doc 5e800d8dd4 Allow to change the podium of the EnderDragon 2022-04-02 23:03:32 -03:00
Owen1212055 b0e4de9c20 More Projectile API
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: SoSeDiK <mrsosedik@gmail.com>
Co-authored-by: MelnCat <melncatuwu@gmail.com>
2021-05-26 19:34:43 -04:00
EpicKnarvik97 84be1c082d Expose furnace minecart push values
Adds methods for getting and setting a furnace minecart's push values
2022-03-05 20:58:47 +01:00
Owen1212055 5746f17f68 Dolphin API 2021-12-07 19:34:11 -05:00
Owen1212055 f5e3062c41 Freeze Tick Lock API 2021-12-26 20:27:49 -05:00