Commit graph

4804 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
8317d4c799 SPIGOT-5731: PortalCreateEvent#getEntity returns null for nether portals ignited by flint and steel
By: md_5 <git@md-5.net>
2024-07-28 08:54:10 +10:00
CraftBukkit/Spigot
1a0dce328a #1456: Fix inverted logic in CraftCrafterView#setSlotDisabled
By: Miles Holder <mwholder2005@gmail.com>
2024-07-28 08:34:00 +10:00
CraftBukkit/Spigot
57bb408920 SPIGOT-7850: Add API for Bogged shear state
By: md_5 <git@md-5.net>
2024-07-27 10:28:37 +10:00
CraftBukkit/Spigot
d2745c6491 SPIGOT-7837: Support data pack banner patterns
By: Doc <nachito94@msn.com>
2024-07-27 10:14:41 +10:00
CraftBukkit/Spigot
bfad1aa117 #1431: Add API for InventoryView derivatives
By: Miles Holder <mwholder2005@gmail.com>
2024-07-27 10:01:29 +10:00
CraftBukkit/Spigot
7fae51f18d SPIGOT-7849: Fix FoodComponent serialize with "using-converts-to" using null
By: Doc <nachito94@msn.com>
2024-07-26 07:25:02 +10:00
CraftBukkit/Spigot
983dd759e8 Don't rely on tags for CraftItemMetas
By: md_5 <git@md-5.net>
2024-07-24 19:40:55 +10:00
CraftBukkit/Spigot
af7b1e8dec SPIGOT-7846: Fix ItemMeta for hanging signs
By: md_5 <git@md-5.net>
2024-07-24 19:40:50 +10:00
CraftBukkit/Spigot
5454e3684d Remove redundant clone in Dropper InventoryMoveItemEvent
By: md_5 <git@md-5.net>
2024-07-20 11:31:34 +10:00
CraftBukkit/Spigot
cf07a707a1 SPIGOT-7817: Call InventoryMoveItemEvent for Crafters
By: ploppyperson <nathat890@outlook.com>
2024-07-20 11:31:30 +10:00
CraftBukkit/Spigot
b9c7f251e4 SPIGOT-7839: Remove redundant Java version checks
By: md_5 <git@md-5.net>
2024-07-20 10:20:27 +10:00
CraftBukkit/Spigot
60eec22bd3 SPIGOT-7809: Add ShieldMeta and fix setting shield base colours
By: Doc <nachito94@msn.com>
Also-by: md_5 <git@md-5.net>
2024-07-20 10:15:22 +10:00
CraftBukkit/Spigot
58a0878879 SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT
By: Doc <nachito94@msn.com>
2024-07-16 19:53:08 +10:00
CraftBukkit/Spigot
92c33ca0c7 Increase outdated build delay
By: md_5 <git@md-5.net>
2024-07-15 20:06:23 +10:00
CraftBukkit/Spigot
71bc2b07ed SPIGOT-7827: Sync EntityPortalEvent with PlayerPortalEvent since non-players can now create portals
By: md_5 <git@md-5.net>
2024-07-10 19:43:43 +10:00
CraftBukkit/Spigot
4377eb6edb SPIGOT-7823: Suspicious sand and gravel material are not marked as having gravity correctly
By: md_5 <git@md-5.net>
2024-07-10 18:50:13 +10:00
CraftBukkit/Spigot
9d6d5d8dc5 SPIGOT-7820: Enum changes - duplicate method name
By: DerFrZocker <derrieple@gmail.com>
2024-07-08 07:01:03 +10:00
CraftBukkit/Spigot
d86a8b483e SPIGOT-7813: Material#isInteractable() always returns false
By: md_5 <git@md-5.net>
2024-07-07 09:24:47 +10:00
CraftBukkit/Spigot
d7c74a442e SPIGOT-7806: Handle both loot and inventory item drop behaviour in PlayerDeathEvent
By: Doc <nachito94@msn.com>
2024-07-06 17:25:39 +10:00
CraftBukkit/Spigot
b6655d093f SPIGOT-7799, #1436: Expose explosion world interaction in EntityExplodeEvent and BlockExplodeEvent
By: antiPerson <nathat890@outlook.com>
2024-07-06 17:19:45 +10:00
CraftBukkit/Spigot
41b8d833db #1424: Trial changing a small number of inner enums to classes/interfaces to better support custom values
This PR is a subset of the enum PR #931 and is designed as a low impact
trial run of the design and backwards compatibility to inform
subsequent development.

Additional plugin compatibility features may be available by setting
`settings.compatibility.enum-compatibility-mode` to `true` in
`bukkit.yml`.

By: DerFrZocker <derrieple@gmail.com>
2024-07-06 17:14:22 +10:00
CraftBukkit/Spigot
f59f0d1c9b SPIGOT-7815: Consider EntityDamageEvent status for Wolf armor damage
By: Doc <nachito94@msn.com>
2024-07-06 08:33:12 +10:00
CraftBukkit/Spigot
76326aa5f8 SPIGOT-7814: Call PlayerShearEntityEvent for Bogged
By: Doc <nachito94@msn.com>
2024-07-04 20:48:21 +10:00
CraftBukkit/Spigot
3c20906a6b Fix wolf armor not dropping from use of shears
By: md_5 <git@md-5.net>
2024-07-04 07:13:33 +10:00
CraftBukkit/Spigot
7288f31c8d SPIGOT-7812: Revert "SPIGOT-7809: Restore shield/banner conversion for base colours"
This reverts commit 09b9a2110e.

By: md_5 <git@md-5.net>
2024-07-04 07:01:08 +10:00
CraftBukkit/Spigot
80c81ef1ae SPIGOT-7811: Enchantments are applied on sweeping attack even if damage event is cancelled
By: md_5 <git@md-5.net>
2024-07-03 20:27:36 +10:00
CraftBukkit/Spigot
376a4220bf SPIGOT-7808: Fix implementation of Enchantment#getName() for bad name return
By: Doc <nachito94@msn.com>
2024-07-03 20:21:17 +10:00
CraftBukkit/Spigot
09b9a2110e SPIGOT-7809: Restore shield/banner conversion for base colours
By: md_5 <git@md-5.net>
2024-07-03 20:21:13 +10:00
CraftBukkit/Spigot
292255a36a SPIGOT-7805: Fix jukebox deserialization
By: blablubbabc <lukas@wirsindwir.de>
2024-07-01 07:08:06 +10:00
CraftBukkit/Spigot
bc75f0bcb5 SPIGOT-7804: Fix written book serialization
* Account for null/missing values when deserializing the 'resolved' and
  'generation' fields.
* Serialize the book pages as JSON strings.
* Avoid redundant conversion from strings to components to JSON and back to
  components during deserialization.
  Add CraftChatMessage.fromJSONOrString that accepts a maxLength argument
  and remove the no longer used fromJSONOrStringToJSON, fromStringToJSON,
  and fromJSONComponent helper methods.

By: blablubbabc <lukas@wirsindwir.de>
2024-06-30 16:27:23 +10:00
CraftBukkit/Spigot
8821aa372c SPIGOT-7800, SPIGOT-7801: Keep vanilla behaviour for items dropped on player death
By: Doc <nachito94@msn.com>
2024-06-29 14:03:10 +10:00
CraftBukkit/Spigot
5f8cff3bb5 #1429: Implement TrialSpawnerSpawnEvent
By: Doc <nachito94@msn.com>
2024-06-28 07:06:36 +10:00
CraftBukkit/Spigot
820bc6423d #1354: Improve spawner API and add API for Trial Spawners
By: coll1234567 <joshl5324@gmail.com>
2024-06-28 07:06:20 +10:00
CraftBukkit/Spigot
c59410cfbc Increase outdated build delay
By: md_5 <git@md-5.net>
2024-06-26 07:00:34 +10:00
CraftBukkit/Spigot
2426828552 SPIGOT-7794: Cancelling InventoryItemMoveEvent destroys items
By: md_5 <git@md-5.net>
2024-06-24 20:30:28 +10:00
CraftBukkit/Spigot
0d64e2be4b SPIGOT-7796: Kickplayer newlines not working
By: md_5 <git@md-5.net>
2024-06-24 06:33:02 +10:00
CraftBukkit/Spigot
d8b3812655 SPIGOT-7795: Fix damage/stats ignore the invulnerable damage time
By: Doc <nachito94@msn.com>
2024-06-23 13:32:25 -04:00
CraftBukkit/Spigot
5d025bbee8 Improve cross-world teleportation handling
By: md_5 <git@md-5.net>
2024-06-23 16:45:29 +10:00
CraftBukkit/Spigot
477394d314 #1433: HumanEntity#openInventory(InventoryView) should only support views belonging to the player
By: Miles Holder <mwholder2005@gmail.com>
2024-06-22 18:48:51 +10:00
CraftBukkit/Spigot
aef018b9c4 SPIGOT-7732: Issue with the "hurt()" method of EntityLiving and invulnerable time
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-06-22 18:46:41 +10:00
CraftBukkit/Spigot
7667932681 SPIGOT-7791: Skull BlockState with null profile causes NullPointerException
By: md_5 <git@md-5.net>
2024-06-22 11:42:15 +10:00
CraftBukkit/Spigot
7e7632f81a SPIGOT-7785: Teleporting a player at the right moment can mess up vanilla teleportation
By: md_5 <git@md-5.net>
2024-06-22 10:08:46 +10:00
CraftBukkit/Spigot
97750e6387 SPIGOT-7772: Include hidden / non-sampled players in player count
By: md_5 <git@md-5.net>
2024-06-22 08:07:02 +10:00
CraftBukkit/Spigot
542f38bbd0 SPIGOT-7790: Server crashes after bee nest is forced to update
By: md_5 <git@md-5.net>
2024-06-22 07:42:29 +10:00
CraftBukkit/Spigot
d67f71f3f4 SPIGOT-7788: The healing power of friendship advancement is never granted
By: md_5 <git@md-5.net>
2024-06-21 07:37:52 +10:00
CraftBukkit/Spigot
2f1800fa2e SPIGOT-7789: Fix NPE in CraftMetaFirework applyToItem
By: blablubbabc <lukas@wirsindwir.de>
2024-06-20 07:04:11 +10:00
CraftBukkit/Spigot
be0055d2a0 #1429: Add CreatureSpawnEvent.SpawnReason#TRIAL_SPAWNER
By: Doc <nachito94@msn.com>
2024-06-19 19:18:47 +10:00
CraftBukkit/Spigot
85ae59a767 SPIGOT-7777: Speed attribute stays after death; missing EntityPotionEffectEvent call
By: md_5 <git@md-5.net>
2024-06-19 07:10:02 +10:00
CraftBukkit/Spigot
1128edadb2 #1428: Expose Creeper igniter
By: Doc <nachito94@msn.com>
2024-06-19 06:48:33 +10:00
CraftBukkit/Spigot
e43f607e6a #1425: Fix bytecode transformation taking care of class-to-interface compatibility.
By: Jannyboy11 <Jannyboy11@gmail.com>
2024-06-18 19:19:15 +10:00
CraftBukkit/Spigot
ac95e0b210 SPIGOT-7770: Fix certain shaped recipes not registering
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-06-18 19:06:07 +10:00
CraftBukkit/Spigot
5f8b82d6cc #1426: Deprecate more unused methods in UnsafeValues
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-06-17 20:56:19 +10:00
CraftBukkit/Spigot
8537c328d0 SPIGOT-7771: Material.getDefaultAttributes always returns an empty map
By: md_5 <git@md-5.net>
2024-06-17 19:44:14 +10:00
CraftBukkit/Spigot
9707379cfa Use expanded interaction ranges for traced interact events
By: md_5 <git@md-5.net>
2024-06-16 18:39:52 +10:00
CraftBukkit/Spigot
d2d0972bc3 #1414: Convert InventoryView to interface
By: Miles Holder <mwholder2005@gmail.com>
2024-06-16 08:47:38 +10:00
CraftBukkit/Spigot
6af115230a Fix Implementation for DamageSource#isIndirect for internal custom causing entity
By: Doc <nachito94@msn.com>
2024-06-15 12:47:45 -04:00
CraftBukkit/Spigot
199310d0bd SPIGOT-7761: Ender pearl does not damage or spawn endermites
By: md_5 <git@md-5.net>
2024-06-15 18:47:12 +10:00
CraftBukkit/Spigot
7feadbf2ee SPIGOT-7759: Chunk not there when requested in ChunkUnloadEvent
By: md_5 <git@md-5.net>
2024-06-15 16:47:43 +10:00
CraftBukkit/Spigot
9f79c6f74e Remove unused import
By: md_5 <git@md-5.net>
2024-06-15 12:52:01 +10:00
CraftBukkit/Spigot
3e98b1bcbe SPIGOT-7757: Cannot set item in Stonecutter Inventory
By: md_5 <git@md-5.net>
2024-06-15 12:48:38 +10:00
CraftBukkit/Spigot
85df4599c9 Move deserialized removed unhandled tags to dedicated removedTags
By: md_5 <git@md-5.net>
2024-06-15 10:09:35 +10:00
CraftBukkit/Spigot
87c3fdad31 Fix potential mutability issue with CraftMetaItem copy constructor
By: md_5 <git@md-5.net>
2024-06-15 07:03:03 +10:00
CraftBukkit/Spigot
1e6fb15514 SPIGOT-7741: Vanilla ItemComponent in commands can't remove components
By: md_5 <git@md-5.net>
2024-06-15 07:03:03 +10:00
CraftBukkit/Spigot
26f44f56c1 #1284: Move ItemType <-> ItemMeta linking to a centralized place
By: DerFrZocker <derrieple@gmail.com>
2024-06-15 06:53:46 +10:00
CraftBukkit/Spigot
c985be99a6 #1420: Fix DirectEntity and CausingEntity Damager for Creepers ignited by Player
By: Doc <nachito94@msn.com>
2024-06-15 06:47:48 +10:00
CraftBukkit/Spigot
17fc7c0926 SPIGOT-7751: Fix crash caused by arrows from trial spawners
By: Jishuna <joshl5324@gmail.com>
2024-06-14 10:14:27 -04:00
CraftBukkit/Spigot
3e0c06d5c6 SPIGOT-7747: Mob head is not dropped when mob was blown up by a charged creeper
By: md_5 <git@md-5.net>
2024-06-14 19:14:35 +10:00
CraftBukkit/Spigot
df2a17df77 SPIGOT-7746: Server Crashing when Players Getting into End Portals
By: md_5 <git@md-5.net>
2024-06-14 19:03:14 +10:00
CraftBukkit/Spigot
8a61d81e90 SPIGOT-7744: Fix exception for shooting projectiles with flame enchantment
By: Doc <nachito94@msn.com>
2024-06-13 21:38:40 -04:00
CraftBukkit/Spigot
1498e34f2c SPIGOT-7744: Fix crash when shooting arrows in creative mode
By: Doc <nachito94@msn.com>
2024-06-13 20:53:57 -04:00
CraftBukkit/Spigot
b7c0614c58 Fix player items not dropping on death
By: md_5 <git@md-5.net>
2024-06-14 07:18:22 +10:00
CraftBukkit/Spigot
9c115e8fae Implement DamageCause#CAMPFIRE and minor improvement in exception for Unhandled block damage
By: Doc <nachito94@msn.com>
2024-06-13 12:23:28 -04:00
CraftBukkit/Spigot
eed041d629 Update to Minecraft 1.21
By: md_5 <git@md-5.net>
2024-06-14 01:05:00 +10:00
CraftBukkit/Spigot
7c6204e1a9 Remove outdated build delay
By: md_5 <git@md-5.net>
2024-06-14 01:00:00 +10:00
CraftBukkit/Spigot
1ded727925 SPIGOT-7737: Add separate TreeType.MEGA_PINE
By: md_5 <git@md-5.net>
2024-06-11 21:04:56 +10:00
CraftBukkit/Spigot
92a9fb31be Fix spawn egg equality check and copy constructor
By: md_5 <git@md-5.net>
2024-06-11 06:59:14 +10:00
CraftBukkit/Spigot
cd2a1a6d7e Fix spawn eggs with no entity creating invalid stacks and disconnect creative clients
Example: /give @s minecraft:cat_spawn_egg[minecraft:max_stack_size=1,minecraft:max_damage=100,minecraft:damage=10] 1

By: md_5 <git@md-5.net>
2024-06-10 14:06:38 +10:00
CraftBukkit/Spigot
b365899587 SPIGOT-7736: Creative spawn egg use loses components
By: md_5 <git@md-5.net>
2024-06-10 14:06:36 +10:00
CraftBukkit/Spigot
9db084c279 SPIGOT-7731: Spawn eggs cannot have damage
By: Doc <nachito94@msn.com>
2024-06-10 14:06:34 +10:00
CraftBukkit/Spigot
95f120b7ff SPIGOT-7735: Fix serialization of player heads with note block sound
By: blablubbabc <lukas@wirsindwir.de>
2024-06-10 08:35:53 +10:00
CraftBukkit/Spigot
bf2a69e0fc SPIGOT-7734: Can't register a custom advancement using unsafe()
By: md_5 <git@md-5.net>
2024-06-09 11:12:13 +10:00
CraftBukkit/Spigot
cd4487372e #1413: Add force option to Player#spawnParticle
By: Jishuna <joshl5324@gmail.com>
2024-06-08 09:11:27 +10:00
CraftBukkit/Spigot
0ebd5b0b0d SPIGOT-7680: Per-world weather command
By: md_5 <git@md-5.net>
2024-06-08 09:08:09 +10:00
CraftBukkit/Spigot
00cc0753d7 #1409: Add methods to get players seeing specific chunks
By: MetallicGoat <the.great.metallic.goat@gmail.com>
2024-06-08 09:03:44 +10:00
CraftBukkit/Spigot
65929a6d22 #1412: Fix shipwreck loot tables not being set for BlockTransformers
By: Lauriichan <lauriichan@playuniverse.org>
2024-06-05 07:17:32 +10:00
CraftBukkit/Spigot
6d2082bf75 #1360: Add Material#isCompostable and Material#getCompostChance
By: mfnalex <mfnalex@jeff-media.com>
2024-06-05 07:15:52 +10:00
CraftBukkit/Spigot
d267f74a0b SPIGOT-7676: Enforce locale parameter in toLowerCase and toUpperCase method calls and always use root locale
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:18:17 +10:00
CraftBukkit/Spigot
4b6edd3c82 Increase outdated build delay
By: md_5 <git@md-5.net>
2024-06-02 08:58:26 +10:00
CraftBukkit/Spigot
764529d82b SPIGOT-7675: Fix FoodComponent config deserialization
Be more lenient when converting floating point numbers during config
deserialization of item data.

By: blablubbabc <lukas@wirsindwir.de>
2024-05-31 07:14:09 +10:00
CraftBukkit/Spigot
79d9816660 #1406: Fix incorrect assumption of Fireball having constant speed
By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:56:42 +10:00
CraftBukkit/Spigot
4691102616 #1405: Add a tool component to ItemMeta
By: 2008Choco <hawkeboyz2@hotmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-29 06:53:59 +10:00
CraftBukkit/Spigot
3433d3f5b7 #1404: Add PotionEffectTypeCategory to distinguish between beneficial and harmful effects
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-29 06:50:08 +10:00
CraftBukkit/Spigot
402878b8cd #1403, SPIGOT-4288, SPIGOT-6202: Add material rerouting in preparation for the switch to ItemType and BlockType
This also moves the conversion from and to legacy material to the method
calls of legacy plugins, and no longer allows them directly in the
server.

This has the side effect of fixing some legacy plugin issues, such as
SPIGOT-4288, SPIGOT-6161. Also fixes legacy items sometimes not stacking
in inventory when using addItem, a client disconnect when using legacy
items in recipes and probably some more.

By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:48:55 +10:00
CraftBukkit/Spigot
c955ea1663 #1401: Add a config option to accept old keys in registry get calls
By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:45:14 +10:00
CraftBukkit/Spigot
6f5d01226e #1402: Fix ChunkSnapshot#isSectionEmpty() is always false
By: MetallicGoat <the.great.metallic.goat@gmail.com>
2024-05-23 21:14:56 +10:00
CraftBukkit/Spigot
60c7d83e00 SPIGOT-7668: Move NONE Registry updater to FieldRename to avoid some class loader issues
By: DerFrZocker <derrieple@gmail.com>
2024-05-19 21:35:46 +02:00
CraftBukkit/Spigot
04a297608d #1399: Fix regression preventing positive .setDamage value from causing knockback for 0 damage events
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-05-14 21:32:40 +10:00
CraftBukkit/Spigot
575f106abd Increase outdated build delay
By: md_5 <git@md-5.net>
2024-05-13 21:21:16 +10:00
CraftBukkit/Spigot
850e49f268 SPIGOT-7664: Item meta should prevail over block states
By: md_5 <git@md-5.net>
2024-05-10 19:33:23 +10:00
CraftBukkit/Spigot
317917800c SPIGOT-7666: Fix access to llama and horse special slot
By: md_5 <git@md-5.net>
2024-05-10 19:23:01 +10:00
CraftBukkit/Spigot
54f230de84 SPIGOT-7665: Fix ThrownPotion#getEffects() implementation only bringing custom effects
By: Doc <nachito94@msn.com>
2024-05-10 19:09:20 +10:00
CraftBukkit/Spigot
17b4c0d7a3 Restore null page behaviour of signed books even though not strictly allowed by API
By: md_5 <git@md-5.net>
2024-05-10 19:08:54 +10:00
CraftBukkit/Spigot
e01dc013f7 Fix regression listening to minecraft:brand custom payloads
By: md_5 <git@md-5.net>
2024-05-08 07:34:19 +10:00
CraftBukkit/Spigot
06b53d8386 Fix unnecessary and potential not thread-safe chat visibility check
By: md_5 <git@md-5.net>
2024-05-07 21:40:57 +10:00
CraftBukkit/Spigot
38d4a335ea Remove unused imports
By: md_5 <git@md-5.net>
2024-05-06 20:30:27 +10:00
CraftBukkit/Spigot
f89c0d3ad7 #1397: Add ItemMeta#getAsComponentString()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-06 20:23:39 +10:00
CraftBukkit/Spigot
f323d82f21 Largely restore deprecated PotionData API
By: md_5 <git@md-5.net>
2024-05-05 20:45:48 +10:00
CraftBukkit/Spigot
8f55ed539f #1275: Add internal ItemType and BlockType, delegate Material methods to them
By: Jishuna <joshl5324@gmail.com>
Also-by: Bjarne Koll <lynxplay101@gmail.com>
Also-by: DerFrZocker <derrieple@gmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-05 10:08:54 +10:00
CraftBukkit/Spigot
b4e6cc4dce SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent
By: Doc <nachito94@msn.com>
2024-05-05 09:34:57 +10:00
CraftBukkit/Spigot
7aa4984347 SPIGOT-6993: Allow #setVelocity to change the speed of a fireball and add a note to #setDirection about it
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 19:34:27 +10:00
CraftBukkit/Spigot
4951fa2dd1 Support both entity_data and bucket_entity_data on axolotl/fish buckets
By: md_5 <git@md-5.net>
2024-05-04 14:25:29 +10:00
CraftBukkit/Spigot
fb2cd0f8e3 Fix custom direct BlockState being not correctly set in DamageSource
By: Doc <nachito94@msn.com>
2024-05-03 21:58:56 -04:00
CraftBukkit/Spigot
9bf6a88788 SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA
By: md_5 <git@md-5.net>
2024-05-04 08:49:06 +10:00
CraftBukkit/Spigot
acdb83379e #1393: Improve field rename handling and centralize conversion between bukkit and string more
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 08:19:07 +10:00
CraftBukkit/Spigot
f91094ddfd SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent
By: Doc <nachito94@msn.com>
2024-05-04 08:16:00 +10:00
CraftBukkit/Spigot
066665a979 #1390: Improve internal handling of damage sources
By: Doc <nachito94@msn.com>
2024-05-04 08:15:51 +10:00
CraftBukkit/Spigot
f01e218606 SPIGOT-7657: Error when loading angry entities
By: md_5 <git@md-5.net>
2024-05-03 19:06:46 +10:00
CraftBukkit/Spigot
c604cac551 SPIGOT-7652: Remove remap for SPELL_MOB_AMBIENT which no longer exists
By: md_5 <git@md-5.net>
2024-05-02 21:26:08 +10:00
CraftBukkit/Spigot
de3b4d1800 SPIGOT-7654: ItemStack#isSimilar does not work with empty BlockStateMeta
By: md_5 <git@md-5.net>
2024-05-02 21:22:32 +10:00
CraftBukkit/Spigot
54dd884d80 SPIGOT-7655: ItemMeta#addItemFlags(ItemFlag.HIDE_ATTRIBUTES) not working when no attribute modifiers set
By: md_5 <git@md-5.net>
2024-05-02 21:00:12 +10:00
CraftBukkit/Spigot
23b13ad11a SPIGOT-7653: Update ApiVersion.CURRENT with latest version and include tests
By: Doc <nachito94@msn.com>
2024-05-02 07:00:16 +10:00
CraftBukkit/Spigot
f13c8f9203 SPIGOT-7649: Allow /setworldspawn command in all worlds again
By: md_5 <git@md-5.net>
2024-04-30 06:41:46 +10:00
CraftBukkit/Spigot
b563a66078 #1389: Fix incorrect damager entity for projectile damage events
By: Doc <nachito94@msn.com>
2024-04-30 06:28:56 +10:00
CraftBukkit/Spigot
897584d94f Update to Minecraft 1.20.6
By: md_5 <git@md-5.net>
2024-04-30 06:15:00 +10:00
CraftBukkit/Spigot
a78a169340 SPIGOT-7617: Add BlockExplodeEvent#getExplodedBlockState()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-29 20:08:56 +10:00
CraftBukkit/Spigot
1390477e34 SPIGOT-7646: Don't duplicate PDC in customTag / retain old values
By: md_5 <git@md-5.net>
2024-04-29 07:38:24 +10:00
CraftBukkit/Spigot
4ae8689c1b SPIGOT-7644: Fix ItemMeta#getAsString
By: md_5 <git@md-5.net>
2024-04-28 07:41:53 +10:00
CraftBukkit/Spigot
0222693862 SPIGOT-7615: PlayerLeashEntityEvent cancelled eats lead
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:19 +10:00
CraftBukkit/Spigot
44c4305918 Do not remove leash knot if leasing to an existing leash knot gets cancelled
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:18 +10:00
CraftBukkit/Spigot
6041b5c6b5 SPIGOT-7643: Fix inverted leash event cancelled usage and remove leash knot if no entity gets leashed
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:16 +10:00
CraftBukkit/Spigot
9963078a80 SPIGOT-7640: Abnormal jumping height of wind charge
By: DerFrZocker <derrieple@gmail.com>
2024-04-27 11:02:53 +02:00
CraftBukkit/Spigot
d220a7c580 SPIGOT-7639: Incoming plugin channels not working
By: md_5 <git@md-5.net>
2024-04-27 15:37:13 +10:00
CraftBukkit/Spigot
6dc63e45f2 Open a direct connection instead of pinging mojang server to check if it is reachable
By: DerFrZocker <derrieple@gmail.com>
2024-04-26 09:16:58 +02:00