aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-11-17Add PlayerItemGroupCooldownEventcooldown-eventNassim Jahnke
2024-11-11Fix and optimize getChunkCount (#11610)Jason Penilla
It was returning ticking chunk count instead of the intended full chunk count. We can also directly use the size of the fullChunks collection instead of iterating all chunks.
2024-11-11Optimize custom map rendering (#11000)Barnaby
2024-11-10Improve performance of RecipeMap#removeRecipe (#11547)Jake Potrebic
2024-11-10Update Eigencraft patch to 1.21.3 (#11553)Space Walker
2024-11-09Fix NPE with enchantable (#11557)Lulu13022002
2024-11-09[ci skip] Fix UseCooldownComponent jd (#11565)Noah
2024-11-09Improve Minecart#getMinecartMaterial (#11544)Abel
Removes the hardcoded lookup in favour of calling the AbstractVehicle getItemDrop method.
2024-11-09Re-add exact choice shapeless support (#11546)Jake Potrebic
* Re-add exact choice shapeless support * don't re-create maps every shapeless match * add missing paper comment with last patch
2024-11-09Configure mockito agent (#11560)Yannick Lamprecht
2024-11-09Call CraftPlayer#onEntityRemove for all online players (#11598)Gero
2024-11-09[ci skip] Add identifying line to some larger/optimization patchesNassim Jahnke
2024-11-09Improve CraftEntity and CraftPlayer equalsNassim Jahnke
2024-11-09Updated 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: a6aba46f PR-1078: Improve Javadocs of Player#loadData() and Player#saveData() 1e2e6a18 SPIGOT-7946: API for server pause when empty seconds 54a36938 SPIGOT-7944, PR-1077: Allow nullable fields in DamageTypeTags CraftBukkit Changes: 2702c5c8e SPIGOT-7946: API for server pause when empty seconds 485f910fc SPIGOT-7947: addPassenger doesn't work if the vehicle is a player ecf3dff0e SPIGOT-7949: Registering a new scoreboard objective with an empty display name throws a NPE 9b048cc84 SPIGOT-7948: `Bukkit#dispatchCommand` uses the wrong `CommandListenerWrapper` for Players 7b44d4640 SPIGOT-7931: Fix sync in Anvil View when result item is taken
2024-11-09Fix Entity#isTicking and update Paper entity command (#11590)Jason Penilla
fixes #10299
2024-11-08Fix infinite fireworks (#11592) (#11594)Noah van der Aa
2024-11-06Correctly pass velocity native compressor (#11509)Bjarne Koll
2024-11-05Correctly adopt upstream item EAR fix (#11582)Bjarne Koll
EAR 2 evaluates the entities activity on the already incremented entity tick. This diverges from spigots behaviour and hence needed adoption for their item ear fix.
2024-11-04[ci skip] better instructions for patch apply conflict (#11568)Jake Potrebic
2024-11-04Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11561)Jake Potrebic
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: b9df8e9f SPIGOT-7933: Improve custom Minecart max speed fc496179 Fix InstrumentTest 7c0ec598 PR-1075: Make Art an interface c389f5a4 PR-1074: Make Sound an interface CraftBukkit Changes: df1efc0bb SPIGOT-7945: `Bukkit#dispatchCommand` throws `UnsupportedOperationException` 285df6e85 SPIGOT-7933: Improve custom Minecart max speed a0f3d4e50 SPIGOT-7940: Recipe book errors after reload 9e0618ec2 SPIGOT-7937: Cannot spawn minecart during world generation with minecart_improvements enabled 1eb4d28da SPIGOT-7941: Fix resistance over 4 amplify causing issues in damage 52b99158a PR-1504: Make Art an interface e18ae35f1 PR-1502: Make Sound an interface Spigot Changes: e65d67a7 SPIGOT-7934: Item entities start "bouncing" under certain conditions
2024-11-03[ci skip] Rebuild patchesBjarne Koll
2024-11-02Handle corrupt light data gracefullySpottedleaf
First, if the light data is not marked as correct, we should not be parsing it in the first place. This will eliminate errors from parsing possibly different versioned light data. Secondly, if parsing the light data throws an exception (from the SWMRNibbleArray constructor), then we can simply mark the returned chunk as having incorrect light data - rather than propagating the exception and causing the chunk to be re-generated.
2024-11-01Decrease dead entity teleport warning (#11559)Bjarne Koll
Decreases the warning back to its 1.21.1 level where only teleports of dead/invalid entities across dimensions were logged.
2024-11-01Fix NPE with spark when CraftServer is not init yet (#11558)Lulu13022002
2024-11-01Correct update cursor (#11554)Bjarne Koll
Spigot uses a no longer valid ClientboundContainerSetSlotPacket with the slot -1, which would update the carried stack in versions <=1.21.1 but now leads to an IOOB. 1.21.2 instead introduced the ClientboundSetCursorItemPacket, which this patch uses instead.
2024-11-01Correctly support RecipeChoice.empty (#11550)Bjarne Koll
The previous implementation was based off of spigots logic in CraftRecipe#toIngredient, which is completely incorrect as nms.Ingredient.of() is a throwing call. Correctly insert handling for the empty() choice in the toNMSOptional logic.
2024-10-31bunch more general fixesJake Potrebic
2024-10-31re-add a dispense fix patchJake Potrebic
2024-10-31Fix fix recipe iterator patchJake Potrebic
2024-10-31Updated Upstream (Bukkit/CraftBukkit) (#11543)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: 97c59261 PR-1073: Make Biome an interface a38581aa Fix further javadoc errors 8271c490 Fix javadoc error 8a9ecf29 PR-1072: Fix bad naming for Vault State methods 6dd58108 PR-1071: Make Fluid an interface and add missing entry ed2cdfc3 PR-1070: Make Attribute an interface and align names with the new minecraft ones 63472efb PR-1069: Add missing winter drop experimental annotation to pale boats CraftBukkit Changes: 7235ad7b0 PR-1501: Make Biome an interface 602904003 PR-1500: Rename implementation for Vault State methods 75f26f79f PR-1499: Make Fluid an interface and add missing entry 4cfd87adc PR-1498: Make Attribute an interface and align names with the new minecraft ones 6bb0db5cb SPIGOT-7928: ExactChoice acts as MaterialChoice 3eaf3a13c SPIGOT-7929: Error when setting EquippableComponent abbf57bac SPIGOT-7930: Fix spawning entities with SummonEntityEffect 92d6ab6cf PR-1497: Move boat field rename entries to below key renaming, so that keys are also renamed abfe292aa PR-1496: Use correct Fluid class on Tags type check c7aab7fa7 SPIGOT-7923: Fix Dispenser logic to avoid firing empty projectiles
2024-10-31Correctly clear explosion density cache(#11541)Noah van der Aa
2024-10-31[ci skip] Remove leftover todo file (#11540)Bjarne Koll
2024-10-31Set updatingMinecraft to falseNassim Jahnke
2024-10-31Only expose velocity relative tp flags to API (#11532)dev/1.21.2Bjarne Koll
Since 1.21.2, vanilla split relative teleportation flags into position and delta/velocity flags into separate enum entries. This highlighted a design flaw in the paper api addition for teleport flags, which just simply mirrored internals while also only being able to apply the delta/velocity part of a flag, given the teleport target is always absolute in the API. This patch proposes to simply no longer expose the non-velocity related flags to the API, instead marking the entire Relative enum as being purely velocity related, as non-velocity related flags are not useful to callers. This was done over simply exposing all internal flags, as another vanilla change to the internal enum would result in the same breakage. The newly proposed API *only* promises that the passed flags prevent the loss of velocity in the specific axis/context, which should be independent enough of vanillas specific implementation of this feature.
2024-10-31get previous redstone level from the right state for experimental wiresLulu13022002
2024-10-31Correctly cancel consumption of consumableBjarne Koll
See: #11534
2024-10-30Rebuild patchesBjarne Koll
2024-10-30Allow using old ender pearl behavior & apply ender pearl exploit patch (#11524)Jason Penilla
When enabled, ender pearls will not load chunks and will save to the world instead of the player. Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
2024-10-30Add Friction API to minecartsNoah van der Aa
2024-10-30don't resend effects when PlayerItemConsumeEvent is cancelledLulu13022002
2024-10-30fix "is_freezing" damage type tagLulu13022002
2024-10-30Use target pitch in teleport (generally the same thing)Nassim Jahnke
2024-10-30Fix item gravity on inactive items, remove dumb active skippingNassim Jahnke
2024-10-29Fix portal exit resulting in bad teleport transitionNassim Jahnke
2024-10-29Avoid issues with certain tasks not processing during sleep (#11526)Jason Penilla
2024-10-29cleanup bugfix patchLulu13022002
2024-10-29remove some leftoversLulu13022002
2024-10-28Update Gradle wrapper to 8.10.2Jason Penilla
2024-10-28Use new ClientboundPlayerRotationPacket for setting player rotationOwen1212055
2024-10-28Remove leftover missed timings calls (#11527)granny
* remove leftover timings calls * remove unused imports