Commit graph

387 commits

Author SHA1 Message Date
CraftBukkit/Spigot
c651c0a51b SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
By: Lauriichan <laura.endress@playuniverse.org>
2023-09-29 06:54:35 +10:00
CraftBukkit/Spigot
70eb4fdda5 SPIGOT-7490: Fix entity equipment updates
By: md_5 <git@md-5.net>
2023-09-25 07:47:22 +10:00
CraftBukkit/Spigot
fb7dc796d5 SPIGOT-7485: Allow air entity items since required for Vanilla logic
By: md_5 <git@md-5.net>
2023-09-22 07:14:27 +10:00
CraftBukkit/Spigot
4248b8a4d8 #1250: Standardize and centralize Bukkit / Minecraft registry conversion
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 03:02:16 +10:00
CraftBukkit/Spigot
e903417936 Increase diff stability
By: md_5 <git@md-5.net>
2023-09-22 02:57:13 +10:00
CraftBukkit/Spigot
8a3c8cfcd4 Update to Minecraft 1.20.2
By: md_5 <git@md-5.net>
2023-09-22 02:40:00 +10:00
CraftBukkit/Spigot
dc3bd245f7 SPIGOT-7475: Don't fire SculkBloomEvent during world generation
By: DerFrZocker <derrieple@gmail.com>
2023-09-06 19:09:38 +02:00
CraftBukkit/Spigot
4e2ef19474 #1242: Add more Sculk API (bloom, shriek, bloom event)
By: Collin <collinjbarber@gmail.com>
2023-09-06 20:44:19 +10:00
CraftBukkit/Spigot
c8a9b8d25c #1248: Load GameEvent and MusicInstrument from registry
By: DerFrZocker <derrieple@gmail.com>
2023-09-02 12:55:23 +10:00
CraftBukkit/Spigot
a16df1b04c SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
By: md_5 <git@md-5.net>
2023-08-26 18:19:22 +10:00
CraftBukkit/Spigot
764b9df72a SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties
By: md_5 <git@md-5.net>
2023-08-22 20:51:34 +10:00
CraftBukkit/Spigot
41756b5eb0 #1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block
By: Brokkonaut <hannos17@gmx.de>
2023-08-19 09:43:27 +10:00
CraftBukkit/Spigot
0379c2cfee SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout
By: md_5 <git@md-5.net>
2023-08-07 20:16:07 +10:00
CraftBukkit/Spigot
8847a42387 Revert "SPIGOT-7447: Fix --forceUpgrade"
This reverts commit 136f843d31.

By: md_5 <git@md-5.net>
2023-08-07 07:53:30 +10:00
CraftBukkit/Spigot
136f843d31 SPIGOT-7447: Fix --forceUpgrade
By: md_5 <git@md-5.net>
2023-08-05 10:01:59 +10:00
CraftBukkit/Spigot
6d8757cb05 SPIGOT-7396: Add PlayerSignOpenEvent
By: Miles Holder <mwholder2005@gmail.com>
2023-08-05 09:33:42 +10:00
CraftBukkit/Spigot
2a8121eac7 SPIGOT-7063, #1071: Add DragonBattle#initiateRespawn with custom EnderCrystals
By: Doc <nachito94@msn.com>
2023-08-05 09:24:52 +10:00
CraftBukkit/Spigot
fa4400a9a0 #1212: Add PlayerRecipeBookClickEvent
By: Jishuna <joshl5324@gmail.com>
2023-08-02 07:46:19 +10:00
CraftBukkit/Spigot
3666c4aa7e SPIGOT-7441: Fix issue placing certain items in creative/op
By: md_5 <git@md-5.net>
2023-07-29 10:06:05 +10:00
CraftBukkit/Spigot
86a10c9c2c SPIGOT-7435: Add TeleportCause#EXIT_BED
By: md_5 <git@md-5.net>
2023-07-29 09:58:01 +10:00
CraftBukkit/Spigot
223ea107d2 SPIGOT-7349: Player#setDisplayName not working when message/format unmodified
By: md_5 <git@md-5.net>
2023-07-28 18:56:00 +10:00
CraftBukkit/Spigot
1b9d617ddc #1232: Re-add fix for player rotation
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-25 18:52:51 +10:00
CraftBukkit/Spigot
e00c85fd8c #1233: Remove some old MC bug fixes now fixed in vanilla
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-24 18:09:23 +10:00
CraftBukkit/Spigot
370e31367c SPIGOT-7429: Fix LEFT_CLICK_AIR not working for passable entities and spectators
By: Collin <collinjbarber@gmail.com>
2023-07-18 21:23:52 +10:00
CraftBukkit/Spigot
475d2e005c SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width
By: md_5 <git@md-5.net>
2023-07-08 13:07:16 +10:00
CraftBukkit/Spigot
8b30feb641 #1226: Fix VehicleEnterEvent not being called for certain entities
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-04 06:54:09 +10:00
CraftBukkit/Spigot
7f5ff95fe4 Revert bad change to PathfinderGoalSit causing all cats to sit
By: md_5 <git@md-5.net>
2023-07-01 20:56:18 +10:00
CraftBukkit/Spigot
5c8c4bbe5b All smithing inventories are now the new smithing inventory
By: md_5 <git@md-5.net>
2023-07-01 09:35:39 +10:00
CraftBukkit/Spigot
acf9c704ac SPIGOT-7416: SmithItemEvent not firing in Smithing Table
By: md_5 <git@md-5.net>
2023-07-01 09:25:36 +10:00
CraftBukkit/Spigot
60c46c4b52 #1221: Add methods to get/set FallingBlock CancelDrop
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-27 07:36:06 +10:00
CraftBukkit/Spigot
b97cc9b99f #1209: Clean up various patches
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-06-24 17:15:05 +10:00
CraftBukkit/Spigot
20acc420d8 SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot
By: Jishuna <joshl5324@gmail.com>
2023-06-17 14:31:40 +10:00
CraftBukkit/Spigot
b0576f313f SPIGOT-7389: Handle setting null items in ChiseledBookshelf Inventory
By: Doc <nachito94@msn.com>
2023-06-17 06:44:22 +10:00
CraftBukkit/Spigot
5480af2bba SPIGOT-7393: Fix new tile entities not loading Bukkit's PersistentDataContainer
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-15 20:25:35 +10:00
CraftBukkit/Spigot
289dcffffa SPIGOT-7391: Preserve vanilla sign json where not modified by event
By: md_5 <git@md-5.net>
2023-06-14 18:36:22 +10:00
CraftBukkit/Spigot
ec1bb878f3 Work around issue placing decorated pots
By: md_5 <git@md-5.net>
2023-06-13 19:05:00 +10:00
CraftBukkit/Spigot
f40eac90a3 Update to Minecraft 1.20.1
By: md_5 <git@md-5.net>
2023-06-13 07:00:00 +10:00
CraftBukkit/Spigot
211ccb13d3 SPIGOT-7350: Add methods to get hints from EnchantItemEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-12 10:03:07 +10:00
CraftBukkit/Spigot
4c192dd4e7 SPIGOT-7381: Fix NullPointerException when setting item in ChiseledBookshelfInventory snapshot
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-12 08:04:28 +10:00
CraftBukkit/Spigot
f800a3801e SPIGOT-7384: player.getLocation() equals PlayerMoveEvent.getTo()
By: md_5 <git@md-5.net>
2023-06-11 20:41:52 +10:00
CraftBukkit/Spigot
a7ce4d1a3f SPIGOT-7382: Player still on fire after respawn
By: md_5 <git@md-5.net>
2023-06-11 17:30:03 +10:00
CraftBukkit/Spigot
0c94630926 #1184: Add setMotd and setMaxPlayers
By: Hannah <salvadin2@gmail.com>
2023-06-11 10:51:11 +10:00
CraftBukkit/Spigot
5301642c90 Implement SpawnerSpawnEvent
By: md_5 <git@md-5.net>
Also-by: Andy Shulman <andy.shulman@hotmail.com>
2023-06-10 07:22:51 +10:00
CraftBukkit/Spigot
82dccdf1a6 SPIGOT-7378: Add BlockDropItemEvent for Suspicious Sand & Gravel drops
By: md_5 <git@md-5.net>
2023-06-09 08:37:09 +10:00
CraftBukkit/Spigot
b68048c094 SPIGOT-7377: Server sends player list twice
By: md_5 <git@md-5.net>
2023-06-09 08:24:31 +10:00
CraftBukkit/Spigot
99be5d2a3c SPIGOT-7375: Fix crash breeding certain entities
By: md_5 <git@md-5.net>
2023-06-08 19:22:25 +10:00
CraftBukkit/Spigot
a2fa8bb79d SPIGOT-7266: Found typo in CraftBukkit package
By: DerFrZocker <derrieple@gmail.com>
2023-06-08 13:40:54 +10:00
CraftBukkit/Spigot
010814803a SPIGOT-7372, SPIGOT-7373: Signs can't be edited, issues with SignChangeEvent
By: md_5 <git@md-5.net>
2023-06-08 12:19:59 +10:00
CraftBukkit/Spigot
605ce98727 SPIGOT-7371: Sign does not open edit text on placement
By: md_5 <git@md-5.net>
2023-06-08 08:03:24 +10:00
CraftBukkit/Spigot
9d740b84b0 Update to Minecraft 1.20
By: md_5 <git@md-5.net>
2023-06-08 01:30:00 +10:00
CraftBukkit/Spigot
a345ec2e35 SPIGOT-7195, SPIGOT-7197: Add DataPack API
By: Doc <nachito94@msn.com>
2023-05-30 19:05:48 +10:00
CraftBukkit/Spigot
456eae08ac SPIGOT-7346: Disallow players from executing commands after disconnecting
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-05-11 07:03:53 +10:00
CraftBukkit/Spigot
ba817be945 SPIGOT-519: Add TNTPrimeEvent
Thanks to Pokechu22 for an earlier implementation

By: Jishuna <joshl5324@gmail.com>
2023-05-03 20:46:43 +10:00
CraftBukkit/Spigot
695e12db3d SPIGOT-7209: Accessors and events for player's exp cooldown
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-04-21 18:46:56 +10:00
CraftBukkit/Spigot
b99d3df2d8 #1181: Consolidate Location conversion code
By: Doc <nachito94@msn.com>
2023-04-19 19:59:19 +10:00
CraftBukkit/Spigot
9e30ea471f #1095: Add PlayerSpawnChangeEvent
By: Doc <nachito94@msn.com>
2023-04-17 19:33:17 +10:00
CraftBukkit/Spigot
41bd40bcaa #808: Expand the FishHook API
By: Martoph <sager1018@gmail.com>
2023-04-16 10:10:27 +10:00
CraftBukkit/Spigot
5d28a95165 #1169: Add damage methods to FallingBlock
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-13 07:08:26 +10:00
CraftBukkit/Spigot
178a84c8d6 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent
By: Jishuna <joshl5324@gmail.com>
2023-04-10 08:26:45 +10:00
CraftBukkit/Spigot
cf3a617ee3 SPIGOT-7315: Bed placement duplicates crops if cancelled
By: DerFrZocker <derrieple@gmail.com>
2023-04-07 10:56:58 +02:00
CraftBukkit/Spigot
ad3da9dbf3 Show clean error for invalidly configured server.properties options
By: md_5 <git@md-5.net>
2023-04-07 08:14:11 +10:00
CraftBukkit/Spigot
48dd61052b Fix UUID not being updated when changing world of MapView
By: Phoenix616 <max@themoep.de>
2023-04-04 19:36:37 +01:00
CraftBukkit/Spigot
7b627056c1 #1164, MC-227255, MC-253819: Fix rotation of beehives and bells
By: Jishuna <joshl5324@gmail.com>
2023-04-04 07:01:54 +10:00
CraftBukkit/Spigot
496189d962 #1160: Add more bell API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 14:35:13 +10:00
CraftBukkit/Spigot
df5cb9bc3a #1144: Add more Guardian API, particularly for its laser
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:49:05 +10:00
CraftBukkit/Spigot
ad8f95c3df #1159: Add missing API for explosive minecarts
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 13:21:31 +10:00
CraftBukkit/Spigot
c48c822440 #1155: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
By: DerFrZocker <derrieple@gmail.com>
2023-04-02 13:06:59 +10:00
CraftBukkit/Spigot
26ae05b48f SPIGOT-7313: More accurately edit data on Jukeboxes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-29 19:23:41 +11:00
CraftBukkit/Spigot
8a53e8b4eb SPIGOT-7310: PlayerToggleSneakEvent is not called when a player sneaks while riding an entity
By: md_5 <git@md-5.net>
2023-03-25 11:33:49 +11:00
CraftBukkit/Spigot
4f394499b7 SPIGOT-7316: Cancelling EntityUnmountEvent does not stop the all effects of the unmounting
By: md_5 <git@md-5.net>
2023-03-25 11:26:10 +11:00
CraftBukkit/Spigot
2a51332a0c #1153: Handle teleport reason in spreadplayers command
By: Doc <nachito94@msn.com>
2023-03-23 20:52:34 +11:00
CraftBukkit/Spigot
bc7c41cfbc SPIGOT-7308: Fix NullPointerException when calling Jukebox#setRecord()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-22 14:21:06 -04:00
CraftBukkit/Spigot
c9cdfcc603 SPIGOT-7306: Fix reset of coords in default teleportTo in EntityPlayer
By: Doc <nachito94@msn.com>
2023-03-22 14:43:49 +11:00
CraftBukkit/Spigot
c7648eb04e #1150: Add Sniffer API and handle EntityItemDropEvent
By: Doc <nachito94@msn.com>
2023-03-20 19:03:53 +11:00
CraftBukkit/Spigot
33e9c807c6 SPIGOT-7294: Call EntityDamageEvent for Interaction entity
By: md_5 <git@md-5.net>
2023-03-16 07:15:33 +11:00
CraftBukkit/Spigot
4b03485bd2 SPIGOT-7295: Fix Sniffer data defined in incorrect position
By: md_5 <git@md-5.net>
2023-03-16 06:48:37 +11:00
CraftBukkit/Spigot
28c4b7531f Fix crash with juke boxes
By: md_5 <git@md-5.net>
2023-03-15 18:14:15 +11:00
CraftBukkit/Spigot
71f7114fdb SPIGOT-7291: Fix spurious invert in ender pearl disconnect check
By: md_5 <git@md-5.net>
2023-03-15 04:14:08 +11:00
CraftBukkit/Spigot
40076782ed Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
CraftBukkit/Spigot
7bf6f20cec SPIGOT-7220: TNT drop rate isn't 100%
By: md_5 <git@md-5.net>
2023-03-04 11:47:05 +11:00
CraftBukkit/Spigot
b6f6246c5d #1136: Add API to allow entities to be invisible by default
Designed to make creating per-player entities easier

By: md_5 <git@md-5.net>
2023-03-04 09:15:52 +11:00
CraftBukkit/Spigot
14206127d6 #1119: Add HopperInventorySearchEvent to select the Inventory that the Hopper pulls/pushes into
By: James Peters <email@jamesdpeters.com>
2023-03-04 09:05:17 +11:00
CraftBukkit/Spigot
c8aa873369 SPIGOT-7261: Add AsyncStructureSpawnEvent
By: Lauriichan <laura.endress@syntaxphoenix.com>
2023-03-04 08:36:00 +11:00
CraftBukkit/Spigot
ed2f6b4efc #1142: Calculate explosion damage separately for each affected EntityComplexPart
Currently the Ender Dragon takes roughly 3x the explosion damage when compared to vanilla 1.19.3. This is caused by a single damage value being calculated for the EntityEnderDragon and then being uniformly applied to every EntityComplexPart belonging to that dragon.

This is resolved by restoring the vanilla behavior of calculating explosion damage separately for each EntityComplexPart.

By: Jacob Martin <jjm_223@hotmail.com>
2023-02-27 20:34:19 +11:00
CraftBukkit/Spigot
9cb4cf919d SPIGOT-7262: Improve visibility API
By: md_5 <git@md-5.net>
2023-02-16 19:45:56 +11:00
CraftBukkit/Spigot
db08041df9 SPIGOT-7224: Add events for brewing stands and campfires starting their actions
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-02-05 11:06:25 +11:00
CraftBukkit/Spigot
c3fa9fc5b8 SPIGOT-7248: Bone mealing grass triggers piston block update detector
By: md_5 <git@md-5.net>
2023-01-31 19:44:37 +11:00
CraftBukkit/Spigot
fed3e5b5bc SPIGOT-7239: Getter/setter for player's enchantment seed
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-01-28 11:55:40 +11:00
CraftBukkit/Spigot
3b6d547a25 SPIGOT-7244: Unable to open Shulker Inventory when more than 8 blocks away
By: md_5 <git@md-5.net>
2023-01-28 11:43:55 +11:00
CraftBukkit/Spigot
a7effc38ed SPIGOT-7236: Bone meal doesn't increase use statistic
By: md_5 <git@md-5.net>
2023-01-21 11:00:43 +11:00
CraftBukkit/Spigot
a5b2050ee5 #1129: Fix state corruption while handling explosion damage on EntityComplexPart
An IllegalStateException may occur when an entity is damaged by fire or a potion effect immediately after an EntityComplexPart is damaged by an explosion.

This is fixed by performing the instanceof EntityComplexPart check prior to setting CraftEventFactory.entityDamage.

By: Jacob Martin <jjm_223@hotmail.com>
2022-12-29 14:06:51 +11:00
CraftBukkit/Spigot
b718d5f0b0 SPIGOT-7218: Player's outer layer of skin disappears after respawn
By: md_5 <git@md-5.net>
2022-12-27 16:04:45 +11:00
CraftBukkit/Spigot
be664f5cc4 #1125: Add support for NoteBlock sounds in Skulls
By: Doc <nachito94@msn.com>
2022-12-23 12:26:06 +11:00
CraftBukkit/Spigot
bd71072036 SPIGOT-7210: Fix structures in custom worlds
By: md_5 <git@md-5.net>
2022-12-16 11:13:10 +11:00
CraftBukkit/Spigot
eb88aa7b90 SPIGOT-7207: WorldCreator creates world as super flat even when normal is specified
By: md_5 <git@md-5.net>
2022-12-14 13:47:32 +11:00
CraftBukkit/Spigot
4fcfe1390d #1123: Add PrepareGrindstoneEvent
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2022-12-13 19:28:47 +11:00
CraftBukkit/Spigot
8fa77efef6 SPIGOT-7204: Add TeleportCause#DISMOUNT
By: md_5 <git@md-5.net>
2022-12-13 19:22:46 +11:00
CraftBukkit/Spigot
c0d9b8db7c SPIGOT-7192: Call PlayerInteractEvent with Action.LEFT_CLICK_AIR if the entity interacted is hidden to the player
By: Doc <nachito94@msn.com>
2022-12-13 18:54:22 +11:00
CraftBukkit/Spigot
0cb9e6122e SPIGOT-7200: CreatureSpawnEvent is called with incorrect SpawnReason when using spawn eggs
By: md_5 <git@md-5.net>
2022-12-10 21:48:22 +11:00
CraftBukkit/Spigot
8b26bb8f3e Update to Minecraft 1.19.3
By: md_5 <git@md-5.net>
2022-12-08 03:00:00 +11:00