Commit graph

229 commits

Author SHA1 Message Date
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