Commit graph

1296 commits

Author SHA1 Message Date
CraftBukkit/Spigot
90df44b39a SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
By: Brokkonaut <hannos17@gmx.de>
2021-03-20 09:01:18 +11:00
CraftBukkit/Spigot
cdb7cb852f Fix broken wandering traders
By: md_5 <git@md-5.net>
2021-03-20 08:55:48 +11:00
CraftBukkit/Spigot
9da047989c Repackage NMS
By: md_5 <git@md-5.net>
2021-03-16 09:00:00 +11:00
CraftBukkit/Spigot
18496e998f Repackage patches
By: md_5 <git@md-5.net>
2021-03-16 09:00:00 +11:00
CraftBukkit/Spigot
11d6de6800 #809: Add spawn and transform reasons for piglin zombification.
By: Nathat23 <nathat890@outlook.com>
2021-03-09 08:47:33 +11:00
CraftBukkit/Spigot
b2efd58164 Organise imports
By: md_5 <git@md-5.net>
2021-03-09 08:47:33 +11:00
CraftBukkit/Spigot
1ae7bcc4d0 #795: Add methods to modify the rate of regeneration and starvation
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:07 +11:00
CraftBukkit/Spigot
69c16ea666 #792: Add EntityExhaustionEvent
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:05 +11:00
CraftBukkit/Spigot
510efe562a SPIGOT-6307: Allow chest locks with legacy color codes to match against items with json colors
By: Nathan Wolf <nathan@elmakers.com>
2021-02-21 09:47:11 +11:00
CraftBukkit/Spigot
932b0a5bf6 #802: Add methods to modify despawn delay for wandering villagers
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-02-15 19:30:15 +11:00
CraftBukkit/Spigot
64ef04d7e4 SPIGOT-6362: ConcurrentModificationException: null --> Server Crash
By: md_5 <git@md-5.net>
2021-02-14 10:08:27 +11:00
CraftBukkit/Spigot
373ed1ddd5 SPIGOT-5228: Entities that are removed during chunk unloads are not
properly removed from the chunk.

This could lead to dead entities accumulating in memory over time if the
chunk never gets fully unloaded (as it is the case for chunks around the
spawn region).

The issue is that Minecraft processes the removal of these entities
during the next tick, when the chunk has already switched to state
INACCESSIBLE and can no longer be retrieved as usual.

For the purpose of removing dead entities from their still loaded but no
longer accessible chunk, this adds and uses a new method with which a
chunk can be accessed without checking its current state first.

By: blablubbabc <lukas@wirsindwir.de>
2021-02-14 09:24:23 +11:00
CraftBukkit/Spigot
98e0c5c715 SPIGOT-6347: Nether Portals Default to Nether, even in Nether
By: md_5 <git@md-5.net>
2021-02-13 10:31:49 +11:00
CraftBukkit/Spigot
47abd03c46 EntityDropItemEvent for cats should continue to next stack if cancelled
Thanks @Black-Hole

By: md_5 <git@md-5.net>
2021-02-07 08:45:11 +11:00
CraftBukkit/Spigot
8b277612a9 SPIGOT-6208: Throwing ender pearl into end portal causes NPE
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-31 14:26:05 +11:00
CraftBukkit/Spigot
04c4f1b337 Add more checkstyle checks
By: md_5 <git@md-5.net>
2021-01-31 10:08:41 +11:00
CraftBukkit/Spigot
540be51514 Re-add missing StriderTemperatureChangeEvent
By: md_5 <git@md-5.net>
2021-01-29 20:00:43 +11:00
CraftBukkit/Spigot
022d868fa2 SPIGOT-6316: PlayerBedLeaveEvent implements Cancellable
By: md_5 <git@md-5.net>
2021-01-29 11:22:42 +11:00
CraftBukkit/Spigot
7405148b11 #789: Call EntityDropItemEvent when a wither rose is dropped
By: Nathat23 <nathat890@outlook.com>
2021-01-29 10:19:39 +11:00
CraftBukkit/Spigot
67905be24d SPIGOT-3789: Can't Remove Entity Equipment in Same Tick Spawned without using Consumer
By: md_5 <git@md-5.net>
2021-01-27 14:24:20 +11:00
CraftBukkit/Spigot
f7ff794ec7 SPIGOT-6315: Cats gifts dont call EntityDropItemEvent
By: md_5 <git@md-5.net>
2021-01-21 08:31:06 +11:00
CraftBukkit/Spigot
78ff16111e Update to Minecraft 1.16.5
By: md_5 <git@md-5.net>
2021-01-16 12:00:00 +11:00
CraftBukkit/Spigot
c54a66880b SPIGOT-6311: Don't calculate portal shapes for up/down directions
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-08 21:45:39 -05:00
CraftBukkit/Spigot
9bda60d8b4 SPIGOT-6296: Server crashes when burning something at y-level 0
By: md_5 <git@md-5.net>
2020-12-29 08:45:45 +11:00
CraftBukkit/Spigot
3e80d2e4ec SPIGOT-6273: Expose ItemFrame ItemDropChance through API
By: md_5 <git@md-5.net>
2020-12-28 08:58:39 +11:00
CraftBukkit/Spigot
2eda6f0b01 SPIGOT-6292: LivingEntity.setNoDamageTicks no longer functions
By: md_5 <git@md-5.net>
2020-12-28 08:28:57 +11:00
CraftBukkit/Spigot
59490dfe12 SPIGOT-6289: Fix setting entity equipment
By: md_5 <git@md-5.net>
2020-12-23 07:53:45 +11:00
CraftBukkit/Spigot
9f19f0b9c4 #772: Add API to set equipment silently
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-12-21 18:30:48 +11:00
CraftBukkit/Spigot
d9f5dbb3e6 #752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
By: Martoph <sager1018@gmail.com>
2020-11-26 09:36:57 +11:00
CraftBukkit/Spigot
fa835a16a8 SPIGOT-6244: /spawnpoint ignores angle
By: md_5 <git@md-5.net>
2020-11-18 08:13:56 +11:00
CraftBukkit/Spigot
658c0a284a SPIGOT-6186: Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error
By: md_5 <git@md-5.net>
2020-11-17 13:41:47 +11:00
CraftBukkit/Spigot
889488ff73 SPIGOT-6236: Vehicle passenger portal cooldown does not change
By: md_5 <git@md-5.net>
2020-11-17 12:29:51 +11:00
CraftBukkit/Spigot
d7c19c9eb7 SPIGOT-6240: Use correct portal search radius
By: md_5 <git@md-5.net>
2020-11-13 18:06:34 +11:00
CraftBukkit/Spigot
9616dbb128 #767: Add wait time modification for FishHook
By: Airtheon <Airtheonthesalion@gmail.com>
2020-11-06 18:49:15 +11:00
CraftBukkit/Spigot
f602441c1d SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds
By: Sander Knauff <sanderknauff@hotmail.com>
2020-11-06 18:46:21 +11:00
CraftBukkit/Spigot
7b5ac02c82 SPIGOT-6217: Missed PlayerEditBookEvent when editing books
By: md_5 <git@md-5.net>
2020-11-04 19:45:54 +11:00
CraftBukkit/Spigot
8a6781edb0 SPIGOT-6206: Use correct sender UUID for chat messages
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-03 19:02:28 +11:00
CraftBukkit/Spigot
6450eb0ab7 Update to Minecraft 1.16.4
By: md_5 <git@md-5.net>
2020-11-03 07:00:00 +11:00
CraftBukkit/Spigot
d66dca2a11 #762: Add TNTPrimed#setSource method
By: Jakub Zacek <dawon.cz@gmail.com>
2020-10-25 18:10:08 +11:00
CraftBukkit/Spigot
834e89eca0 SPIGOT-6193: Allow small fireballs to ignite players when MobGriefing is disabled
By: Sander Knauff <sanderknauff@hotmail.com>
2020-10-23 18:29:08 +11:00
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
071360817a #672: Add PersistentDataHolder to Chunk
By: Nesaak <52047222+Nesaak@users.noreply.github.com>
2020-10-17 17:37:49 +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
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
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
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