1496 Commits

Author SHA1 Message Date
Brokkonaut
7eb35643e2
SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled 2021-03-20 09:01:18 +11:00
md_5
9c32a8794c
Fix broken wandering traders 2021-03-20 08:55:48 +11:00
md_5
90d6905b15
Repackage NMS 2021-03-16 09:00:00 +11:00
md_5
69cf961d83
Repackage patches 2021-03-16 09:00:00 +11:00
Nathat23
f6a39d3ccf
#809: Add spawn and transform reasons for piglin zombification. 2021-03-09 08:47:33 +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
Martoph
509e523c57
#792: Add EntityExhaustionEvent 2021-03-04 08:28:05 +11:00
Nathan Wolf
b7eed25467
SPIGOT-6307: Allow chest locks with legacy color codes to match against items with json colors 2021-02-21 09:48:37 +11:00
DiamondDagger590
0cd8f19fb9
#802: Add methods to modify despawn delay for wandering villagers 2021-02-15 19:30:15 +11:00
md_5
d5c5d998af
SPIGOT-6362: ConcurrentModificationException: null --> Server Crash 2021-02-14 10:08:27 +11:00
blablubbabc
8c7d69fefc
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.
2021-02-14 09:25:34 +11:00
md_5
d97d91871d
SPIGOT-6347: Nether Portals Default to Nether, even in Nether 2021-02-13 10:33:17 +11:00
md_5
b9b0c4e4a4
EntityDropItemEvent for cats should continue to next stack if cancelled
Thanks @Black-Hole
2021-02-07 08:45:11 +11:00
Parker Hawke
085fe67aac
SPIGOT-6208: Throwing ender pearl into end portal causes NPE 2021-01-31 14:26:05 +11:00
md_5
aeb95e3a30
Add more checkstyle checks 2021-01-31 10:08:41 +11:00
md_5
8049146227
Re-add missing StriderTemperatureChangeEvent 2021-01-29 20:00:43 +11:00
md_5
058b4df95a
SPIGOT-6316: PlayerBedLeaveEvent implements Cancellable 2021-01-29 11:22:42 +11:00
Nathat23
08de4679f0
#789: Call EntityDropItemEvent when a wither rose is dropped 2021-01-29 10:19:39 +11:00
md_5
c3e684ef70
SPIGOT-3789: Can't Remove Entity Equipment in Same Tick Spawned without using Consumer 2021-01-27 14:24:20 +11:00
md_5
b5eb2f57ce
SPIGOT-6315: Cats gifts dont call EntityDropItemEvent 2021-01-21 08:31:06 +11:00
md_5
f3f30947e0
Update to Minecraft 1.16.5 2021-01-16 12:00:00 +11:00
Parker Hawke
7029c0a8f3
SPIGOT-6311: Don't calculate portal shapes for up/down directions 2021-01-08 21:45:39 -05:00
md_5
b5e5adc428
SPIGOT-6296: Server crashes when burning something at y-level 0 2020-12-29 08:45:45 +11:00
md_5
72c5e7477a
SPIGOT-6273: Expose ItemFrame ItemDropChance through API 2020-12-28 08:58:39 +11:00
md_5
9f2b92e58e
SPIGOT-6292: LivingEntity.setNoDamageTicks no longer functions 2020-12-28 08:28:57 +11:00
md_5
6917945f07
SPIGOT-6289: Fix setting entity equipment 2020-12-23 07:55:15 +11:00
Parker Hawke
878b43758d
#772: Add API to set equipment silently 2020-12-21 18:30:48 +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
md_5
4475707d74
SPIGOT-6244: /spawnpoint ignores angle 2020-11-18 08:13:56 +11:00
md_5
4b33c74995
SPIGOT-6186: Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error 2020-11-17 13:47:05 +11:00
md_5
2b3ca7264e
SPIGOT-6236: Vehicle passenger portal cooldown does not change 2020-11-17 12:29:51 +11:00
md_5
23618b2cb5
SPIGOT-6240: Use correct portal search radius 2020-11-13 18:06:34 +11:00
Airtheon
bc6a175eff
#767: Add wait time modification for FishHook 2020-11-06 18:51:48 +11:00
Sander Knauff
2fc37bcc05
SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds 2020-11-06 18:46:21 +11:00
md_5
3eb7236e44
SPIGOT-6217: Missed PlayerEditBookEvent when editing books 2020-11-04 19:45:54 +11:00
Mariell Hoversholm
6fd677caf2
SPIGOT-6206: Use correct sender UUID for chat messages 2020-11-03 19:02:28 +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
Sander Knauff
55a78ffbd7
SPIGOT-6193: Allow small fireballs to ignite players when MobGriefing is disabled 2020-10-23 18:29:08 +11:00
md_5
b8dd5ec216
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.
2020-10-18 07:24:10 +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
Nesaak
77c894a2ab
#672: Add PersistentDataHolder to Chunk 2020-10-17 17:41:56 +11:00
Shane Bee
29dd68eb99
#757: PoweredMinecart - add getter/setter for fuel 2020-10-13 18:59:56 +11:00
md_5
5c77bd2816
SPIGOT-6147: InventoryCloseEvent does not fire after closing player inventory 2020-10-01 19:07:54 +10:00
md_5
5da21f87d6
SPIGOT-6152: End exit gates in custom ends do not send back to overworld 2020-09-30 08:58:36 +10:00
md_5
1ee373fe28
SPIGOT-6157: Crash when PortalCreateEvent cancelled 2020-09-29 18:10:57 +10:00
SydMontague
a339310c48
#755: Fix NPE when calling getInventory() for virtual EnderChests 2020-09-27 11:47:50 +10:00
Shane Bee
f8d4da08e1
#743: LivingEntity - add methods for getting/setting invisibility 2020-09-19 17:48:58 +10:00
md_5
d5a7296002
SPIGOT-6063: ConsoleSender sending extra lines in Java 13+ 2020-09-12 09:05:20 +10:00