Commit graph

3529 commits

Author SHA1 Message Date
CraftBukkit/Spigot
d719a30af5 Rename Chunk "BukkitValues" key to "ChunkBukkitValues"
This will discard extra data increasing the size of the chunk from users affected by the bug in the previous commits.
The impact of this (affecting all users) is likely to be much higher than users with plugins relying on an API introduced within the last 12 hours.

By: md_5 <git@md-5.net>
2020-10-18 07:24:10 +11:00
CraftBukkit/Spigot
0632e375cf 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.

By: Bjarne Koll <lynxplay101@gmail.com>
2020-10-18 07:01:15 +11:00
CraftBukkit/Spigot
f93a843c80 Misc maven build updates
By: md_5 <git@md-5.net>
2020-10-17 17:51:10 +11:00
CraftBukkit/Spigot
b643889355 #759: Allow sending messages from specific UUIDs
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-10-17 17:43:03 +11:00
CraftBukkit/Spigot
071360817a #672: Add PersistentDataHolder to Chunk
By: Nesaak <52047222+Nesaak@users.noreply.github.com>
2020-10-17 17:37:49 +11:00
CraftBukkit/Spigot
a3cf5aea1a #758: Item - add getters/setters for owner/thrower
By: Shane Bee <shanebolenback@me.com>
2020-10-14 19:56:14 +11:00
CraftBukkit/Spigot
f265542e4f #757: PoweredMinecart - add getter/setter for fuel
By: Shane Bee <shanebolenback@me.com>
2020-10-13 18:59:56 +11:00
CraftBukkit/Spigot
0410e56149 SPIGOT-6175: Fix generating loot tables for entities
By: md_5 <git@md-5.net>
2020-10-11 10:23:10 +11:00
CraftBukkit/Spigot
5eb09a7d93 SPIGOT-6168: Fix error with Player.getBedSpawnLocation when world is unloaded while server running
By: md_5 <git@md-5.net>
2020-10-06 18:36:43 +11:00
CraftBukkit/Spigot
753bccda7c SPIGOT-6130: Fix API loot table generation with certain contexts
By: md_5 <git@md-5.net>
2020-10-03 10:27:00 +10:00
CraftBukkit/Spigot
e54c8b2f3c SPIGOT-6147: InventoryCloseEvent does not fire after closing player inventory
By: md_5 <git@md-5.net>
2020-10-01 19:07:54 +10:00
CraftBukkit/Spigot
c94a28d0d5 SPIGOT-6152: End exit gates in custom ends do not send back to overworld
By: md_5 <git@md-5.net>
2020-09-30 08:58:36 +10:00
CraftBukkit/Spigot
8bd3d55e00 SPIGOT-6157: Crash when PortalCreateEvent cancelled
By: md_5 <git@md-5.net>
2020-09-29 18:10:57 +10:00
CraftBukkit/Spigot
0920dec75a #755: Fix NPE when calling getInventory() for virtual EnderChests
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-09-27 11:47:50 +10:00
CraftBukkit/Spigot
08721acbaa Increase outdated build delay
By: md_5 <git@md-5.net>
2020-09-25 17:12:30 +10:00
CraftBukkit/Spigot
9bf5c9a30b #754: Fix pre-1.16 serialized SkullMeta being broken on 1.16+, losing textures
The underlying issue is a change by Mojang how UUID are stored in NBT.
This patch will have CraftBukkit convert the format during
deserialization.

By: SydMontague <sydmontague@web.de>
2020-09-25 17:09:59 +10:00
CraftBukkit/Spigot
ec76385d2c #743: LivingEntity - add methods for getting/setting invisibility
By: Shane Bee <shanebolenback@me.com>
2020-09-19 17:44:48 +10:00
CraftBukkit/Spigot
405ea090eb #753: RecipeIterator#hasNext will now accurately represent if the current iterator has a next item.
By: Martoph <sager1018@gmail.com>
2020-09-18 18:43:48 +10:00
CraftBukkit/Spigot
0ba5779850 #746: Add Fluid types / tags
By: Martoph <sager1018@gmail.com>
2020-09-14 19:39:43 +10:00
CraftBukkit/Spigot
3c76d377fa SPIGOT-6063: ConsoleSender sending extra lines in Java 13+
By: md_5 <git@md-5.net>
2020-09-12 09:05:20 +10:00
CraftBukkit/Spigot
c6d968eda2 SPIGOT-5794: Only skip interact event if position, hand and itemstack are equal
By: Brokkonaut <hannos17@gmx.de>
2020-09-12 08:36:10 +10:00
CraftBukkit/Spigot
5425f6ba43 Update to Minecraft 1.16.3
By: md_5 <git@md-5.net>
2020-09-11 07:00:00 +10:00
CraftBukkit/Spigot
64a5548668 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-09-11 06:51:04 +10:00
CraftBukkit/Spigot
ae8717b151 SPIGOT-6125: Grass path should only fade when it is invalid at that location
By: Brokkonaut <hannos17@gmx.de>
2020-09-08 12:17:23 +10:00
CraftBukkit/Spigot
b2539c31e6 SPIGOT-6123: Call EntityDamageEvent when a shulker bullet gets damaged
By: Brokkonaut <hannos17@gmx.de>
2020-09-06 18:13:21 +10:00
CraftBukkit/Spigot
0bf6957475 SPIGOT-6122: Revert "SPIGOT-5794: Do not skip PlayerInteractEvent"
This reverts commit af17b5fc41.

By: md_5 <git@md-5.net>
2020-09-04 06:39:01 +10:00
CraftBukkit/Spigot
48610ab3f5 #745: Fix getLocation for Cartography Table and Stonecutter
By: Phoenix616 <max@themoep.de>
2020-09-03 18:37:55 +10:00
CraftBukkit/Spigot
2ee7427806 #744: Add ability to get location from smithing inventory
By: Phoenix616 <max@themoep.de>
2020-09-03 08:18:30 +10:00
CraftBukkit/Spigot
4f32c945c9 #697: Add ArrowBodyCountChangeEvent
By: Martoph <sager1018@gmail.com>
2020-09-02 18:52:40 +10:00
CraftBukkit/Spigot
5d37d3d19d #718: Add consumed item, hand and consumeItem boolean to EntityShootBowEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-31 18:39:12 +10:00
CraftBukkit/Spigot
393115aca2 SPIGOT-6025: Do not NPE when target world of a compass no longer exists
By: Brokkonaut <hannos17@gmx.de>
2020-08-31 17:12:48 +10:00
CraftBukkit/Spigot
af17b5fc41 SPIGOT-5794: Do not skip PlayerInteractEvent
By: Brokkonaut <hannos17@gmx.de>
2020-08-29 14:07:32 +10:00
CraftBukkit/Spigot
6e983a8106 #740: Fix EntityDamageEvent not being called for non EntityDamageSource for End Crystals
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-08-28 18:41:34 +10:00
CraftBukkit/Spigot
ca123b13ab SPIGOT-5953, SPIGOT-5914: Use LinkedHashMap to keep captured block states in order
By: Brokkonaut <hannos17@gmx.de>
2020-08-28 18:32:44 +10:00
CraftBukkit/Spigot
b0f809f617 #734: Add EnderSignal ItemStack API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-28 12:35:14 +10:00
CraftBukkit/Spigot
269b497c90 SPIGOT-6113: Ender Pearls thrown into portals that lead to disabled dimensions crash the server
By: Martoph <sager1018@gmail.com>
2020-08-28 12:28:06 +10:00
CraftBukkit/Spigot
de8eaf9469 SPIGOT-6114: PlayerRespawnEvent player's location changed before event called
By: md_5 <git@md-5.net>
2020-08-28 12:27:08 +10:00
CraftBukkit/Spigot
317d026541 SPIGOT-6115: Items being deleted on pick up with full inventory
By: md_5 <git@md-5.net>
2020-08-28 12:26:24 +10:00
CraftBukkit/Spigot
d5634301f1 SPIGOT-6109: Improve loot handling
By: md_5 <git@md-5.net>
2020-08-27 19:00:36 +10:00
CraftBukkit/Spigot
dd4241f9af SPIGOT-6111: NPE in CraftHumanEntity#openWorkbench & CraftHumanEntity#openEnchanting
By: md_5 <git@md-5.net>
2020-08-27 18:32:52 +10:00
CraftBukkit/Spigot
e0cf9c89be Add note to CONTRIBUTING.md to suggest keeping commit messages / titles the same
By: md_5 <git@md-5.net>
2020-08-27 11:46:34 +10:00
CraftBukkit/Spigot
4cff3eb04c #721: Add EntityCategory API to LivingEntity
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:42:39 +10:00
CraftBukkit/Spigot
c49ac166f7 #702: Add Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:27:13 +10:00
CraftBukkit/Spigot
b734aa8117 #716: Fix barrel open API playing sound twice
By: jameslfc19 <jameslfc19@gmail.com>
2020-08-27 11:16:27 +10:00
CraftBukkit/Spigot
88604e90cd #711: Add Full RGB support to the console
This is a fairly hacky way to do this - primarily because the Ansi library doesnt support RGB - however the VT100 codes here are the standard for RGB terminals.

By: Narimm <benjicharlton@gmail.com>
2020-08-27 11:11:40 +10:00
CraftBukkit/Spigot
2ab3e90ea5 SPIGOT-6101: Store persist state of entities
By: Brokkonaut <hannos17@gmx.de>
2020-08-26 18:20:58 +10:00
CraftBukkit/Spigot
580014ebbf SPIGOT-6103: Summoning an Eye of Ender throw an Error
By: md_5 <git@md-5.net>
2020-08-26 18:20:19 +10:00
CraftBukkit/Spigot
ce3cd796d5 SPIGOT-6099: PlayerPortalEvent.setTo ignores world for end portal travel
By: md_5 <git@md-5.net>
2020-08-26 18:14:49 +10:00
CraftBukkit/Spigot
0dc71b0b4c SPIGOT-6097: Zoglins not attacking mobs
By: md_5 <git@md-5.net>
2020-08-23 19:14:58 +10:00
CraftBukkit/Spigot
8a80efc01d SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:19 +10:00