aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-07-08Add builder-like registration for BasicCommandbasiccommand-builderNassim Jahnke
2024-07-08Properly apply damage tick after absorption (#11043)Bjarne Koll
The logic in place to prevent players from processing a damage tick/knockback/etc when hit with 0 damage incorrectly used the damage events final damage value, which is reduced by absorption. Instead, use the event's "raw damage", e.g. the amount passed to hurt, in order to determine if the damage tick should be skipped. This still allows plugins to change the damage to a non-zero value and properly damage ticks the player in such a case, but correctly processes the damage tick in cases where the original damage is non zero but the actual damage is.
2024-07-07Fix entity distance check when applying knockbackNassim Jahnke
Fixes #11036
2024-07-06Fix horse inventories (#11028)Jake Potrebic
2024-07-06Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11024)Bjarne Koll
* Updated Upstream (Bukkit/CraftBukkit/Spigot) 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: e86f4dc4 PR-1041: Improve getPlayer(String) docs to clarify it matches the name 9738f005 Fix spawner API documentation 69ebd9fd PR-1034: Add TrialSpawnerSpawnEvent 23cffd9c PR-973: Improve spawner API and add API for Trial Spawners 8bf19163 PR-1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc 1ff76351 SPIGOT-7732, SPIGOT-7786: Add freezing damage modifier 02161cb4 PR-1034: Add CreatureSpawnEvent.SpawnReason#TRIAL_SPAWNER f9cb6f34 SPIGOT-7777: All entity potion effects are removed on death 25d548eb PR-1031: Expose Creeper igniter ccbf0915 SPIGOT-7770: Reserve spaces in shaped recipes for blank ingredients 17f7097c Clarify ambiguity around what is API 71714f0c Remove note from InventoryView JavaDoc aaf49731 PR-1030: Deprecate more unused methods in UnsafeValues 3a9dc689 SPIGOT-7771: Material.getDefaultAttributes always returns an empty map CraftBukkit Changes: c3ceeb6f7 SPIGOT-7814: Call PlayerShearEntityEvent for Bogged 97b1e4f58 Fix wolf armor not dropping from use of shears fd2ef563a SPIGOT-7812: Revert "SPIGOT-7809: Restore shield/banner conversion for base colours" f672c351b SPIGOT-7811: Enchantments are applied on sweeping attack even if damage event is cancelled cfe29350b SPIGOT-7808: Fix implementation of Enchantment#getName() for bad name return 19335f69e SPIGOT-7809: Restore shield/banner conversion for base colours ae4f5a0be SPIGOT-7805: Fix jukebox deserialization 62e3b73a4 SPIGOT-7804: Fix written book serialization aac911d26 SPIGOT-7800, SPIGOT-7801: Keep vanilla behaviour for items dropped on player death 13ece474f PR-1429: Implement TrialSpawnerSpawnEvent bf13e9113 PR-1354: Improve spawner API and add API for Trial Spawners 515fe49e1 Increase outdated build delay 9cd5a19a0 SPIGOT-7794: Cancelling InventoryItemMoveEvent destroys items ce40c7b14 SPIGOT-7796: Kickplayer newlines not working 5167256ff SPIGOT-7795: Fix damage/stats ignore the invulnerable damage time f993563ee Improve cross-world teleportation handling ab29122cf PR-1433: HumanEntity#openInventory(InventoryView) should only support views belonging to the player 764a541c5 SPIGOT-7732: Issue with the "hurt()" method of EntityLiving and invulnerable time 820084b5f SPIGOT-7791: Skull BlockState with null profile causes NullPointerException 5e46f1c82 SPIGOT-7785: Teleporting a player at the right moment can mess up vanilla teleportation cbd95a6b3 SPIGOT-7772: Include hidden / non-sampled players in player count 3153debc5 SPIGOT-7790: Server crashes after bee nest is forced to update e77bb26bb SPIGOT-7788: The healing power of friendship advancement is never granted ee3d7258a SPIGOT-7789: Fix NPE in CraftMetaFirework applyToItem 2889b3a11 PR-1429: Add CreatureSpawnEvent.SpawnReason#TRIAL_SPAWNER cdd05bc7f SPIGOT-7777: Speed attribute stays after death; missing EntityPotionEffectEvent call d0e6af2d4 PR-1428: Expose Creeper igniter d01c70e93 PR-1425: Fix bytecode transformation taking care of class-to-interface compatibility. b2b08f68c SPIGOT-7770: Fix certain shaped recipes not registering 3f8e4161f PR-1426: Deprecate more unused methods in UnsafeValues 2c9dd879e SPIGOT-7771: Material.getDefaultAttributes always returns an empty map Spigot Changes: 491f3675 Rebuild patches 0a642bd7 Rebuild patches 8897571b Rebuild patches cb8cf80c Fix newlines in custom restart message 1aabe506 Rebuild patches
2024-07-04Prioritize vanilla commands in function parsing (#11011)Jason Penilla
* Prioritize vanilla commands in function parsing * Handle command blocks as well
2024-07-04Fix respawn error due to null locationNassim Jahnke
Closes #11017
2024-07-04Readd more patchesNassim Jahnke
2024-07-03Execute chunk tasks mid-tickSpottedleaf
If the server tick length is high, then the amount of time available to process chunk tasks inbetween ticks is low. As a result, chunk loading and generation may appear to slow down. To ensure that chunk tasks are always processed, we add logic to execute chunk tasks during tile entity tick, entity tick, chunk random ticking, and scheduled block/fluid ticking. The mid-tick task execution is timed so that it is not prioritised over the server tick.
2024-07-02[ci skip] add adventure-key javadoc (#11014)powercas_gamer
2024-07-01Fix summon_entity effect attempting to add incorrect entity (#11004)granny
2024-06-29Add forRemoval to material data deprecations (#10996)Nassim Jahnke
2018 is calling
2024-06-27Change item/xp merge and entity tracking range defaults (#10986)Nassim Jahnke
2024-06-23Fix NPE when retrieving an entity with a null UUIDSpottedleaf
While the null UUID is almost certainly an error, the old implementation did not NPE as it used a plain HashMap for lookup by UUID, whereas we use a ConcurrentHashMap which will NPE on null keys.
2024-06-23bump reflection-rewriter to 0.0.3 (#10969)Jake Potrebic
2024-06-24Swap some nullable annotations (#10960)Lulu13022002
2024-06-24Bump reflection-rewriter to 0.0.2 (#10927)Jake Potrebic
2024-06-23Call EntityPortalEnterEvent on endgateways and make cancellable (#10892)Jake Potrebic
2024-06-23Fix speed for launched trident using api (#10936)Lulu13022002
2024-06-23Fix StackOverflowError for new dispenser interaction (#10949)Lulu13022002
2024-06-23Expose LivingEntity#canUseSlot (#10930)SoSeDiK
2024-06-23Add missing effect cause and deprecate PATROL_CAPTAIN cause (#10958)Lulu13022002
2024-06-23Fix SoundEffects only to players diff (#10966)scarfacered
Co-authored-by: Nassim Jahnke <[email protected]>
2024-06-23Do not crash when an exp orb attempts to mend an unrepairable itemShane Freeder
2024-06-22Fix wrong diff applying delta twice (#10959)Lulu13022002
2024-06-22Fix PlayerShearBlockEvent drops ignored for Pumpkin (#10956)Pedro
2024-06-21Fix unload queue storing chunks in wrong sectionsSpottedleaf
The unload queue stored the chunks in the same section as the chunk coordinate, when it needed to apply the unload shift. Additionally, change the default region shift to the ticket propagator shift as there is no benefit to using a low region shift since no regionizing is occuring. This makes the unload queue shift 6, which should reduce the number of sections to deal with while processing unloads.
2024-06-21Preserve velocity for fireball (#10934)Lulu13022002
2024-06-21deprecate and update some entity tags (#10932)Lulu13022002
2024-06-21Validate using_converts_to for food component (#10931)Lulu13022002
2024-06-21Fix NPE of AbstractArrow#getWeapon (#10933)Lulu13022002
2024-06-21Fix base damage for trident (#10948)Lulu13022002
2024-06-21Revert "Fixes exception log messages getting dropped during bootstrap ↵Shane Freeder
(#10935)" (Closes #10945) This reverts commit 2118196dd57f9b7100b2d15b552d3c00fc5a55fa.
2024-06-21Fix diff in sprint interruption option (Closes #10939)Shane Freeder
2024-06-20Fixes exception log messages getting dropped during bootstrap (#10935)Jake Potrebic
2024-06-20Validate speed for tool component rule (#10923)Lulu13022002
2024-06-20Experimental annotation changes (#10914)Lulu13022002
* Experimental annotation changes * wind charge damage type is not experimental anymore
2024-06-20Fix jukebox playable component not being applied on item meta (#10922)Lulu13022002
2024-06-19Re-add chunk system debug commandsSpottedleaf
Re-adds the 'chunkinfo', 'holderinfo' and 'debug chunks' commands. Additionally, this re-adds chunk debug dumping during watchdog long timeouts.
2024-06-19Add debug for chunk system unload crashSpottedleaf
Somehow, a chunkholder is present in the unload queue after it has been unloaded. It is likely that this is a result of adding the chunk holder to the unload queue while it is unloading. However, that should not be possible. To find out where it is being added to the unload queue, track the last stacktrace which adds to the unload queue and check on chunk holder remove if the holder is present in the unload queue and log the stacktrace.
2024-06-19Fix ChunkHolder#getFullChunkNow returning non-null when it should notSpottedleaf
In the new chunk system, the chunk is only at FULL when either the FULL callbacks have been invoked or during the FULL callbacks.
2024-06-19Cleanup MCUtils patch for chunk systemSpottedleaf
Remove utilities that are unused, as well as replacing the full chunk map with a concurrentutil implementation. Additionally, fix the addition/removal of chunks to/from the full chunk map so that getChunkIfLoaded correctly returns a non-null chunk when calling the load or unload events.
2024-06-19Copy missing diff from old chunk system patchSpottedleaf
Fixes: - EntitiesLoadEvent/EntitiesUnloadEvent not firing - Chunks not saving properly in a lot of cases
2024-06-19Re-add fixlight commandSpottedleaf
2024-06-18Add ticket for chunk load in isChunkGeneratedJason Penilla
2024-06-18Execute chunk tasks while waiting for chunk load in isChunkGeneratedJason Penilla
this shouldn't be needed as we are requesting EMPTY status, however there is a deeper issue that we will just work around for now fixes #10916
2024-06-18Add missing null check to getFullChunkIfLoadedJason Penilla
fixes #10915
2024-06-18Remove getUnloadingChunkHolder checkJason Penilla
It always returns null now. So it could NPE and is not useful.
2024-06-18Fix CraftWorld#isChunkGeneratedJason Penilla
The upstream implementation is returning true for non-full chunks. This fix is not ideal since the new chunk system doesn't have a region file/chunk status patch. May want to be revisited before a non-experimental release.
2024-06-18Use ItemStack.empty() when air is passed into constructorNassim Jahnke