Commit Graph

458 Commits

Author SHA1 Message Date
Bukkit/Spigot 3835d0824b #633: Add isTrusting/setTrusting to Ocelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2021-06-21 08:40:18 +10:00
Bukkit/Spigot e0d1266d3e #631: Add Villager#shakeHead
By: VendoAU <reillyreaby@gmail.com>
2021-06-14 19:13:16 +10:00
Bukkit/Spigot fd771b653b #629: Add LivingEntity#isClimbing
By: Martoph <sager1018@gmail.com>
2021-06-14 19:10:55 +10:00
Bukkit/Spigot 6a59a19dde SPIGOT-6507: Introduce abstract skeleton and stray conversion
The previous layout and class hierarchy of the skeleton API defined
variances of the skeleton, such as the wither skeleton or the stray, as
child types of the normal skeleton variance, which is technically
incorrect, yet did not produce any specific issue as the normal skeleton
variance did not have any unique logic.

With the introduction of powdered snow in the 1.17 update, the normal
skeleton variance now has unique logic, specifically the conversion to
a stay when stuck inside powdered snow, which cannot be represented in
the current API layout due to the prior mentioned hierarchy.

This commit introduces the AbstractSkeleton interface, which follows the
concept of other abstract interfaces like AbstractArrow and serves as a
common parent to the existing skeleton variances. Furthermore this
commit introduces the previously mentioned stray conversion to the
normal skeleton variance.

This commit does not break ABI yet breaks backwards compatibility due to
the mentioned hierarchy changes. Plugins that previously used the
Skelton interface to compute whether or not an entity is skeleton-like
through instanceOf checks will now only match the normal skeleton variance
instead of any skeleton-like entity.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-06-14 10:00:57 +10: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 e1c30137fb #622: Add methods to check if item is the breed item for an entity
By: Nathat23 <nathat890@outlook.com>
2021-06-13 08:37:51 +10:00
Bukkit/Spigot f798154234 Clarify Player#breakBlock only works for blocks in the same world
By: md_5 <git@md-5.net>
2021-06-13 08:28:21 +10:00
Bukkit/Spigot 9777d23bd5 #619: Add Player#breakBlock()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-12 08:29:40 +10: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 c6409a81fd #522: Add piglin bartering API
By: Lars Dormans <lars.dormans@live.nl>
2021-05-28 08:59:13 +10:00
Bukkit/Spigot f8fcba26b3 #606: Add Player#getPing to access the player's ping
By: retrooper <retrooperdev@gmail.com>
2021-05-09 17:20:50 +10:00
Bukkit/Spigot 0158dbb6fe SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-28 11:52:04 +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 aa829fc936 SPIGOT-6388: Add API to get and set the state of the "Shulker" entity
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-19 18:47:42 +10:00
Bukkit/Spigot e829123b5e SPIGOT-6417: Add Creeper fuse ticks API
By: md_5 <git@md-5.net>
2021-04-11 17:32:21 +10: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 cfa2f67251 #588: Add Player#sendBlockDamage()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-02-24 20:21:37 +11:00
Bukkit/Spigot 19b6eb1dda #587: Fix various javadoc typos
By: Matthew Sanders <msanders5984@gmail.com>
2021-02-22 19:36:26 +11:00
Bukkit/Spigot d7224acea0 #581: Add methods to modify despawn delay for wandering villagers
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-02-15 19:30:12 +11:00
Bukkit/Spigot 7502690157 #571: Expand the FishHook API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-23 12:23:32 +11:00
Bukkit/Spigot f338bff9e3 #568: Added get/set ItemStack methods to trident
By: Auxilor <will@willfp.com>
2021-01-02 08:49:20 +11:00
Bukkit/Spigot 48294447ad SPIGOT-6273: Expose ItemFrame ItemDropChance through API
By: md_5 <git@md-5.net>
2020-12-28 08:58:51 +11: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 8079a5520c #559: Add wait time modification for FishHook
By: Airtheon <Airtheonthesalion@gmail.com>
2020-11-06 18:47:40 +11:00
Bukkit/Spigot 08e19a69af #557: Add TNTPrimed#setSource method
By: Jakub Zacek <dawon.cz@gmail.com>
2020-10-25 18:10:02 +11:00
Bukkit/Spigot 54b0a6d645 #555: Item - add getters/setters for owner/thrower
By: Shane Bee <shanebolenback@me.com>
2020-10-14 19:56:11 +11:00
Bukkit/Spigot 32e338b513 #554: PoweredMinecart - add getter/setter for fuel
By: Shane Bee <shanebolenback@me.com>
2020-10-13 18:59:25 +11:00
Bukkit/Spigot fbccd65ba8 #548: LivingEntity - add methods for getting/setting invisibility
By: Shane Bee <shanebolenback@me.com>
2020-09-19 17:43:52 +10: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 dcad73811e #519: Add ArrowBodyCountChangeEvent
By: Martoph <sager1018@gmail.com>
2020-09-02 18:52:37 +10:00
Bukkit/Spigot aee1e203cd #545: Add EnderSignal ItemStack API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-28 12:35:11 +10:00
Bukkit/Spigot c642284c9c #535: Add EntityCategory API to LivingEntity
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:42:36 +10:00
Bukkit/Spigot 6ecfb063de SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:22 +10: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 43a2f06e98 SPIGOT-4705: Revamp Ageable interface and add Breedable interface
By: Shane Bee <shanebolenback@me.com>
2020-08-13 11:18:50 +10:00
Bukkit/Spigot 42b72d7c63 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +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 8c8b0c69df SPIGOT-5899: Hoglins API similar to Piglins
By: md_5 <git@md-5.net>
2020-06-30 12:02:50 +10:00
Bukkit/Spigot c689413d27 #512: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 09:53:40 +10:00
Bukkit/Spigot e34cd0f4b9 SPIGOT-5803: Implement the missing methods for the Piglin API.
By: ceezuns <49824660+ceezuns@users.noreply.github.com>
2020-06-29 09:58:07 +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 412ebacb74 SPIGOT-5860: Item.setItemStack should be NotNull
By: md_5 <git@md-5.net>
2020-06-28 08:50:31 +10:00
Bukkit/Spigot db62df707b #514: Add visibility and fixed API for ItemFrames
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-06-26 10:58:14 +10:00
Bukkit/Spigot 95cf31d8b8 SPIGOT-5803: Add Piglin/Zoglin Baby API
By: md_5 <git@md-5.net>
2020-06-25 19:58:19 +10:00
Bukkit/Spigot 65f4ce05ac SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
2020-06-25 10:00:00 +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 3fd0ae0a81 SPIGOT-5782: Set Arrow Launched From Crossbow
By: md_5 <git@md-5.net>
2020-06-24 10:05:28 +10:00