Commit Graph

108 Commits

Author SHA1 Message Date
Pedro d568e175ee Port basic lookAt methods from Player to Entity (#11775) 2024-12-24 23:00:07 +01:00
Jake Potrebic 4cd3060ff8 Improve entity effect API 2024-09-27 17:12:50 -07:00
SoSeDiK c40bddd17f Expand Pose API 2023-01-11 20:59:02 +02: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
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
TheTuso 1a9500ec94 Add Entity Body Yaw API 2023-02-02 16:40:11 +01:00
dawon 850e3c2ea1 Add Sneaking API for Entities 2022-10-19 23:36:42 +02:00
Owen1212055 c44d007ade Collision API 2021-10-06 20:10:36 -04:00
Owen1212055 4eafd09fd9 More Teleport API 2021-09-05 00:36:05 -04:00
Owen1212055 f5e3062c41 Freeze Tick Lock API 2021-12-26 20:27:49 -05:00
Jake Potrebic dd15ee83b2 Entity powdered snow API 2021-10-24 20:58:52 -07:00
Mariell Hoversholm 65568bbe27 Add Raw Byte Entity Serialization 2021-10-24 16:19:26 -04:00
Owen1212055 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
William Blake Galbreath 63c427de11 Entity#isTicking 2020-10-03 21:39:07 -05:00
William Blake Galbreath 6c89cc29e4 Add entity liquid API 2020-07-02 18:11:33 -05:00
Aikar 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
Aikar 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
Aikar aec70dca41 Entity#getChunk API
Get the chunk the entity is currently registered to
2018-07-04 02:25:48 -04:00
BillyGalbreath 7bde46eefa Entity#fromMobSpawner() 2017-06-18 18:17:05 -05:00
Zach Brown 0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05:00
Byteflux 0cf4a9a62e Entity Origin API 2016-02-29 17:50:31 -06:00
Riley Park 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
Bukkit/Spigot 8de3a6a15d Skeleton API Implementations
By: md_5 <git@md-5.net>
2017-05-15 15:16:15 +10:00
Bukkit/Spigot 0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot 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
Bukkit/Spigot 5c89ccf428 Improve compatibility of new DamageSource API
By: md_5 <git@md-5.net>
2024-02-14 06:38:57 +11:00
Bukkit/Spigot e32cdbcc1c Remove some old ApiStatus.Experimental annotations
By: md_5 <git@md-5.net>
2024-02-11 10:06:55 +11:00
Bukkit/Spigot 304434a635 #941: Don't allow Player removal via Entity#remove
By: DerFrZocker <derrieple@gmail.com>
2023-11-27 19:10:47 +11:00
Bukkit/Spigot 90df6eb97a #915: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:25 +13:00
Bukkit/Spigot 21f10876d1 #859: Add Entity#getTrackedBy
By: Jishuna <joshl5324@gmail.com>
2023-10-03 07:26:54 +11:00
Bukkit/Spigot 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
Bukkit/Spigot 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
Bukkit/Spigot 90bc66e868 SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc
By: md_5 <git@md-5.net>
2022-10-02 09:14:33 +11:00
Bukkit/Spigot 38ba2e3273 #786: Add methods to get sounds from entities
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 22:24:08 +10:00
Bukkit/Spigot dd8840cd02 SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
By: Doc <nachito94@msn.com>
2022-02-07 18:47:24 +11:00
Bukkit/Spigot ba903c9c6d Fix inverted visual fire docs
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-06-11 16:25:57 +10:00
Bukkit/Spigot 153752dfac Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
Bukkit/Spigot 8ffd9aaa65 #603: Specify what velocity changes in javadocs
By: Martoph <sager1018@gmail.com>
2021-04-27 11:34:31 +10:00
Bukkit/Spigot 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
Bukkit/Spigot 17cdd54b67 SPIGOT-6222: Correct javadoc for Entity#setPassenger
By: md_5 <git@md-5.net>
2020-11-06 19:12:54 +11:00
Bukkit/Spigot ea326e0e3f Remove draft API from entity persistence
By: md_5 <git@md-5.net>
2020-09-03 08:23:47 +10:00
Bukkit/Spigot 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
Bukkit/Spigot 4fc667e475 Remove some draft API designations
By: md_5 <git@md-5.net>
2019-12-09 18:50:51 +11:00
Bukkit/Spigot 26d26569a8 SPIGOT-5329: Clarify isGlowing documentation
By: md_5 <git@md-5.net>
2019-09-19 17:12:56 +10:00
Bukkit/Spigot 82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot c118b02278 SPIGOT-4753: Add Pose API
By: md_5 <git@md-5.net>
2019-04-27 10:26:35 +10:00
Bukkit/Spigot ddfd4b10c4 Replace ItemTag API with new API that also expands to Tiles and Entities
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-04-25 14:24:05 +10:00
Bukkit/Spigot e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot 423392f6f7 Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-25 22:59:27 +01:00