Commit Graph

115 Commits

Author SHA1 Message Date
6f73e62ecd Add getPickItemStack (#12552) 2025-05-18 20:42:14 +02:00
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
a820bdaeb9 [ci skip] Some javadoc fixes 2025-04-22 13:55:41 +02:00
1b889688a5 Add Entity#isTrackedBy (#12332) 2025-04-14 10:12:48 +02:00
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
a06179a018 Update entity effect (#12104) 2025-02-12 23:14:07 +01:00
aac246ae29 Expand on entity serialization API (#11807) 2024-12-27 00:08:00 +01:00
d568e175ee Port basic lookAt methods from Player to Entity (#11775) 2024-12-24 23:00:07 +01:00
4cd3060ff8 Improve entity effect API 2024-09-27 17:12:50 -07:00
c40bddd17f Expand Pose API 2023-01-11 20:59:02 +02:00
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
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
1a9500ec94 Add Entity Body Yaw API 2023-02-02 16:40:11 +01:00
850e3c2ea1 Add Sneaking API for Entities 2022-10-19 23:36:42 +02:00
c44d007ade Collision API 2021-10-06 20:10:36 -04:00
4eafd09fd9 More Teleport API 2021-09-05 00:36:05 -04:00
f5e3062c41 Freeze Tick Lock API 2021-12-26 20:27:49 -05:00
dd15ee83b2 Entity powdered snow API 2021-10-24 20:58:52 -07:00
65568bbe27 Add Raw Byte Entity Serialization 2021-10-24 16:19:26 -04:00
a2a581ba6b Missing Entity API
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: William Blake Galbreath <blake.galbreath@gmail.com>
Co-authored-by: SoSeDiK <mrsosedik@gmail.com>
Co-authored-by: booky10 <boooky10@gmail.com>
Co-authored-by: Amin <amin.haddou@frg.wwschool.de>
Co-authored-by: TrollyLoki <trollyloki@gmail.com>
Co-authored-by: FireInstall <kettnerl@hu-berlin.de>
Co-authored-by: maxcom1 <46265094+maxcom1@users.noreply.github.com>
Co-authored-by: TotalledZebra <Holappa57@gmail.com>
2021-05-28 21:06:59 -04:00
Tom
eb8dcb71a9 Expose Tracked Players 2021-02-26 16:24:25 -06:00
63c427de11 Entity#isTicking 2020-10-03 21:39:07 -05:00
6c89cc29e4 Add entity liquid API 2020-07-02 18:11:33 -05:00
ded424db46 Fixes and additions to the spawn reason API
Expose an entities spawn reason on the entity.
Pre existing entities will return NATURAL if it was a non
persistenting Living Entity, SPAWNER for spawners,
or DEFAULT since data was not stored.

Additionally, add missing spawn reasons.

Co-authored-by: Aurora <aurora@relanet.eu>
Co-authored-by: Jakub Zacek <dawon@dawon.eu>
2019-03-24 00:21:23 -04:00
8ce80096b6 Async Chunks API
Adds API's to load or generate chunks asynchronously.

Also adds utility methods to Entity to teleport asynchronously.
2016-02-29 17:43:33 -06:00
aec70dca41 Entity#getChunk API
Get the chunk the entity is currently registered to
2018-07-04 02:25:48 -04:00
7bde46eefa Entity#fromMobSpawner() 2017-06-18 18:17:05 -05:00
0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05:00
0cf4a9a62e Entity Origin API 2016-02-29 17:50:31 -06:00
15081a5912 Adventure
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2021-01-29 17:21:55 +01:00
8de3a6a15d Skeleton API Implementations
By: md_5 <git@md-5.net>
2017-05-15 15:16:15 +10:00
0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
bfd5351193 #994: Add methods to convert between an entity and a string
By: Jishuna <joshl5324@gmail.com>
2024-04-24 01:15:00 +10:00
5c89ccf428 Improve compatibility of new DamageSource API
By: md_5 <git@md-5.net>
2024-02-14 06:38:57 +11:00
e32cdbcc1c Remove some old ApiStatus.Experimental annotations
By: md_5 <git@md-5.net>
2024-02-11 10:06:55 +11:00
304434a635 #941: Don't allow Player removal via Entity#remove
By: DerFrZocker <derrieple@gmail.com>
2023-11-27 19:10:47 +11:00
90df6eb97a #915: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:25 +13:00
21f10876d1 #859: Add Entity#getTrackedBy
By: Jishuna <joshl5324@gmail.com>
2023-10-03 07:26:54 +11:00
bec81a9aff #831: Add a standard of annotations for Minecraft experimental things and API
By: Doc <nachito94@msn.com>
Also-by: 2008Choco <hawkeboyz2@hotmail.com>
2023-04-07 09:41:58 +10:00
86d3c9caa7 #811: Add API to allow entities to be invisible by default
Designed to make creating per-player entities easier

By: md_5 <git@md-5.net>
2023-03-04 09:15:46 +11:00
90bc66e868 SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc
By: md_5 <git@md-5.net>
2022-10-02 09:14:33 +11:00
38ba2e3273 #786: Add methods to get sounds from entities
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 22:24:08 +10:00
dd8840cd02 SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
By: Doc <nachito94@msn.com>
2022-02-07 18:47:24 +11:00
ba903c9c6d Fix inverted visual fire docs
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-06-11 16:25:57 +10:00
153752dfac Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
8ffd9aaa65 #603: Specify what velocity changes in javadocs
By: Martoph <sager1018@gmail.com>
2021-04-27 11:34:31 +10:00
ddabe8f3b9 SPIGOT-6256: Add method to check if the entity is in water
By: montlikadani <montlikada@gmail.com>
2020-12-21 18:20:58 +11:00
17cdd54b67 SPIGOT-6222: Correct javadoc for Entity#setPassenger
By: md_5 <git@md-5.net>
2020-11-06 19:12:54 +11:00
ea326e0e3f Remove draft API from entity persistence
By: md_5 <git@md-5.net>
2020-09-03 08:23:47 +10:00
932666525b SPIGOT-5810, SPIGOT-5835: 'Better' handling of Player.isOnGround
By: md_5 <git@md-5.net>
2020-06-28 10:15:49 +10:00