Commit graph

4737 commits

Author SHA1 Message Date
CraftBukkit/Spigot
61ca2bcfef SPIGOT-7968: ProjectileHitEvent not trigerred when arrow hits entity
By: md_5 <git@md-5.net>
2024-11-30 15:16:28 +11:00
CraftBukkit/Spigot
9850cb85dd SPIGOT-7970: World#getMaxHeight() returning incorrect value
By: md_5 <git@md-5.net>
2024-11-30 15:12:42 +11:00
CraftBukkit/Spigot
7d62830284 SPIGOT-7965: Unknown TransformReason for Hoglins
By: md_5 <git@md-5.net>
2024-11-27 07:08:14 +11:00
CraftBukkit/Spigot
b06cbec171 SPIGOT-7966: Some trees do not generate with #generateTree
By: md_5 <git@md-5.net>
2024-11-27 07:00:57 +11:00
CraftBukkit/Spigot
a11ca51ee1 #1515: Add a Class reader and Class node argument provider
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:35:28 +11:00
CraftBukkit/Spigot
eba2b1e948 #1514: Add a test case for ClassTraverser
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:35:18 +11:00
CraftBukkit/Spigot
4992aa1b5d Fix Inventory#addItem not respecting max stack size
By: md_5 <git@md-5.net>
2024-11-24 11:06:35 +11:00
CraftBukkit/Spigot
f642133483 #1490: Add method to get Advancement requirements
By: Nothixal <nothixal@gmail.com>
2024-11-23 21:25:14 +11:00
CraftBukkit/Spigot
4487df57e1 #1512: Test Art class based on specific values instead of the implementation, to better catch implementation changes
By: DerFrZocker <derrieple@gmail.com>
2024-11-23 21:14:14 +11:00
CraftBukkit/Spigot
5a6e315a79 #1503: Simplify CAS loop to getAndSet
By: sunmisc <jolyjdia@gmail.com>
2024-11-23 21:12:04 +11:00
CraftBukkit/Spigot
0f66e39e46 Make BlockDataMeta#setBlockData hide unspecified states
By: md_5 <git@md-5.net>
2024-11-23 21:08:50 +11:00
CraftBukkit/Spigot
8f7a88cc91 SPIGOT-7960: Fix inconsistency between natural item drop coordinates
By: md_5 <git@md-5.net>
2024-11-20 21:42:05 +11:00
CraftBukkit/Spigot
b3b4fd1c4b SPIGOT-7960: Improve natural item drop methods
By: md_5 <git@md-5.net>
2024-11-19 20:16:47 +11:00
CraftBukkit/Spigot
c7707ece4c SPIGOT-7957: Fix setTarget method for Breeze
By: Doc <nachito94@msn.com>
2024-11-17 11:22:36 +11:00
CraftBukkit/Spigot
ac56ea8d83 SPIGOT-7955: Failure teleporting players between worlds using Player#teleport() when player has attribute modifiers
By: md_5 <git@md-5.net>
2024-11-12 20:51:01 +11:00
CraftBukkit/Spigot
a768ea0ddf SPIGOT-7953: Item cooldown must be greater than 0
By: md_5 <git@md-5.net>
2024-11-12 20:37:58 +11:00
CraftBukkit/Spigot
475a5576bc Increase outdated build delay
By: md_5 <git@md-5.net>
2024-11-10 21:20:09 +11:00
CraftBukkit/Spigot
bbe0572877 SPIGOT-7946: API for server pause when empty seconds
By: md_5 <git@md-5.net>
2024-11-06 20:38:09 +11:00
CraftBukkit/Spigot
0df40ed8d9 SPIGOT-7947: addPassenger doesn't work if the vehicle is a player
By: md_5 <git@md-5.net>
2024-11-06 20:27:44 +11:00
CraftBukkit/Spigot
30af9c34dd SPIGOT-7949: Registering a new scoreboard objective with an empty display name throws a NPE
By: md_5 <git@md-5.net>
2024-11-06 20:22:58 +11:00
CraftBukkit/Spigot
b9a4bb1cd1 SPIGOT-7948: Bukkit#dispatchCommand uses the wrong CommandListenerWrapper for Players
By: md_5 <git@md-5.net>
2024-11-06 20:20:36 +11:00
CraftBukkit/Spigot
d27615dcaf SPIGOT-7931: Fix sync in Anvil View when result item is taken
By: Doc <nachito94@msn.com>
2024-11-05 14:12:23 +11:00
CraftBukkit/Spigot
8fc0f462c0 SPIGOT-7945: Bukkit#dispatchCommand throws UnsupportedOperationException
By: md_5 <git@md-5.net>
2024-11-04 07:25:07 +11:00
CraftBukkit/Spigot
83f48fb3c6 SPIGOT-7933: Improve custom Minecart max speed
By: md_5 <git@md-5.net>
2024-11-03 09:22:20 +11:00
CraftBukkit/Spigot
82bd6be3e1 SPIGOT-7940: Recipe book errors after reload
By: md_5 <git@md-5.net>
2024-11-02 17:55:34 +11:00
CraftBukkit/Spigot
d580602ebb SPIGOT-7937: Cannot spawn minecart during world generation with minecart_improvements enabled
By: md_5 <git@md-5.net>
2024-11-02 17:40:23 +11:00
CraftBukkit/Spigot
c162fedc16 SPIGOT-7941: Fix resistance over 4 amplify causing issues in damage
By: Doc <nachito94@msn.com>
2024-11-02 16:53:39 +11:00
CraftBukkit/Spigot
aefa65b696 #1504: Make Art an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-02 11:00:13 +11:00
CraftBukkit/Spigot
42ebf1afa4 #1502: Make Sound an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-02 11:00:08 +11:00
CraftBukkit/Spigot
7b903b41cb #1501: Make Biome an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-01 08:05:35 +11:00
CraftBukkit/Spigot
2960bff05e #1500: Rename implementation for Vault State methods
By: Doc <nachito94@msn.com>
2024-10-29 06:43:27 +11:00
CraftBukkit/Spigot
af6f2c9b41 #1499: Make Fluid an interface and add missing entry
By: DerFrZocker <derrieple@gmail.com>
2024-10-29 06:43:20 +11:00
CraftBukkit/Spigot
08c83835f3 #1498: Make Attribute an interface and align names with the new minecraft ones
By: DerFrZocker <derrieple@gmail.com>
2024-10-29 06:43:14 +11:00
CraftBukkit/Spigot
228b3effa4 SPIGOT-7928: ExactChoice acts as MaterialChoice
By: md_5 <git@md-5.net>
2024-10-27 07:40:05 +11:00
CraftBukkit/Spigot
a15be74be3 SPIGOT-7929: Error when setting EquippableComponent
By: md_5 <git@md-5.net>
2024-10-27 07:33:54 +11:00
CraftBukkit/Spigot
2a202c520e SPIGOT-7930: Fix spawning entities with SummonEntityEffect
By: md_5 <git@md-5.net>
2024-10-27 07:30:49 +11:00
CraftBukkit/Spigot
762b4f15ca #1497: Move boat field rename entries to below key renaming, so that keys are also renamed
By: DerFrZocker <derrieple@gmail.com>
2024-10-27 07:27:35 +11:00
CraftBukkit/Spigot
54caf1484d #1496: Use correct Fluid class on Tags type check
By: DerFrZocker <derrieple@gmail.com>
2024-10-27 07:26:23 +11:00
CraftBukkit/Spigot
91ffa532ba SPIGOT-7923: Fix Dispenser logic to avoid firing empty projectiles
By: Doc <nachito94@msn.com>
2024-10-26 07:29:49 +11:00
CraftBukkit/Spigot
4aea0978fb Add PlayerInputEvent
By: md_5 <git@md-5.net>
2024-10-24 20:42:30 +11:00
CraftBukkit/Spigot
e1673f9708 #1494: TreeType - add missing pale oak trees
By: shanebeee <shanebolenback@me.com>
2024-10-24 07:07:57 +11:00
CraftBukkit/Spigot
0821d18951 SPIGOT-7924: Registering a ShapelessRecipe throws an IndexOutOfBoundsException
By: md_5 <git@md-5.net>
2024-10-24 06:53:07 +11:00
CraftBukkit/Spigot
1236b98371 Update to Minecraft 1.21.3
By: md_5 <git@md-5.net>
2024-10-24 06:15:00 +11:00
CraftBukkit/Spigot
adbb925fc4 SPIGOT-7922: ExactChoice recipe fails to be added
By: md_5 <git@md-5.net>
2024-10-23 19:38:39 +11:00
CraftBukkit/Spigot
cd2a2a27ff SPIGOT-7919: Add API to access current player input
By: md_5 <git@md-5.net>
2024-10-23 08:04:17 +11:00
CraftBukkit/Spigot
d6c970b00b SPIGOT-7918: Make error message clearer for slot types not present in player inventories
By: md_5 <git@md-5.net>
2024-10-23 07:30:39 +11:00
CraftBukkit/Spigot
a24f08778b SPIGOT-7920: Expose enderpearls of Player
By: md_5 <git@md-5.net>
2024-10-23 07:20:07 +11:00
CraftBukkit/Spigot
d3a23f42c3 Update to Minecraft 1.21.2
By: md_5 <git@md-5.net>
2024-10-23 02:15:00 +11:00
CraftBukkit/Spigot
2c4beb962b Remove outdated build delay
By: md_5 <git@md-5.net>
2024-10-23 02:00:00 +11:00
CraftBukkit/Spigot
2a98825ddf #1493: Improve reroute performance and add some tests
By: DerFrZocker <derrieple@gmail.com>
2024-10-15 21:05:19 +11:00
CraftBukkit/Spigot
8484d46297 Add support for Java 23
By: md_5 <git@md-5.net>
2024-10-14 19:57:04 +11:00
CraftBukkit/Spigot
c8344ab49d SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius
By: Doc <nachito94@msn.com>
2024-10-10 07:56:26 +11:00
CraftBukkit/Spigot
7be855108f Fix HIDE_ENCHANTS flag in items without enchantments
By: Doc <nachito94@msn.com>
2024-10-07 14:16:09 -03:00
CraftBukkit/Spigot
f77cb8d6c2 Bump asm to 9.7.1 and re-add ClassReader to ClassWriter
By: DerFrZocker <derrieple@gmail.com>
2024-10-06 14:38:13 +02:00
CraftBukkit/Spigot
adf5fecbbb #1487: Add specific getTopInventory methods for InventoryView derivatives
By: Miles Holder <mwholder@proton.me>
2024-10-06 18:45:12 +11:00
CraftBukkit/Spigot
d7d206b995 SPIGOT-7907, #1484: Improve merchant recipe item matching behavior to more closely align with older versions
Before the update for MC 1.20.5 (item components), merchant recipes
would accept items with additional NBT tags. Since 1.20.5, merchant
recipes created via the Bukkit API no longer accept additional
components.

This changes which component types we pick for merchant recipes created
via the API to more closely match the behavior from before the MC 1.20.5
update, i.e. ignore any empty / default components again.

By: blablubbabc <lukas@wirsindwir.de>
2024-10-06 18:32:00 +11:00
CraftBukkit/Spigot
54c12bdb6e SPIGOT-7909: Always set HIDE_ENCHANTS flag to item if flag is set
By: md_5 <git@md-5.net>
2024-10-06 18:25:07 +11:00
CraftBukkit/Spigot
bad69bdc04 Increase outdated build delay
By: md_5 <git@md-5.net>
2024-10-06 18:18:22 +11:00
CraftBukkit/Spigot
8fc133212d SPIGOT-7910: Fix launching breeze wind charge from API and improve dispenser launch API
By: md_5 <git@md-5.net>
2024-09-29 10:29:39 +10:00
CraftBukkit/Spigot
08fdfd6434 SPIGOT-7856, #1483: End platform not dropping items after replacing blocks
By: Miles Holder <mwholder@proton.me>
2024-09-27 12:57:36 +10:00
CraftBukkit/Spigot
2c7ce2505b SPIGOT-7780, #1482: Cannot edit chunks during unload event
Run all chunk unload events before the call to updateHighestAllowedStatus.

By: blablubbabc <lukas@wirsindwir.de>
2024-09-27 08:46:44 +10:00
CraftBukkit/Spigot
074c4c011e SPIGOT-7902, #1477: Fix CraftMetaPotion#hasCustomEffects() does not check if customEffects (List) is empty
By: James Perry <beanp02@yahoo.com>
2024-09-27 08:35:25 +10:00
CraftBukkit/Spigot
060be9b96a Implement base methods for tags
By: md_5 <git@md-5.net>
2024-09-27 08:28:45 +10:00
CraftBukkit/Spigot
0278929667 Improve Registry#getOrThrow messages
By: md_5 <git@md-5.net>
2024-09-27 08:21:32 +10:00
CraftBukkit/Spigot
eb72b9d8a3 #1475: Add tests for Minecraft registry <-> Bukkit fields
By: DerFrZocker <derrieple@gmail.com>
2024-09-27 08:15:18 +10:00
CraftBukkit/Spigot
8b1426d818 SPIGOT-7908: Mark junit-platform-suite-engine as test scope
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-09-27 08:07:51 +10:00
CraftBukkit/Spigot
fbf9dd80d4 #1473: Change tests to use suites, to run tests in different environments and feature flags
By: DerFrZocker <derrieple@gmail.com>
2024-09-26 20:01:56 +10:00
CraftBukkit/Spigot
18f63085bb #1481: Fix BeaconView#set[X]Effect(null)
By: Miles Holder <mwholder@proton.me>
2024-09-25 07:52:14 +10:00
CraftBukkit/Spigot
98e7025512 #1480: Fix PerMaterialTest#isEdible test running for legacy materials
By: DerFrZocker <derrieple@gmail.com>
2024-09-20 07:23:06 +10:00
CraftBukkit/Spigot
52e03b47a2 #1479: Use custom #isBlock method in legacy init instead of the one in Material, since it relies on legacy being init
By: DerFrZocker <derrieple@gmail.com>
2024-09-20 07:17:47 +10:00
CraftBukkit/Spigot
c98b18d4a2 SPIGOT-7904: Fix NPE for PlayerItemBreakEvent
By: Doc <nachito94@msn.com>
2024-09-19 06:45:18 +10:00
CraftBukkit/Spigot
c33c116001 Fix missing hasJukeboxPlayable
By: md_5 <git@md-5.net>
2024-09-17 21:09:21 +10:00
CraftBukkit/Spigot
5f1cd5748b SPIGOT-7881: CTRL+Pick Block saves position data into item
By: md_5 <git@md-5.net>
2024-09-15 17:17:10 +10:00
CraftBukkit/Spigot
4b1526b609 SPIGOT-7899: Smithing recipes don't require inputs
By: md_5 <git@md-5.net>
2024-09-15 16:50:24 +10:00
CraftBukkit/Spigot
5bc6a90535 SPIGOT-7894: NPE when sending tile entity update
By: md_5 <git@md-5.net>
2024-09-09 21:04:38 +10:00
CraftBukkit/Spigot
b7359583f2 SPIGOT-7895: PlayerItemBreakEvent not firing
By: md_5 <git@md-5.net>
2024-09-09 20:57:37 +10:00
CraftBukkit/Spigot
deb7197a64 SPIGOT-7875: Fix PlayerItemConsumeEvent cancellation causing client-side desync
By: Doc <nachito94@msn.com>
2024-09-07 19:35:16 +10:00
CraftBukkit/Spigot
616ec5f700 SPIGOT-7891: Can't remove second ingredient of MerchantRecipe
By: md_5 <git@md-5.net>
2024-09-07 18:57:55 +10:00
CraftBukkit/Spigot
fbea3cdc0c #1458: Add MenuType API
By: Miles Holder <mwholder2005@gmail.com>
2024-09-07 18:52:00 +10:00
CraftBukkit/Spigot
ac5e815b3e SPIGOT-7867: Merchant instanceof AbstractVillager always returns false
By: Miles Holder <mwholder2005@gmail.com>
2024-09-07 18:14:09 +10:00
CraftBukkit/Spigot
7657f347d2 #1468: Expand riptiding API
By: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
2024-09-07 18:08:13 +10:00
CraftBukkit/Spigot
106225f127 Ignore checks in CraftPlayerProfile for ResolvableProfile used in profile components
By: Doc <nachito94@msn.com>
2024-08-31 10:25:23 -04:00
CraftBukkit/Spigot
3919314de0 SPIGOT-7889: Fix tool component deserialisation without speed and/or correct-for-drops
By: md_5 <git@md-5.net>
2024-08-31 08:49:31 +10:00
CraftBukkit/Spigot
b133887b85 SPIGOT-7882, #1467: Fix conversion of name in Profile Component to empty if it is missing
By: Doc <nachito94@msn.com>
2024-08-31 08:40:57 +10:00
CraftBukkit/Spigot
b2a28c54bb SPIGOT-7887: Remove duplicate ProjectileHitEvent for fireballs
By: md_5 <git@md-5.net>
2024-08-29 07:23:29 +10:00
CraftBukkit/Spigot
ab921984fc SPIGOT-7878: Server#getLootTable does not return null on invalid loot table
By: md_5 <git@md-5.net>
2024-08-24 08:02:44 +10:00
CraftBukkit/Spigot
0916d51f5d SPIGOT-7876: Can't kick player or disconnect player in PlayerLoginEvent when checking for cookies
By: md_5 <git@md-5.net>
2024-08-24 07:51:55 +10:00
CraftBukkit/Spigot
84f1d558c3 #1465: Add FireworkMeta#hasPower
By: Doc <nachito94@msn.com>
2024-08-24 07:44:52 +10:00
CraftBukkit/Spigot
51e69e6788 SPIGOT-7873: Add powered state for skulls
By: md_5 <git@md-5.net>
2024-08-24 07:42:35 +10:00
CraftBukkit/Spigot
0b4a111361 Improve minecart movement
By: md_5 <git@md-5.net>
2024-08-24 07:42:35 +10:00
CraftBukkit/Spigot
7eb7761ca0 SPIGOT-7872: Fix crash with event-modified teleports
By: md_5 <git@md-5.net>
2024-08-17 08:40:13 +10:00
CraftBukkit/Spigot
9f0a790b3d SPIGOT-7868, #1463: Fix default and max power in FireworkMeta
By: Doc <nachito94@msn.com>
2024-08-17 08:37:46 +10:00
CraftBukkit/Spigot
71695536dd SPIGOT-7783, SPIGOT-7784, #1460: Add Trial Vault & Spawner event API
By: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
2024-08-13 20:50:04 +10:00
CraftBukkit/Spigot
3a8b574f16 #1462: Fix broken links and minor improvement for checkstyle.xml
By: Doc <nachito94@msn.com>
2024-08-12 21:26:49 +10:00
CraftBukkit/Spigot
921fbc5f60 Update to Minecraft 1.21.1
By: md_5 <git@md-5.net>
2024-08-09 07:00:00 +10:00
CraftBukkit/Spigot
59b86b9837 SPIGOT-7857: Improve ItemMeta block data deserialization
By: blablubbabc <lukas@wirsindwir.de>
2024-08-08 07:44:52 +10:00
CraftBukkit/Spigot
8c7a0e888f SPIGOT-7857: Fix spurious internal NBT tag when deserializing BlockStateMeta
By: md_5 <git@md-5.net>
2024-08-06 19:07:10 +10:00
CraftBukkit/Spigot
2f0c34a2cf SPIGOT-7855: Fire does not spread or burn blocks
By: md_5 <git@md-5.net>
2024-08-05 17:28:37 +10:00
CraftBukkit/Spigot
3fb8f4b1d1 SPIGOT-7853: AnvilInventory#getRepairCost() always returns 0
By: Miles Holder <mwholder2005@gmail.com>
2024-07-30 07:11:55 +10:00
CraftBukkit/Spigot
9a7508c3ab #1450: Add CrafterCraftEvent
By: ploppyperson <nathat890@outlook.com>
Also-by: md_5 <git@md-5.net>
2024-07-30 07:07:10 +10:00