Commit graph

1529 commits

Author SHA1 Message Date
CraftBukkit/Spigot
93f615157d #893: Add Crafting methods to API
By: James Peters <jameslfc19@gmail.com>
2021-07-22 11:35:48 +10:00
CraftBukkit/Spigot
2ccd460e09 SPIGOT-6663: Chicken Jockeys chickens don't despawn
By: md_5 <git@md-5.net>
2021-07-22 09:53:26 +10:00
CraftBukkit/Spigot
bfc74e8628 SPIGOT-6545: Unable to set Guardian target via API while awareness is disabled
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:36:54 +10:00
CraftBukkit/Spigot
0474cc8833 SPIGOT-6369: Add ItemStack to HangingPlaceEvent
By: DerFrZocker <derrieple@gmail.com>
2021-07-21 09:32:54 +10:00
CraftBukkit/Spigot
8650786dad SPIGOT-6645: Call EntityChangeBlockEvent before PlayerHarvestBlockEvent
By: Brokkonaut <hannos17@gmx.de>
2021-07-19 18:54:13 +10:00
CraftBukkit/Spigot
fd8748b4bd SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent
By: md_5 <git@md-5.net>
2021-07-18 11:08:18 +10:00
CraftBukkit/Spigot
5eb7a2ed61 SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron
By: md_5 <git@md-5.net>
2021-07-18 10:14:55 +10:00
CraftBukkit/Spigot
59f5a7ab59 SPIGOT-6653: Canceling snow bucket placement removes snow from bucket
By: md_5 <git@md-5.net>
2021-07-18 10:06:38 +10:00
CraftBukkit/Spigot
96ffc08c35 #874: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+Rabbitual@users.noreply.github.com>
2021-07-17 11:19:51 +10:00
CraftBukkit/Spigot
215fa0caef SPIGOT-6649: Call BlockFadeEvent when Nylium fades to Netherrack
By: Brokkonaut <hannos17@gmx.de>
2021-07-15 20:29:38 +10:00
CraftBukkit/Spigot
a061943cac SPIGOT-5561: Warning in logs when changing a Mob Spawner to Air on chunk load
By: DerFrZocker <derrieple@gmail.com>
2021-07-13 19:22:27 +10:00
CraftBukkit/Spigot
18a453f567 SPIGOT-6637: Revert "#874: Add FurnaceStartSmeltEvent"
This reverts commit 38faf28378.

By: md_5 <git@md-5.net>
2021-07-11 12:26:27 +10:00
CraftBukkit/Spigot
81ee774c37 SPIGOT-6623: Missing API reasons for entity freezing
By: Doc <nachito94@msn.com>
2021-07-11 09:32:27 +10:00
CraftBukkit/Spigot
38faf28378 #874: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+rabbitual@users.noreply.github.com>
2021-07-11 09:26:46 +10:00
CraftBukkit/Spigot
413825611f SPIGOT-5560, SPIGOT-6574, SPIGOT-6632: Remove no longer needed tile entity fix
By: DerFrZocker <derrieple@gmail.com>
2021-07-11 09:05:59 +10:00
CraftBukkit/Spigot
0a1df9ec02 SPIGOT-6624: Explosions do not destroy blocks out of vanilla heights in custom dimensions
By: dYens <dani_raiders@hotmail.com>
2021-07-07 07:27:16 +10:00
CraftBukkit/Spigot
e8c9836ec9 Update to Minecraft 1.17.1
By: md_5 <git@md-5.net>
2021-07-07 00:00:00 +10:00
CraftBukkit/Spigot
0392f45e9c Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-07-06 22:16:50 +10:00
CraftBukkit/Spigot
917e89ed06 SPIGOT-5710: POI data mismatch when cancelling BlockPlaceEvent for villager workstations
By: DerFrZocker <derrieple@gmail.com>
2021-07-03 15:39:52 +10:00
CraftBukkit/Spigot
bc5ed0e911 SPIGOT-6616: Cancellable StriderTemperatureChangeEvent
By: md_5 <git@md-5.net>
2021-07-03 09:36:51 +10:00
CraftBukkit/Spigot
5e5d47856a SPIGOT-6596: Remove redundant code
By: md_5 <git@md-5.net>
2021-06-30 19:29:17 +10:00
CraftBukkit/Spigot
bfa7716ca1 SPIGOT-6613: Missing BlockIgniteEvent for candles + projectiles
By: md_5 <git@md-5.net>
2021-06-30 18:56:27 +10:00
CraftBukkit/Spigot
46a09d53f1 #870: Add isTrusting/setTrusting to CraftOcelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2021-06-21 08:40:43 +10:00
CraftBukkit/Spigot
66df1397b3 Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
By: md_5 <git@md-5.net>
2021-06-20 09:27:32 +10:00
CraftBukkit/Spigot
41524cf726 Fix PrepareItemCraftEvent#isRepair
By: md_5 <git@md-5.net>
2021-06-20 09:03:27 +10:00
CraftBukkit/Spigot
453d93caa5 SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly
By: md_5 <git@md-5.net>
2021-06-20 08:48:15 +10:00
CraftBukkit/Spigot
64174260d1 SPIGOT-6583: Throwing eggs doesn't make sounds
By: md_5 <git@md-5.net>
2021-06-20 08:38:01 +10:00
CraftBukkit/Spigot
bcaff2755a SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
By: md_5 <git@md-5.net>
2021-06-19 08:46:31 +10:00
CraftBukkit/Spigot
fc07fa5704 SPIGOT-6576: BlockExpEvent does not show XP when breaking a furnace
By: md_5 <git@md-5.net>
2021-06-19 08:45:08 +10:00
CraftBukkit/Spigot
4b86eeff64 SPIGOT-6570: Missing InventoryType: COMPOSTER
By: md_5 <git@md-5.net>
2021-06-17 08:29:15 +10:00
CraftBukkit/Spigot
df28f86cce SPIGOT-6562: Add more specific sculk sensor event
By: md_5 <git@md-5.net>
2021-06-16 08:34:34 +10:00
CraftBukkit/Spigot
c751b9c098 SPIGOT-6542: Fix counting players with fauxSleeping = true
By: Ivan R <namelessftw1206@hotmail.com>
2021-06-15 12:44:34 +10:00
CraftBukkit/Spigot
e4f5bec8b3 SPIGOT-6561: Add events for dripleaf tilting
By: md_5 <git@md-5.net>
2021-06-15 08:49:10 +10:00
CraftBukkit/Spigot
46666cb5a8 SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta
By: md_5 <git@md-5.net>
2021-06-14 19:37:21 +10:00
CraftBukkit/Spigot
46c18bc4d5 #865: Implement Villager#shakeHead
By: VendoAU <reillyreaby@gmail.com>
2021-06-14 19:13:37 +10:00
CraftBukkit/Spigot
967b0303f3 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.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-06-14 10:01:19 +10:00
CraftBukkit/Spigot
1b34737612 SPIGOT-6540: Firework rockets not crafting into flight duration 1
By: md_5 <git@md-5.net>
2021-06-13 17:59:01 +10:00
CraftBukkit/Spigot
d5a68b79c1 SPIGOT-6526: World entities are not populated when plugin onEnable is called
By: md_5 <git@md-5.net>
2021-06-13 15:05:32 +10:00
CraftBukkit/Spigot
f7478ccc32 SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-13 08:43:21 +10:00
CraftBukkit/Spigot
47c7562765 Restore 1.16.5 behaviour of InventoryDragEvent being called even when a single item is 'dragged' to its own slot
Ideally this would now be an InventoryClickEvent instead, but that is not so easy with the current structure.
See https://www.spigotmc.org/threads/510208/page-9#post-4185501 for further info.

By: md_5 <git@md-5.net>
2021-06-12 20:19:41 +10:00
CraftBukkit/Spigot
d57a6b8cc2 SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled
By: md_5 <git@md-5.net>
2021-06-12 19:44:31 +10:00
CraftBukkit/Spigot
544ec40369 Fix missing PlayerEditBookEvent
By: md_5 <git@md-5.net>
2021-06-12 16:14:12 +10:00
CraftBukkit/Spigot
8797975de5 SPIGOT-6513: Placing ItemStack in Inventory causes InventoryAction.NOTHING
By: md_5 <git@md-5.net>
2021-06-12 15:23:44 +10:00
CraftBukkit/Spigot
1daedfe082 SPIGOT-6519: Fix end gateway teleports
By: md_5 <git@md-5.net>
2021-06-12 11:07:06 +10:00
CraftBukkit/Spigot
0e95cf49fe SPIGOT-6510: Bukkit#createMap throws NullPointerException
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 08:25:43 +10:00
CraftBukkit/Spigot
536256d6ff SPIGOT-6508: Rename conflicted getServer
By: md_5 <git@md-5.net>
2021-06-11 21:33:49 +10:00
CraftBukkit/Spigot
dd358f1352 SPIGOT-6506: Fix crash with custom inventories
By: md_5 <git@md-5.net>
2021-06-11 19:10:28 +10:00
CraftBukkit/Spigot
fcf15f1048 Fix second usage of worldGenSettings just in case
By: md_5 <git@md-5.net>
2021-06-11 16:47:40 +10:00
CraftBukkit/Spigot
2d39ef0bc5 SPIGOT-6504: Fix generating fresh worlds
By: md_5 <git@md-5.net>
2021-06-11 16:16:36 +10:00
CraftBukkit/Spigot
b3a8254758 Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
CraftBukkit/Spigot
023eff1b0e Fix inconsistent commands
By: md_5 <git@md-5.net>
2021-06-08 14:18:54 +10:00
CraftBukkit/Spigot
ee04dc8508 SPIGOT-6492: PortalCreateEvent#getBlocks() returns not all blocks by reason fire
By: DerFrZocker <derrieple@gmail.com>
2021-06-07 18:39:30 +10:00
CraftBukkit/Spigot
1ac55ed273 SPIGOT-6487: Fix issue with villagers picking up items in certain situations
By: md_5 <git@md-5.net>
2021-06-03 12:14:36 +10:00
CraftBukkit/Spigot
e42f86eb2d Remove usage of Java 11 method not caught by animal sniffer
By: md_5 <git@md-5.net>
2021-06-01 20:10:47 +10:00
CraftBukkit/Spigot
2784d9c66a SPIGOT-6483: Fix cancelling EntityPickupEvent for villagers
By: md_5 <git@md-5.net>
2021-06-01 18:52:49 +10:00
CraftBukkit/Spigot
14af2c0a70 SPIGOT-6482: Baby piglins will pick up more items than vanilla
By: md_5 <git@md-5.net>
2021-06-01 18:06:50 +10:00
CraftBukkit/Spigot
d5fb854202 SPIGOT-6480: Players cannot take books from lecterns that were opened by plugins
By: blablubbabc <lukas@wirsindwir.de>
2021-05-29 18:52:49 +10:00
CraftBukkit/Spigot
4929e2a1d9 #703: Add piglin bartering API
By: Lars Dormans <lars.dormans@live.nl>
2021-05-28 08:59:21 +10:00
CraftBukkit/Spigot
07f924343f SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
By: DerFrZocker <derrieple@gmail.com>
2021-05-25 08:24:08 +10:00
CraftBukkit/Spigot
9111166484 Make Vanilla /list respect Vanish API
By: md_5 <git@md-5.net>
2021-05-20 08:31:32 +10:00
CraftBukkit/Spigot
097e647d7a SPIGOT-5569: Call WorldInitEvent before any chunks are getting generated
By: DerFrZocker <derrieple@gmail.com>
2021-05-18 08:14:59 +10:00
CraftBukkit/Spigot
fac154e1cd #816: Prevent duplicate slash removal for console / block commands
By: md_5 <git@md-5.net>
2021-05-17 18:09:13 +10:00
CraftBukkit/Spigot
b19314a834 #827: Trigger vanilla dimension advancements in non-main worlds
By: Kermina Awad <kerminaawad@gmail.com>
2021-05-15 10:06:25 +10:00
CraftBukkit/Spigot
dfc592aec5 SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy
By: Martoph <sager1018@gmail.com>
2021-05-11 18:33:28 +10:00
CraftBukkit/Spigot
c3777ce7e7 SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
By: DerFrZocker <derrieple@gmail.com>
2021-05-11 08:18:34 +10:00
CraftBukkit/Spigot
6f87ada41c SPIGOT-6452: Call EntityPickupItemEvent for villagers
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-05-09 16:57:25 +10:00
CraftBukkit/Spigot
3df6aee27f #776: Add ability to cancel ProjectileHitEvent
By: Martoph <sager1018@gmail.com>
2021-05-09 16:51:44 +10:00
CraftBukkit/Spigot
9d5bc88891 SPIGOT-6200: Improve entity events when summon command is used
* Calls the LightningStrikeEvent for summoned lightning
* Uses the new COMMAND SpawnReason for other entities

By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-05-09 16:33:34 +10:00
CraftBukkit/Spigot
da56cad3fc #826: Make dispenser trigger fertilize event
By: Lars Dormans <lars.dormans@live.nl>
2021-05-03 18:30:48 +10:00
CraftBukkit/Spigot
642814c419 SPIGOT-6442: Do not cancel zero damage on fireballs
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-30 17:53:58 +10:00
CraftBukkit/Spigot
0989d371a0 SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-28 11:52:30 +10:00
CraftBukkit/Spigot
c5af0704d0 SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-27 11:37:52 +10:00
CraftBukkit/Spigot
4d865daa32 SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
By: md_5 <git@md-5.net>
2021-04-25 08:34:44 +10:00
CraftBukkit/Spigot
93ddc2d863 #683: Add PlayerBucketFishEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-04-25 08:34:44 +10:00
CraftBukkit/Spigot
8cbaba0a8a SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-18 18:03:23 +10:00
CraftBukkit/Spigot
17a73066d0 SPIGOT-5877: Add support for Vanilla custom dimensions
By: Martoph <sager1018@gmail.com>
2021-04-16 10:36:05 +10:00
CraftBukkit/Spigot
304aa91bb1 SPIGOT-6207: forcibly drop the items of a converted zombie villager
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-12 08:28:19 +10:00
CraftBukkit/Spigot
9fe10a5da5 SPIGOT-6417: Add Creeper fuse ticks API
By: md_5 <git@md-5.net>
2021-04-11 17:32:26 +10:00
CraftBukkit/Spigot
0601c47be5 SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
By: md_5 <git@md-5.net>
2021-04-07 15:03:30 +10:00
CraftBukkit/Spigot
97cd7810a3 Add mc-dev imports
By: md_5 <git@md-5.net>
2021-04-07 15:03:29 +10:00
CraftBukkit/Spigot
0352f0e143 SPIGOT-6408: Narrator chat only does not work
By: md_5 <git@md-5.net>
2021-04-05 15:31:26 +10:00
CraftBukkit/Spigot
79672394a1 Remove some outdated PAIL comments
By: md_5 <git@md-5.net>
2021-04-04 17:14:53 +10:00
CraftBukkit/Spigot
7af71a460f SPIGOT-6237: WorldCreator#generatorSettings not working
By: Martoph <sager1018@gmail.com>
2021-04-04 14:02:32 +10:00
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
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
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
af17b5fc41 SPIGOT-5794: Do not skip PlayerInteractEvent
By: Brokkonaut <hannos17@gmx.de>
2020-08-29 14:07:32 +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
c49ac166f7 #702: Add Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:27:13 +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
CraftBukkit/Spigot
4625e066e8 Also make field volatile
By: md_5 <git@md-5.net>
2020-08-22 18:23:49 +10:00
CraftBukkit/Spigot
513f8d1690 SPIGOT-6094: Error loading datapack functions
By: md_5 <git@md-5.net>
2020-08-22 18:19:25 +10:00
CraftBukkit/Spigot
886d2e1504 SPIGOT-6093: Can't change ItemStack in EntityPickupItemEvent
By: Shane Bee <shanebolenback@me.com>
2020-08-21 18:46:42 +10:00
CraftBukkit/Spigot
634b782744 SPIGOT-6086: Twisting vines growing at top of world crashes server
By: md_5 <git@md-5.net>
2020-08-20 18:48:38 +10:00
CraftBukkit/Spigot
1511bbcc2c SPIGOT-6091: End platform does not generate
By: md_5 <git@md-5.net>
2020-08-20 18:48:20 +10:00
CraftBukkit/Spigot
5d4868ed96 SPIGOT-6075: Snowballs don't destroy Ender Crystals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-17 18:55:38 +10:00
CraftBukkit/Spigot
7879320af0 SPIGOT-6076: Crash when updating blocks in uninitialized chunk sections
By: md_5 <git@md-5.net>
2020-08-16 18:07:42 +10:00
CraftBukkit/Spigot
d44eec6c38 #723: Implement EntitySpellCastEvent for spellcaster illager
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-15 09:12:20 +10:00
CraftBukkit/Spigot
c9673f0556 #724: Re-implement player portal event search radius and creation API
This also fixes that the nether/end portals would be created even if the
event was cancelled as well as that the EntityPortalEvent would be
called for player portal usage which is not according to its API
specification

By: Phoenix616 <max@themoep.de>
2020-08-14 08:26:40 +10:00
CraftBukkit/Spigot
5b931c0da0 Fix nether portal ignition
By: md_5 <git@md-5.net>
2020-08-12 16:40:43 +10:00
CraftBukkit/Spigot
6c307816d0 SPIGOT-6064: world.getBiome() null Error
By: md_5 <git@md-5.net>
2020-08-12 10:50:20 +10:00
CraftBukkit/Spigot
fb04a1aa50 Fix crash growing saplings
By: md_5 <git@md-5.net>
2020-08-12 08:54:53 +10:00
CraftBukkit/Spigot
6a9e00d4b6 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +10:00
CraftBukkit/Spigot
b2b8fee81f SPIGOT-3020: Fix issue with BlockBreakEvent throwing AssertionError when setting a player's tool to AIR/NULL
By: Shane Bee <shanebolenback@me.com>
2020-08-09 18:42:07 +10:00
CraftBukkit/Spigot
c555653b93 #660: Add support to change block's lid state
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-29 19:41:00 +10:00
CraftBukkit/Spigot
a9f92a7086 SPIGOT-6032: Add best effort target events for new entities
By: md_5 <git@md-5.net>
2020-07-28 19:05:03 +10:00
CraftBukkit/Spigot
f816dd6f41 SPIGOT-6029: RGB Hex colors not respected with custom kick messages
By: md_5 <git@md-5.net>
2020-07-27 20:48:05 +10:00
CraftBukkit/Spigot
2b52833726 SPIGOT-6011: End Gateways do not work on Non-Main End Worlds
By: md_5 <git@md-5.net>
2020-07-22 18:48:16 +10:00
CraftBukkit/Spigot
bf2f8ae9a7 SPIGOT-6015: Small Armor Stand doesn't drop items
By: md_5 <git@md-5.net>
2020-07-22 18:45:52 +10:00
CraftBukkit/Spigot
4724de7678 SPIGOT-5950: Add PrepareSmithingEvent event
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:21:45 +10:00
CraftBukkit/Spigot
deab30f8b2 SPIGOT-5901: Improve multiworld support
By: md_5 <git@md-5.net>
2020-07-17 08:56:56 +10:00
CraftBukkit/Spigot
f313337709 SPIGOT-5976: Bees do not exit naturally spawned hives
By: md_5 <git@md-5.net>
2020-07-11 09:45:00 +10:00
CraftBukkit/Spigot
b5dd5d4199 SPIGOT-5972: PlayerPortalEvent.setTo() when returning through an End Portal Crashes Server
By: md_5 <git@md-5.net>
2020-07-09 19:11:45 +10:00
CraftBukkit/Spigot
83b1ab97ca SPIGOT-5965: BlockRedstoneEvent.setNewCurrent(0) crashes server
By: md_5 <git@md-5.net>
2020-07-09 09:12:57 +10:00
CraftBukkit/Spigot
666f651058 SPIGOT-5968: Killer rabbits can't be set to the non-killer rabbit behavior
By: md_5 <git@md-5.net>
2020-07-09 09:04:11 +10:00
CraftBukkit/Spigot
0711e168a1 Improve physics code
By: md_5 <git@md-5.net>
2020-07-07 09:35:47 +10:00
CraftBukkit/Spigot
b482319b4b SPIGOT-5951: Projectile#getShooter() returns null
By: md_5 <git@md-5.net>
2020-07-06 17:51:33 +10:00
CraftBukkit/Spigot
cb5bf362be SPIGOT-5948: EntityDropItemEvent does not fire when piglins drop an item
By: md_5 <git@md-5.net>
2020-07-06 09:30:16 +10:00
CraftBukkit/Spigot
ea087050bf Fix crash involving fireballs
By: md_5 <git@md-5.net>
2020-07-06 08:50:27 +10:00
CraftBukkit/Spigot
404d0946d6 Fix end portals in custom ends
By: md_5 <git@md-5.net>
2020-07-05 10:32:31 +10:00
CraftBukkit/Spigot
1640c95e68 SPIGOT-5939: EntityPortalEnterEvent not fired for end portal if end disabled
By: md_5 <git@md-5.net>
2020-07-05 09:00:43 +10:00
CraftBukkit/Spigot
1300c5190c SPIGOT-5940: EntityChangeBlockEvent is not called for villager emptying composter
By: md_5 <git@md-5.net>
2020-07-05 08:53:26 +10:00
CraftBukkit/Spigot
d735284e3c SPIGOT-5936: BlockPlaceEvent does not fire for lily_pad
By: md_5 <git@md-5.net>
2020-07-04 09:02:19 +10:00
CraftBukkit/Spigot
6edd913305 #676: Add PlayerHarvestBlockEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-07-03 15:07:15 +10:00
CraftBukkit/Spigot
e8d9474f7b SPIGOT-5929: Angered zombified piglins do not inherit killed_by_player status
By: md_5 <git@md-5.net>
2020-07-03 10:11:34 +10:00
CraftBukkit/Spigot
bd9f850346 SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
By: md_5 <git@md-5.net>
2020-07-03 09:54:05 +10:00
CraftBukkit/Spigot
7d66dc54c4 SPIGOT-5867, MC-193339: NPE during shutdown when rcon enabled with no password
By: md_5 <git@md-5.net>
2020-07-03 09:23:33 +10:00
CraftBukkit/Spigot
65e8faf29a #682: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:18 +10:00
CraftBukkit/Spigot
fbb02f52f2 Improve code formatting
By: md_5 <git@md-5.net>
2020-07-01 14:17:48 +10:00
CraftBukkit/Spigot
d8ea824b93 SPIGOT-5913: MOTD no longer supports new line character
By: md_5 <git@md-5.net>
2020-07-01 14:00:02 +10:00
CraftBukkit/Spigot
df534616e3 SPIGOT-5906: Huge Fungi tree generation
By: md_5 <git@md-5.net>
2020-07-01 09:50:58 +10:00
CraftBukkit/Spigot
13405b5ce1 Fix event for unlucky composts
By: md_5 <git@md-5.net>
2020-07-01 09:36:38 +10:00
CraftBukkit/Spigot
ea9a50356a SPIGOT-5905: Fix hex colours not being allowed in MOTD
Note: this will of course not work properly if a pre 1.16 client attempts to ping your server

By: md_5 <git@md-5.net>
2020-06-30 13:12:26 +10:00
CraftBukkit/Spigot
8757acc978 SPIGOT-5889: Villager using composter should call EntityChangeBlockEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 12:18:39 +10:00
CraftBukkit/Spigot
f5ea9fecec SPIGOT-5899: Hoglins API similar to Piglins
By: md_5 <git@md-5.net>
2020-06-30 12:03:19 +10:00