aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-04-11Fix StackOverflowException being thrown on server shutdownfix/stackoverflow-on-stopShane Freeder
paper previously migrated away from using executeIfPossible as this throws a RejectedExecutionException when the server is shutting down, which is then picked up by the Connection handler object and causes the player to be kicked without the intended disconnection message that comes from commands such as /stop, /restart This was fine, because previously changes made in spigot would just prevent these packets from being executed anyways. Instead, we'll just use a marker exception to try to detect this specific state.
2024-04-07Deprecate several Keyed#getKey methods (#10357)Jake Potrebic
- Structure (can already be defined inline in datapacks - PatternType (can be defined inline in 1.20.5 data components) - MusicInstrument (same as above)
2024-04-06Allow player-list API to self un/list (#10358)Shane Freeder
2024-04-06Ignore minecart in activation range (#10359)Joseph Burton
2024-04-06Disable vertical air friction when item entities have friction disabled (#10369)Noah van der Aa
2024-04-06Add BlockBreakProgressUpdateEvent (#10300)Evan
2024-04-06Backport some stuff from the generators branch (#10365)Lulu13022002
2024-04-06Add more item use API (#10304)Tamion
2024-04-06Don't throw NPE for unplaced blockstate on #getDrops (#10366)Lulu13022002
2024-04-06Deprecate Bukkit#getLogger (#10388)powercas_gamer
* Deprecate Bukkit#getLogger * fix typo in MaterialSetTags * change to Internal and squash into other patch * improve api note message --------- Co-authored-by: Jake Potrebic <[email protected]>
2024-04-06Fix invalid block entities created during world gen (#10375)Pierpaolo Coletta
2024-04-06feat: Entity#teleportAsync method with TeleportFlags (#10371)Bridge
* feat: Entity#teleportAsync method with TeleportFlags * use method-local class --------- Co-authored-by: Jake Potrebic <[email protected]>
2024-04-06Updated Upstream (Bukkit/CraftBukkit) (#10379)Jake Potrebic
Updated Upstream (Bukkit/CraftBukkit) 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: f02baa38 PR-988: Add World#getIntersectingChunks(BoundingBox) 9321d665 Move getItemInUse up to LivingEntity 819eef73 PR-959: Add access to current item's remaining ticks c4fdadb0 SPIGOT-7601: Add AbstractArrow#getItem be8261ca Add support for Java 22 26119676 PR-979: Add more translation keys 66753362 PR-985: Correct book maximum pages and characters per page documentation c8be92fa PR-980: Improve getArmorContents() documentation f1120ee2 PR-983: Expose riptide velocity to PlayerRiptideEvent CraftBukkit Changes: dfaa89bbe PR-1369: Add World#getIntersectingChunks(BoundingBox) 51bbab2b9 Move getItemInUse up to LivingEntity 668e09602 PR-1331: Add access to current item's remaining ticks a639406d1 SPIGOT-7601: Add AbstractArrow#getItem 0398930fc SPIGOT-7602: Allow opening in-world horse and related inventories ffd15611c SPIGOT-7608: Allow empty lists to morph to any PDT list 2188dcfa9 Add support for Java 22 45d6a609f SPIGOT-7604: Revert "SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime" 06d915943 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime ca3bc3707 PR-1361: Add more translation keys 366c3ca80 SPIGOT-7600: EntityChangeBlockEvent is not fired for frog eggs 06d0f9ba8 SPIGOT-7593: Fix sapling growth physics / client-side updates 45c2608e4 PR-1366: Expose riptide velocity to PlayerRiptideEvent 29b6bb79b SPIGOT-7587: Remove fixes for now-resolved MC-142590 and MC-109346
2024-04-04build: Compile against and shade the filtered jar (#9747)Jason Penilla
* Compile against & shade the filtered jar * Move check for if the paper asset root needs to be pushed * Don't disable incremental compilation * Remove mavenLocal * use paperweight release
2024-04-02Add config option for tripwire disarming fixDungeonDev
Fixes #10382 Co-authored-by: Tamion <[email protected]>
2024-03-29build: Update paperweight to 1.5.12 and Gradle Wrapper to 8.7 (#10361)Jason Penilla
2024-03-26[ci skip] move custom brig exception to paper packageJake Potrebic
2024-03-25Return dummy string instead of empty optionalNassim Jahnke
2024-03-23Add methods to change entity physics (#10334)maxcom1
2024-03-23Move invisible setting up to entities (#10346)FireInstall
2024-03-20Do not copy profile data if profiles are the same (#10259)Shane Freeder
2024-03-20Expose power on fireballs (#10302)TonytheMacaroni
2024-03-20Clone mutable types in events when changes are discarded (#10333)Jake Potrebic
2024-03-20Fire EntityChangeBlockEvent on beehive nectar deposit (#10306)maxcom1
* Add BeehiveNectarDepositEvent * Fire EntityChangeBlockEvent instead of a separate event
2024-03-19Fix tripwire disarming not working as intendedNassim Jahnke
2024-03-19[ci skip] Upstream dependencies in workflow scripts. (#10338)Kichura
2024-03-16Expand Hopper BlockState API (#10328)viciscat
2024-03-16Fix DamageSource API (#10307)Jake Potrebic
Uses the correct entity in the EntityDamageByEntity event Returns the correct entity for API's DamageSource#getCausingEntity
2024-03-16Add onboarding message for initial server start (#10312)leguan
2024-03-16[ci skip] Update CONTRIBUTING.md (#10318)Ikko Eltociear Ashimine
tempermental -> temperamental
2024-03-15Fix missing profiler.pop() in PathFinder::findPath (#10320)Suppergerrie2
2024-03-10Allow passenger retaining teleport via end gateway (#10283)Bjarne Koll
Previously paper disabled the abilities for entities to teleport via end gateways if they were being used as a vehicle. While the behaviour generally worked fine for entities riding other entities, players would quickly end up in an invalid state, not seeing their passenger anymore. This commit removes the paper introduced limitation by now properly updating the passengers location of a player when they are teleporting through an end gateway.
2024-03-09Add param to overrides to the correct method is called (#10308)Jake Potrebic
2024-03-08Updated Upstream (Bukkit/CraftBukkit) (#10301)Jake Potrebic
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: 7ca2b46c SPIGOT-7594: Fix typo and include missing MinecraftExperimental annotation in Loot Table enum CraftBukkit Changes: 176c0ad39 Fix copying BlockStates with fields (eg, Banner) ee685bd2a Fix Camel not standing up when hurt 619936d4b Increase outdated build delay
2024-03-07build: Update tiny-remapper to 0.10.1 & remove unused repo from dev bundle ↵Jason Penilla
config (#10303)
2024-03-03Per world ticks per spawn settings (#6891)Jake Potrebic
2024-03-03Allow enabling sand duping (#10191)Owen
Because this exploit has been widely known for years and has not been fixed by Mojang, we decided that it was worth allowing people to toggle it on/off due to how easy it is to make it configurable. It should be noted that this decision does not promise all future exploits will be configurable.
2024-03-03add overloads to use suspicious effect entry to mushroom cow and suspicious ↵Yannick Lamprecht
stew meta (#10245) The existing method with PotionEffect suggests that all attributes are used. In fact, only the PotionEffectType and the duration are used. --------- Co-authored-by: Bjarne Koll <[email protected]>
2024-03-03Don't tick empty worlds (#9025)Shane Freeder
2024-03-03Deprecate extra ban methods with raw BanEntry (#9580)Jake Potrebic
2024-03-03Configurable max block/fluid ticks (#10266)Gero
2024-03-03improve BanList types (#10239)Yannick Lamprecht
2024-03-03Fire EntityDamageByEntityEvent for unowned wither skulls patch (#10244)Rodney
2024-03-03add rich message component support to configuration (#10225)Yannick Lamprecht
2024-03-03check if itemstack is stackable first (#10285)granny
2024-02-28Close PRs opened from orgs or bot accounts (#10281)Bjarne Koll
Expands the existing close_invalid_prs workflow to also close prs that were opened from repositories not owned by user accounts. This is required as such PRs cannot be edited by maintainers. The implementation re-uses the existing job instead of creating a new job to limit the amount of checks to the bare minimum.
2024-02-23Fix spawnreason savingNassim Jahnke
2024-02-23Fix corrupted plugin.yml breaking plugin loading (#10279)Bjarne Koll
Fix corrupted plugin.yml file in one plugin not loading any plugins by the server. Co-authored-by: Aleksander Jagiello <[email protected]>
2024-02-23Make debug mode print current configuration phaseShane Freeder
2024-02-23Updated Upstream (Bukkit/CraftBukkit/Spigot) (#10277)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: 9a80d38c SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-722: Add EntityRemoveEvent 258086d9 SPIGOT-7417, PR-967: Add Sign#getTargetSide and Sign#getAllowedEditor ffaba051 SPIGOT-7584: Add missing Tag.ITEMS_NON_FLAMMABLE_WOOD CraftBukkit Changes: 98b6c1ac7 SPIGOT-7589 Fix NullPointerException when bans expire a2736ddb0 SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-1008: Add EntityRemoveEvent 5bf12cb89 SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class 76d95fe7e SPIGOT-7417, PR-1343: Add Sign#getTargetSide and Sign#getAllowedEditor Spigot Changes: e9ec5485 Rebuild patches f1b62e0c Rebuild patches