Commit Graph

62 Commits

Author SHA1 Message Date
Strokkur24
93a3df085c Extend HumanEntity#dropItem API (#11810) 2024-12-28 23:47:21 +01:00
u9g
b780ff7251 Add Player#getFishHook 2022-06-14 19:35:21 -04:00
Jake Potrebic
c0e2f67d7c add isDeeplySleeping to HumanEntity 2021-04-08 17:36:15 -07:00
Mark Vainomaa
b71dfe682d Expose LivingEntity hurt direction 2020-12-13 05:32:12 +02:00
JRoy
110071a0e6 Add additional open container api to HumanEntity 2020-08-26 02:11:58 -04:00
JRoy
5b74f31a52 Potential bed API
Adds a new method to fetch the location of a player's bed without generating any sync loads.

getPotentialBedLocation - Gets the last known location of a player's bed. This does not preform any check if the bed is still valid and does not load any chunks.
2020-05-10 23:06:41 -04:00
Aikar
6d3de60244 InventoryCloseEvent Reason API
Allows you to determine why an inventory was closed, enabling plugin developers
to "confirm" things based on if it was player triggered close or not.
2018-07-03 21:52:52 -04:00
Aikar
77334adf24 LivingEntity Active Item API
API relating to items being actively used by a LivingEntity
such as a bow or eating food.

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2018-06-29 00:19:19 -04:00
Mark Vainomaa
a97f03a018 Add openSign method to HumanEntity 2018-04-01 02:28:43 +03:00
Aikar
705daba3f5 Shoulder Entities Release API 2017-06-17 15:04:51 -04:00
Zach Brown
0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05: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
cd27f1b0c7 Update to Minecraft 1.21.2
By: md_5 <git@md-5.net>
2024-10-23 02:15:00 +11:00
Bukkit/Spigot
aae72268cb #1055: Expand riptiding API
By: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
2024-09-07 18:06:52 +10:00
Bukkit/Spigot
2c04f1b473 #1036: Add API for InventoryView derivatives
By: Miles Holder <mwholder2005@gmail.com>
2024-07-27 10:01:25 +10:00
Bukkit/Spigot
68d6fa6800 #1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc
By: Miles Holder <mwholder2005@gmail.com>
2024-06-22 18:48:49 +10:00
Bukkit/Spigot
97876f3d25 Move getItemInUse up to LivingEntity
By: md_5 <git@md-5.net>
2024-03-30 12:54:23 +11:00
Bukkit/Spigot
73bd1a1c85 SPIGOT-7239: Getter/setter for player's enchantment seed
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-01-28 11:55:38 +11:00
Bukkit/Spigot
8891e2079c SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-12 19:04:19 +10:00
Bukkit/Spigot
a0619b4d67 SPIGOT-7047: Add Player#getLastDeathLocation
By: Doc <nachito94@msn.com>
2022-06-10 09:56:47 +10:00
Bukkit/Spigot
c9a9a92427 Improve item cooldown JavaDocs
By: md_5 <git@md-5.net>
2022-01-25 08:28:49 +11:00
Bukkit/Spigot
b29d02153d #621: Add HumanEntity#getItemInUse and Material#getSlipperiness
By: konsolas <vincentyntang@gmail.com>
2021-06-12 21:07:25 +01:00
Bukkit/Spigot
2ae343b93f Fix javadoc errors in previous commits
By: md_5 <git@md-5.net>
2021-03-04 09:20:27 +11:00
Bukkit/Spigot
5d55e7241c #578: Add methods to modify the rate of regeneration and starvation
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:02 +11:00
Bukkit/Spigot
6a0096dd86 #539: HumanEntity - add a method to make the entity drop the item they're holding
By: Shane Bee <shanebolenback@me.com>
2020-08-16 09:32:49 +10:00
Bukkit/Spigot
db73a4b2cf #507: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:16 +10:00
Bukkit/Spigot
eed3a67ee8 Update to Minecraft 1.16.1
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
Bukkit/Spigot
711bd7b6f7 #486: Add method to get player's attack cooldown
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-04-23 11:13:44 +10:00
Bukkit/Spigot
5f1aef7419 SPIGOT-4803: Fox related APIs
By: md_5 <git@md-5.net>
2019-04-28 17:58:30 +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
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
e943059623 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:37:43 +11:00
Bukkit/Spigot
66cea125d6 Minor cosmetic cleanups to imports etc
Please see https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/389/overview

By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-27 14:55:52 -04:00
Bukkit/Spigot
b7719b7e4a Add PlayerRecipeDiscoverEvent and methods to (un/)discover recipes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-29 19:22:59 -04:00
Bukkit/Spigot
75a18fd5ad Minecraft 1.12-pre2 API Changes
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
Bukkit/Spigot
f9e76a6924 Add API for manipulating item cooldowns.
By: md_5 <git@md-5.net>
2017-04-19 17:41:34 +10:00
Bukkit/Spigot
229ff86864 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:10 +11:00
Bukkit/Spigot
8a52090a25 SPIGOT-2656: HumanEntity#isHandRaised()Z
By: md_5 <git@md-5.net>
2016-09-04 11:59:33 +10:00
Bukkit/Spigot
e4ef610859 Add PlayerChangedMainHandEvent
By: MiniDigger <admin@minidigger.me>
2016-05-27 18:47:14 +10:00
Bukkit/Spigot
fe152f147f SPIGOT-1806: Add HumanEntity#getMainHand
By: Matthew <stteg@hotmail.com>
2016-03-11 13:02:00 -05:00
Bukkit/Spigot
ab952a946f Add Merchant API
By: Xor Boole <mcyoung@mit.edu>
2016-03-01 08:30:04 +11:00
Bukkit/Spigot
2e3099f3cf Implement API for "main hand" and "off hand" slots.
Also deprecate existing "hand" API as it is not specific about which hand is being referred to. Implementations should default this method to the "main hand".

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
a7d7bc05ad SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit ce85765d6a)
By: md_5 <git@md-5.net>
2015-01-05 10:00:40 +11:00
Bukkit/Spigot
ce85765d6a SPIGOT-323: Enchanting tables can no longer be force opened.
By: md_5 <git@md-5.net>
2015-01-05 09:59:20 +11:00
Bukkit/Spigot
bbc211faba Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-08 23:56:15 -05:00
Bukkit/Spigot
bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00
Bukkit/Spigot
599ec05858 Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-08-03 21:46:30 -04:00
Bukkit/Spigot
0ed310838f Add API to retrieve a players EnderChest. Adds BUKKIT-2016
By: feildmaster <admin@feildmaster.com>
2012-08-20 15:51:04 -05:00
Bukkit/Spigot
5601006d64 Add API to get a players experience to level (getExpToLevel). Implements BUKKIT-1906
This is the total experience one needs to gain a level.

By: feildmaster <admin@feildmaster.com>
2012-07-10 13:38:07 -05:00
Bukkit/Spigot
3bfc8591ab [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 10:54:30 -04:00