Commit Graph

406 Commits

Author SHA1 Message Date
CraftBukkit/Spigot
8672defea5 Add unique ID to PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2023-12-06 20:27:59 +11:00
CraftBukkit/Spigot
dd8ca5c2dc SPIGOT-6026: Pull PotionEffectType and Enchantment from registry
By: DerFrZocker <derrieple@gmail.com>
2023-12-06 03:40:00 +11:00
CraftBukkit/Spigot
8398e12b34 Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00
CraftBukkit/Spigot
0f6da6b1c8 SPIGOT-7487: entity.remove() on a leash drops a lead item
By: DerFrZocker <derrieple@gmail.com>
2023-12-01 08:01:44 +11:00
CraftBukkit/Spigot
95e4221adf #1266: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:35 +13:00
CraftBukkit/Spigot
efb9f1bd5c SPIGOT-7520: Attribute LootTableSeed missing for generated containers with attached LootTable
By: DerFrZocker <derrieple@gmail.com>
2023-11-14 20:16:20 +01:00
CraftBukkit/Spigot
85c79bdde0 SPIGOT-7518: Fix NullPointerException when calling Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-11-12 19:09:58 -05:00
CraftBukkit/Spigot
b11f0ec204 #1285: Add PlayerRecipeBookSettingsChangeEvent
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:43:34 +11:00
CraftBukkit/Spigot
f64dc66a5f #1290: Add methods to get/set evoker fang attack delay
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:36:06 +11:00
CraftBukkit/Spigot
80d3f8408a SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
By: Miles Holder <mwholder2005@gmail.com>
2023-11-09 06:30:23 +11:00
CraftBukkit/Spigot
511d6753cc #1281: Add hit entity/block to events extending ProjectileHitEvent
By: Jishuna <joshl5324@gmail.com>
2023-10-25 18:54:07 +11:00
CraftBukkit/Spigot
0a971d438b SPIGOT-7507: Fall back to world UUIDs if Dimension tag missing or invalid
By: md_5 <git@md-5.net>
2023-10-21 16:25:23 +11:00
CraftBukkit/Spigot
e12eaccce2 SPIGOT-7506: SculkBloomEvent.getBlock() world is null
By: md_5 <git@md-5.net>
2023-10-20 18:49:03 +11:00
CraftBukkit/Spigot
4dc97ffa9d SPIGOT-7503: Remove special handling for minecraft:brand custom channel
By: md_5 <git@md-5.net>
2023-10-14 16:56:17 +11:00
CraftBukkit/Spigot
c4c6bf8a92 #1272: Only allow one entity in CraftItem instead of two
This pr reverts a change made in 2012 which allowed CraftItem to be a also other entities such as an arrow.
I don't see any practical reason why the original change was done, other than to allow plugin developers to do some stuff in a cursed way.
With the introduction of the PlayerPickupArrowEvent in 2016 there is also a way to access the arrow involved in a better way.
Generally I think the current behavior is a bit strange and should be reverted.

By: DerFrZocker <derrieple@gmail.com>
2023-10-06 07:16:11 +11:00
CraftBukkit/Spigot
7380cef545 SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads
By: DerFrZocker <derrieple@gmail.com>
2023-10-03 11:56:23 +02:00
CraftBukkit/Spigot
851acb6496 #1267: Add more lightning API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-10-03 07:32:55 +11:00
CraftBukkit/Spigot
0c3b8eb4b9 SPIGOT-7496: Failure to load datapacks with multiple identical predicates
By: md_5 <git@md-5.net>
2023-10-02 20:01:30 +11:00
CraftBukkit/Spigot
88114a4558 Fix decompile error affecting javac
By: md_5 <git@md-5.net>
2023-10-02 19:43:59 +11:00
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