727 Commits

Author SHA1 Message Date
Doc
7aa02e3a31
SPIGOT-6615 Fix Glow Item Frame to use EntityTagMeta 2021-07-03 09:33:04 +10:00
Ibrahim Ansari
9ba1c67efc
#870: Add isTrusting/setTrusting to CraftOcelot. 2021-06-21 08:43:09 +10:00
VendoAU
a07e783a69
#865: Implement Villager#shakeHead 2021-06-14 19:15:13 +10:00
Martoph
3252ff189c
#863: Add LivingEntity#isClimbing 2021-06-14 19:11:46 +10:00
Bjarne Koll
85b8c1fda6
SPIGOT-6507: Implement 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 implements the hierarchy changes made in the bukkit
repository by representing the new hierarchy on the craftbukkit side
through the CraftAbstractSkeleton and the respective additions to the
skeleton implementation in regards to the stray conversion.

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.
2021-06-14 10:01:19 +10:00
konsolas
20d3e57c4e
#855: Add HumanEntity#getItemInUse and Material#getSlipperiness 2021-06-13 08:59:59 +10:00
Nathat23
4ece3ff36d
#856: Add methods to check if item is the breed item for an entity 2021-06-13 08:37:53 +10:00
md_5
dd4bec5f13
Add additional validation to Player#breakBlock 2021-06-13 08:27:57 +10:00
md_5
bc835ae644
SPIGOT-6532: Fix Entity#setGlowing 2021-06-13 08:26:10 +10:00
md_5
eeae1b1995
SPIGOT-6522: ItemStack on cursor is always AIR 2021-06-12 16:24:52 +10:00
Parker Hawke
6fdecf208d
#853: Implement Player#breakBlock() 2021-06-12 08:30:49 +10:00
md_5
a3df386f7c
Fix NPE with Entity.getNearbyEntities 2021-06-11 18:49:04 +10:00
md_5
e2f5ea34e9
Update to Minecraft 1.17 2021-06-11 15:00:00 +10:00
blablubbabc
a0149bf165
SPIGOT-6480: Players cannot take books from lecterns that were opened by plugins 2021-05-29 18:52:52 +10:00
blablubbabc
5912843493
SPIGOT-6478: Double chests opened by plugins don't play their closing animation. 2021-05-29 08:41:36 +10:00
Lars Dormans
fd905ab527
#703: Add piglin bartering API 2021-05-28 09:02:42 +10:00
DerFrZocker
32e4086604
SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame 2021-05-15 10:11:40 +10:00
retrooper
8d3051c568
#833: Add Player#getPing to access the player's ping 2021-05-09 17:20:53 +10:00
Julian van den Berkmortel
69c8e78509
SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API 2021-04-28 11:53:21 +10:00
Julian van den Berkmortel
1e1a5b75b7
SPIGOT-6388: Add API to get and set the state of the "Shulker" entity 2021-04-19 18:47:47 +10:00
md_5
170d6febd5
SPIGOT-6417: Add Creeper fuse ticks API 2021-04-11 17:32:26 +10:00
md_5
90d6905b15
Repackage NMS 2021-03-16 09:00:00 +11:00
md_5
0c24068ad6
Organise imports 2021-03-09 08:47:33 +11:00
Martoph
a021e334aa
#795: Add methods to modify the rate of regeneration and starvation 2021-03-04 08:28:07 +11:00
Parker Hawke
ea050e6e98
#807: Add Player#sendBlockDamage() 2021-02-24 20:21:39 +11:00
DiamondDagger590
0cd8f19fb9
#802: Add methods to modify despawn delay for wandering villagers 2021-02-15 19:30:15 +11:00
md_5
aeb95e3a30
Add more checkstyle checks 2021-01-31 10:08:41 +11:00
Parker Hawke
0bad58f1e2
#783: Expand the FishHook API 2021-01-23 12:23:20 +11:00
md_5
f3f30947e0
Update to Minecraft 1.16.5 2021-01-16 12:00:00 +11:00
Auxilor
f1187a24c7
#778: Added get/set ItemStack methods to trident 2021-01-02 08:49:22 +11:00
md_5
72c5e7477a
SPIGOT-6273: Expose ItemFrame ItemDropChance through API 2020-12-28 08:58:39 +11:00
montlikadani
22d7fcc98f
SPIGOT-6256: Add method to check if the entity is in water 2020-12-21 18:20:54 +11:00
Martoph
424598d294
#752: Add the ability to retrieve hit, step, fall, and other sounds from blocks. 2020-11-26 09:36:57 +11:00
Phoenix616
167ff59173
#770: Send messages without sender with SYSTEM type again
This was the behaviour before the 1.16 update and made it so that any
 message sent by a plugin was treated as a system message allowing the
 player to disable chat messages while keeping access to commands.

After 1.16 disabling the chat also disabled any plugin output, this
 restores the original behaviour.
2020-11-19 10:16:26 +11:00
Airtheon
009f0ba0ef
#769: Fix FishHook.maxWaitTime 2020-11-09 18:21:10 +11:00
Airtheon
bc6a175eff
#767: Add wait time modification for FishHook 2020-11-06 18:51:48 +11:00
md_5
3af81c7179
Update to Minecraft 1.16.4 2020-11-03 07:00:00 +11:00
Jakub Zacek
9da3b5bff8
#762: Add TNTPrimed#setSource method 2020-10-25 18:10:08 +11:00
Bjarne Koll
9e91bcabf2
SPIGOT-6194: Read correct nbt compound into chunk pdc
Previously spigots chunk pdc loading logic would read the entire chunk
nbt compound into the persistent data container of the chunk instead of
just reading the "BukkitValues".

Furthermore this commit also now correctly checks if the nbt compounds
of entities, tile entities and chunks actually have a value for the
"BukkitValues" key, as the previous 'getCompound' call would always
return an instance, the null check was useless. This commit now uses
'get', which returns null if no key exists and then runs an instanceof
check to both validate a non-null instance and an NBTTagCompound
instance.
2020-10-18 07:01:15 +11:00
Mariell Hoversholm
04639f5a2f
#759: Allow sending messages from specific UUIDs 2020-10-17 17:46:14 +11:00
Shane Bee
055870c4bc
#758: Item - add getters/setters for owner/thrower 2020-10-14 19:56:14 +11:00
Shane Bee
29dd68eb99
#757: PoweredMinecart - add getter/setter for fuel 2020-10-13 18:59:56 +11:00
md_5
1f4693a8c3
SPIGOT-6168: Fix error with Player.getBedSpawnLocation when world is unloaded while server running 2020-10-06 18:36:43 +11:00
Shane Bee
f8d4da08e1
#743: LivingEntity - add methods for getting/setting invisibility 2020-09-19 17:48:58 +10:00
md_5
bf3d720714
Update to Minecraft 1.16.3 2020-09-11 07:00:00 +10:00
Martoph
39806409e7
#697: Add ArrowBodyCountChangeEvent 2020-09-02 18:59:17 +10:00
Parker Hawke
7d31adb5f7
#734: Add EnderSignal ItemStack API 2020-08-28 12:35:14 +10:00
md_5
bfea455968
SPIGOT-6111: NPE in CraftHumanEntity#openWorkbench & CraftHumanEntity#openEnchanting 2020-08-27 18:32:52 +10:00
Parker Hawke
eae1594350
#721: Add EntityCategory API to LivingEntity 2020-08-27 11:42:39 +10:00
Martoph
850e7b1400
SPIGOT-974: Add ArmorStand locking API 2020-08-23 09:53:19 +10:00