aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-06-16make EntityPortalReadyEvent#setTargetWorld work againJake Potrebic
2024-06-16remove remaining reference to 'pgive'Jake Potrebic
2024-06-17Enchantment and GameEvent Registry builders (#10889)Jake Potrebic
Co-authored-by: Bjarne Koll <[email protected]>
2024-06-16Update ChunkMap#distanceManager mapping patchJason Penilla
2024-06-16Fix legacy cb version in remapperNassim Jahnke
2024-06-16Fix implementations of ChunkHolder#getChunkIfPresentSpottedleaf
Implementations for ChunkStatuses below FULL are supposed to always return ProtoChunk instances. However, since we used the last completed status, it could return LevelChunk. To resolve this, follow Vanilla behavior of tracking chunk completions by status and replace old ProtoChunk statuses with ImposterProtoChunk when the chunk generates to FULL. Additionally, implement an optimisation for retrieving full chunks by storing a map of pos -> LevelChunk. This requires only a simple map lookup to occur for full chunks which are loaded.
2024-06-16Registry Modification API (#10893)Jake Potrebic
* Registry Modification API * some fixes * even more fixes
2024-06-16Fix getAddress connection checkNassim Jahnke
2024-06-16call EntityDamageItemEvent for thornsJake Potrebic
2024-06-16Update Wither#canTravelThroughPortalsBjarne Koll
2024-06-16Updated Upstream (Bukkit/CraftBukkit)Bjarne Koll
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 2b4b6d14 PR-1023: Convert InventoryView to interface CraftBukkit Changes: 68603b1c1 Use expanded interaction ranges for traced interact events eae9f760c PR-1414: Convert InventoryView to interface ee9eafe67 Fix Implementation for DamageSource#isIndirect for internal custom causing entity
2024-06-16update 'improve mass craft perf' patchJake Potrebic
2024-06-16Add Adventure API to ServerLinks (#10891)Jakub Zacek
2024-06-16Remove fully dropped patchesNassim Jahnke
2024-06-16Remove bad server.scheduleOnMain disconnect calls from old patchesNassim Jahnke
The new behavior of disconnect to block the current thread until the disconnect succeeded is better than throwing it off to happen at some point
2024-06-16Add back more patchesNassim Jahnke
2024-06-16De-deprecate BlockData#getDestroySpeedBjarne Koll
2024-06-16address compile and test issue (#10890)Yannick Lamprecht
2024-06-15Fix NPE in V3808Spottedleaf
The armor items may not exist, so we need to null check it.
2024-06-15Restore functionality to sand dupe settingOwen1212055
2024-06-15Owen fixing stuff!!!Owen1212055
2024-06-15add some generated typed/tag keysJake Potrebic
2024-06-15Remove unnecessary changes from chunk status fixSpottedleaf
2024-06-16Deprecate BlockData#getDestroySpeed for removalBjarne Koll
The method sadly is not usable in 1.21 without a player as all of an enchantments attribtue modifiers rely on a base value supplied by a player. The method could only offer a rough estimate based on some default values, however a better method for this should be added down the line rather than trying to force such logic into the existing one.
2024-06-16Properly forward DispenseEvent #getItem to saddleBjarne Koll
Correctly use the DispenseEvent's #getItem ItemStack when placing the saddle on entities during a dispense behaviour instead of the original stack.
2024-06-15Configurable damage tick when blocking with shield (#10877)Bjarne Koll
A long standing bug in spigot and its derivatives was the fact that players taking damage while blocking with a shield would not receive invulnerability, while they do in vanilla. This enabled the pvp technique of disabling a shield and immediately attacking again to knock a player into the air. While upstream fixed this and properly aligned itself with vanilla damage logic (in this specific case) changing such long standing behaviour has some downsides. To allow players used to this specific bug to still use it, this patch introduces a configuration option to re-introduce said bug. As there is no easy way to *only* re-add this bug, the option is found in the unsupported section as it may introduce other damage related disparity from vanilla.
2024-06-15Add back RecipeIterator fixes patch (#10887)Aya
2024-06-15correctly change enchantment registry to a 'delayed' versionJake Potrebic
2024-06-15Fix max chunk status checksNassim Jahnke
2024-06-15Add back more optimization patchesNassim Jahnke
2024-06-15Improve enchantWithLevels logicBjarne Koll
Previously would stream and optionally filter out all entries in the enchantment registry. Moves it to using the empty optional if treasure is allowed, leaving the logic to EnchantmentHelper.
2024-06-15Merge remote-tracking branch 'origin/dev/1.21' into dev/1.21Nassim Jahnke
2024-06-15Fix ItemMeta#removeEnchantments (#10886)Ghast
2024-06-15Fix Player#sendBlockState (#10855)Jake Potrebic
2024-06-15Update AbstractArrow item method implementations for 1.20.6 (#10885)Jake Potrebic
2024-06-15Revert DamageSource#getCausingEntity to vanillaBjarne Koll
2024-06-15Updated Upstream (Bukkit/CraftBukkit)Nassim Jahnke
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: e2160a18 Make MapCursor#type not depends on deprecated values CraftBukkit Changes: 6ce172642 SPIGOT-7761: Ender pearl does not damage or spawn endermites f5a63f734 SPIGOT-7759: Chunk not there when requested in ChunkUnloadEvent 28287259c Remove unused import eb9a7dde0 SPIGOT-7757: Cannot set item in Stonecutter Inventory f8be9d752 Move deserialized removed unhandled tags to dedicated removedTags a7e576186 Fix potential mutability issue with CraftMetaItem copy constructor 995885452 SPIGOT-7741: Vanilla ItemComponent in commands can't remove components 9ef69aa0b PR-1284: Move ItemType <-> ItemMeta linking to a centralized place 3e82eafbe PR-1420: Fix DirectEntity and CausingEntity Damager for Creepers ignited by Player c23daa71f SPIGOT-7751: Fix crash caused by arrows from trial spawners Make MapCursor#type not depends on deprecated values SPIGOT-7761: Ender pearl does not damage or spawn endermites
2024-06-15rebuild patchesJake Potrebic
2024-06-15Update more optimization patchesNassim Jahnke
2024-06-14Bump tiny-remapper to 0.10.3Jason Penilla
Fixes warnings when using some java 21 features
2024-06-14Update Gradle Wrapper to v8.8Jason Penilla
2024-06-14Chunk System and Starlight WIPSpottedleaf
Chunk system patch was refactored to take advantage of newer ConcurrentUtil's concurrent long hash table (which fixes hash collisions caused by chaining fastutil's long hash and CHM's hash) plus some other minor improvements. The chunk system was also merged with Starlight, which mostly provides a small improvement to ThreadedLevelLightEngine#checkBlock as the scheduling was rewritten.
2024-06-14remove api that was scheduled for removalJake Potrebic
2024-06-14remove old vanilla goalsJake Potrebic
2024-06-14update generated APIJake Potrebic
2024-06-14Update ConcurrentUtilSpottedleaf
Mostly for the primitive long to reference hashtable impl
2024-06-14DataConverter 1.21Spottedleaf
2024-06-14Updated Upstream (Bukkit/CraftBukkit)Spottedleaf
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: befcf86d SPIGOT-7740: Fix using new map cursor types 09229095 Add EntityDamageEvent.DamageCause#CAMPFIRE CraftBukkit Changes: a1d2cd152 SPIGOT-7747: Mob head is not dropped when mob was blown up by a charged creeper 8078294bc SPIGOT-7746: Server Crashing when Players Getting into End Portals 8d842e250 SPIGOT-7744: Fix exception for shooting projectiles with flame enchantment 64e0ad129 SPIGOT-7744: Fix crash when shooting arrows in creative mode 819f7a10a Fix player items not dropping on death 0a0229bb5 Implement DamageCause#CAMPFIRE and minor improvement in exception for Unhandled block damage
2024-06-14Fix body equipmentslot and effect enumNassim Jahnke
2024-06-14Fixup and deprecate player profiles in ping eventNassim Jahnke
The player sample uses game profile internally, but discards everything but the name and uuid and does not follow player profile restrictions, so it doesn't make sense to use that in the event.