Commit graph

3791 commits

Author SHA1 Message Date
CraftBukkit/Spigot
bacb1b57f1 SPIGOT-6641: Use varargs in sendMessage
By: md_5 <git@md-5.net>
2021-07-22 09:54:57 +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
1e8509d8ef SPIGOT-3725, SPIGOT-6638, MC-136917: Properly clear tile entities before replacing
By: DerFrZocker <derrieple@gmail.com>
2021-07-19 18:49:27 +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
71d4016a4d #891: Fix scheduler task ID overflow and duplication issues
By: Phoenix616 <max@themoep.de>
2021-07-17 11:39:56 +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
c1484dc4b1 #890: Include yaw in player's spawn location
By: Phoenix616 <max@themoep.de>
2021-07-15 20:29:38 +10:00
CraftBukkit/Spigot
96eed49699 #889: Fix CraftChest close() sound being replaced with open sound.
By: James Peters <jameslfc19@gmail.com>
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
e797fdd58a #886: Add new Causes for LightningStrikeEvent
By: Doc <nachito94@msn.com>
2021-07-13 19:16:36 +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
cae78fadd8 SPIGOT-6579: DragonFireBall movement with setDirection jumps around a lot
By: DerFrZocker <derrieple@gmail.com>
2021-07-11 09:34:35 +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
02134e4ee6 SPIGOT-6634: Override needed method
By: DerFrZocker <derrieple@gmail.com>
2021-07-09 23:48:16 +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
0c2fdaf521 SPIGOT-6527: Add AxolotlBucketMeta
By: Doc <nachito94@msn.com>
2021-07-04 09:32:25 +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
a388fc3a6c Update Maven plugins
By: md_5 <git@md-5.net>
2021-07-03 11:06:33 +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
fec9294c47 SPIGOT-6615 Fix Glow Item Frame to use EntityTagMeta
By: Doc <nachito94@msn.com>
2021-07-03 09:33:04 +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
80472fd082 SPIGOT-6605: Add method to access value of enforce-whitelist
By: md_5 <git@md-5.net>
2021-06-26 09:58:34 +10:00
CraftBukkit/Spigot
ae7ed4667b SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
By: md_5 <git@md-5.net>
2021-06-24 08:37:58 +10:00
CraftBukkit/Spigot
a91dc63398 #872: SculkSensor accesses underlying TileEntity instead of snapshot for vibration frequency.
By: blablubbabc <lukas@wirsindwir.de>
2021-06-23 09:02:10 +10:00
CraftBukkit/Spigot
26fd70263e SPIGOT-6592: Tile entities in custom ChunkGenerator causes crash
By: md_5 <git@md-5.net>
2021-06-21 08:46:23 +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
690c8b65a1 SPIGOT-6587: Update documentation/error of drop chance API
By: md_5 <git@md-5.net>
2021-06-20 12:15:28 +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
d2c0fcf0df #869: Fix BossBar setColor and setStyle updates
By: Eric Su <ericsu14@hotmail.com>
2021-06-17 17:37:30 +10:00
CraftBukkit/Spigot
0747934cc1 Incrase outdated build delay
By: md_5 <git@md-5.net>
2021-06-17 08:42:37 +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
b9782609ca SPIGOT-6558: Attempt to improve SkullMeta
By: md_5 <git@md-5.net>
2021-06-16 10:28:42 +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
9233fd67b4 Fix duplicate datapack reload on /reload
By: md_5 <git@md-5.net>
2021-06-15 15:51:13 +10:00
CraftBukkit/Spigot
6b435994e8 SPIGOT-6555: Cannot access shield BlockStateMeta
By: md_5 <git@md-5.net>
2021-06-15 13:06:23 +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
752618d75f SPIGOT-6560: Crash when falling stalactite hits player
By: md_5 <git@md-5.net>
2021-06-15 08:01:07 +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
8777dd8e62 #863: Add LivingEntity#isClimbing
By: Martoph <sager1018@gmail.com>
2021-06-14 19:11:46 +10:00
CraftBukkit/Spigot
733b118606 SPIGOT-6554: Worlds created with the bukkit ChunkGenerator cannot save
By: md_5 <git@md-5.net>
2021-06-14 13:52:25 +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
9a2165ab37 #855: Add Block#getCollisionShape and associated API
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:33:32 +10:00
CraftBukkit/Spigot
55abb0fd8c #857: Add Block#getBreakSpeed(Player)
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:28:45 +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
085885b64a SPIGOT-6536: Marker position not set on spawn
By: md_5 <git@md-5.net>
2021-06-13 10:25:21 +10:00
CraftBukkit/Spigot
02ebbcfc81 #855: Add HumanEntity#getItemInUse and Material#getSlipperiness
By: konsolas <vincentyntang@gmail.com>
2021-06-12 21:07:45 +01:00
CraftBukkit/Spigot
3e7e42a371 SPIGOT-6529: Fix BundleMeta#setItems
By: md_5 <git@md-5.net>
2021-06-13 08:48:13 +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
94c0260719 #856: Add methods to check if item is the breed item for an entity
By: Nathat23 <nathat890@outlook.com>
2021-06-13 08:37:53 +10:00
CraftBukkit/Spigot
472f590189 Add additional validation to Player#breakBlock
By: md_5 <git@md-5.net>
2021-06-13 08:27:57 +10:00
CraftBukkit/Spigot
c799ab1f6e SPIGOT-6532: Fix Entity#setGlowing
By: md_5 <git@md-5.net>
2021-06-13 08:26:10 +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
f359c7a3ec Fix new map colors rendering as transparent
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 19:56:13 +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
cd03a7966c SPIGOT-6522: ItemStack on cursor is always AIR
By: md_5 <git@md-5.net>
2021-06-12 16:24:52 +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
190b3f8308 SPIGOT-6515: "Un-waterlogging" throws UnsupportedOperationException in some cases
By: md_5 <git@md-5.net>
2021-06-12 08:59:05 +10:00
CraftBukkit/Spigot
81163e6137 SPIGOT-6518: Anvils falling onto dripstone can sometimes crash server
By: md_5 <git@md-5.net>
2021-06-12 08:54:48 +10:00
CraftBukkit/Spigot
35223329b1 SPIGOT-6514: Small Dripleaf block data is missing half property
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 08:47:11 +10:00
CraftBukkit/Spigot
8198d062f3 #853: Implement Player#breakBlock()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-12 08:30:34 +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
22217fefcd SPIGOT-6517: Spider jockey crash on dripstone
By: md_5 <git@md-5.net>
2021-06-12 08:09:40 +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
0acd422f48 Fix NPE with Entity.getNearbyEntities
By: md_5 <git@md-5.net>
2021-06-11 18:48:59 +10:00
CraftBukkit/Spigot
4b9c250321 Fix NPE with World.getNearbyEntities
By: md_5 <git@md-5.net>
2021-06-11 17:24:45 +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
75faba7fde Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-06-11 14:03:29 +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
bef41983bd SPIGOT-6478: Double chests opened by plugins don't play their closing animation.
By: blablubbabc <lukas@wirsindwir.de>
2021-05-29 08:41:34 +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