Commit Graph

95 Commits

Author SHA1 Message Date
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
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
55523cfcfc Add ray tracing and bounding box API
By: blablubbabc <lukas@wirsindwir.de>
2018-10-26 19:59:36 +11:00
Bukkit/Spigot
9961f89c88 Make setPersistent also control player saving
By: Ugleh <troti@ymail.com>
2018-10-02 11:42:30 -04:00
Bukkit/Spigot
3208cbdd7f Add getFacing method to get the current cardinal direction an entity is facing.
By: Senmori <thesenmori@gmail.com>
2018-09-02 18:28:54 -04:00
Bukkit/Spigot
bd2074a93d SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.

By: blablubbabc <lukas@wirsindwir.de>
2018-06-14 19:28:41 +02:00
Bukkit/Spigot
70727107ce Fix some additional documentation typos
Thanks mrfloris

By: md_5 <git@md-5.net>
2018-01-15 12:53:01 +11:00
Bukkit/Spigot
1eb289b1a3 SPIGOT-3629: Greatly expand entity effect API
By: md_5 <git@md-5.net>
2017-11-07 19:32:15 +11:00
Bukkit/Spigot
018aeb1c85 Add PistonMoveReaction getters for Entity
By: md_5 <git@md-5.net>
2017-06-12 19:23:14 +10:00
Bukkit/Spigot
2a2b2324e0 Add getWidth + getHeight for Entity
By: bramhaag <bramhagens@hotmail.nl>
2017-03-18 11:09:05 +01:00
Bukkit/Spigot
8c555c4314 SPIGOT-2640: API for multiple passengers per entity
By: md_5 <git@md-5.net>
2017-01-04 10:52:59 +11:00
Bukkit/Spigot
853b05b6ab Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:16 +11:00
Bukkit/Spigot
0da3e1a443 SPIGOT-2793: Revert Nameable changes
By: md_5 <git@md-5.net>
2016-11-19 03:09:06 +11:00
Bukkit/Spigot
07f7249cf2 Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:16 +11:00