aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-11-28MergedProperties POC for sharing properties between projectsmerged-propertiesJason Penilla
This is an alternate way to share dependency versions between api & server to version catalogs (#9974), which have the problem where any catalog change that impacts the generated accessor ABI will cause the entire paperweight pipeline to run again (which makes it impractical for our use case) If we decide to go forward with this, will need to merge https://github.com/PaperMC/paperweight/pull/226 and make a paperweight release first.
2023-11-28Update mapping-io (#9975)Jason Penilla
2023-11-28Un-experimentalize Entity TP APIs (#9964)Jake Potrebic
2023-11-25Use ? super in Consumer/Predicate API (#9939)Jake Potrebic
2023-11-25Fix plugin bootstrap dependency tree population (#9963)Gijs de Jong
This patch fixes a bug where the dependency tree used for classpath joining, wasn't built using the bootstrap dependencies, for plugin bootstrappers.
2023-11-25Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9953)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: 96340858 PR-938: Various Sound API improvements cbfe0ff0 PR-937: Minor improvements to World#rayTrace documentation e979ee95 PR-935: Change Consumer and Predicates to super 27ae46dc SPIGOT-3641, SPIGOT-7479, PR-931: Add missing values to EntityEffect 0616ec8b Add eclipse .factorypath file to .gitignore CraftBukkit Changes: 8e162d008 PR-1301: Various Sound API improvements eeb7dfc2d SPIGOT-7520: Attribute LootTableSeed missing for generated containers with attached LootTable d433f086d PR-1297: Change Consumer and Predicates to super 864f616da SPIGOT-7518: Fix NullPointerException when calling Block#applyBoneMeal() 5a2d905af Add eclipse .factorypath file to .gitignore 7c6bf15d4 Fix SkullMeta configuration serialization / deserialization with note block sound Spigot Changes: 7de1049b Rebuild patches
2023-11-25Don't fire EntityPotionEffectEvent during worldgen (#9965)Jake Potrebic
2023-11-25Fix yaw being ignored for first spawn pos (#9959)Warrior
2023-11-25Lazily create LootContext for criterions (#9969)MrPowerGamerBR
For each player on each tick, enter block triggers are invoked, and these create loot contexts that are promptly thrown away since the trigger doesn't pass the predicate To avoid this, we now lazily create the LootContext if the criterion passes the predicate AND if any of the listener triggers require a loot context instance
2023-11-25Fix max nearby entities class check (#9967)TonytheMacaroni
2023-11-25Re-add missing vanilla safeMode argShane Freeder
2023-11-22Code Generation for TypedKeys (#9233)Jake Potrebic
Currently includes generated key holder classes for types used in the Registry Modification API
2023-11-22Update paperweight to 1.5.10 and Gradle to 8.4 (#9957)Jason Penilla
2023-11-22[ci skip] Improve PlayerChatEvent Deprecation Message (#9956)Tamion
2023-11-18add getAdvancementProgress() to PlayerAdvancementCriterionGrantEvent (#9865)Isaac - The456
this allows for simpler checks for if an advancement would be given to a player, and denying it (as the advancement grant event is non-cancelable)
2023-11-18Fix missing event call for entity teleport API (#9937)booky10
* Fix missing event call for entity teleport API Previously a plugin couldn't cancel or modify an entity-teleport from another plugin. * rebase
2023-11-18Add API to retrieve an attribute modifier from a UUID (#9924)TonytheMacaroni
* Add attribute modifier from UUID API * Add method to remove by UUID * Add overload for UnmodifiableAttributeInstance, better precondition messages * rebase
2023-11-18More paper config cleanup (#9938)Jake Potrebic
Also adds a warning and error message if a newer config version was found signaling a downgrade.
2023-11-18Fix spawners checking max nearby entities with correct type (#8945)Jake Potrebic
Co-authored-by: Owen1212055 <[email protected]>
2023-11-17Call LivingEntity#onItemPickup before mutation (#9948)Bjarne Koll
The existing EntityPickupItemEvent fixes patch moves the call to LivingEntity#onItemPickup for piglins after the respective EntityPickupItemEvent calls, which is correct. However the patch moved the call so far down the line that the existing logic already mutated the picked up item entity, leading to faulty state being passed to the onItemPickup method. To prevent logic in LivingEntity#onItemPickup to read from an ItemEntity that was already mutated, this commit moves the calls prior to the two respective mutations (either gold_nugget or rest). This was chosen above taking a copy of the original item and restoring state later on to avoid a full item stack clone.
2023-11-13Correct typo in javadoc (#9944)SoSeDiK
2023-11-11Run the chat callback on the main thread as expected (#9935)Jake Potrebic
2023-11-11Fix several issues with EntityBreedEvent (#8677)Jake Potrebic
Upstream did not account for different hands when storing the breed item for later use in the event. Also they only stored a reference to the stack, not a copy so if the stack changed after love mode was started, the breed item in the event also changed. Also in several places, the breed item was stored after it was decreased by one to consume the item.
2023-11-11Deprecate Material#isInteractable (#9216)Jake Potrebic
2023-11-11Add hand to fish event for all player interactions (#9929)booky10
2023-11-11Use ApiStatus.Internal instead of Deprecated (#9042)Jake Potrebic
Mainly correctly marks a lot of still used "magic values" as Internal instead of "Deprecated".
2023-11-11Add aggressive mob API (#9838)booky10
2023-11-11Add Entity Movement Direction API (#7085)Owen
This allows you to get player movement when riding vehicles, etc.
2023-11-11Updated Upstream (Bukkit/CraftBukkit) (#9922)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: fde5602a PR-927: Add PlayerRecipeBookSettingsChangeEvent 949ff217 PR-930: Add methods to get/set evoker fang attack delay f6f7c79d SPIGOT-7514, PR-929: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics d40e22da PR-712: Add API to get full result of crafting items CraftBukkit Changes: c8feb0629 PR-1291: Improve precondition message in Entity#playEffect 482c56a00 PR-1285: Add PlayerRecipeBookSettingsChangeEvent cdf798800 PR-1290: Add methods to get/set evoker fang attack delay 2c1b5f78f SPIGOT-7514, PR-1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics 6aa644ae9 PR-992: Add API to get full result of crafting items ffb1319bc PR-1287: Fix scoreboards not updating in Player#setStatistic
2023-11-11Add Enchantment cost API (#9856)Luis
Cost is a property of individual enchantments, and is used by vanilla in combination with environmental aspects like tool enchantability and bookshelf count to determine the final cost of an enchantment as shown in an enchanting table. Having access to the base cost of an enchantment using these vanilla methods can allow plugin developers to determine the "value" of an enchantment, and use it in custom logic where needed. I came across this recently when trying to assign an economic value to enchantments during tool repairing, and noticed these values don't seem to be obtainable under the current API.
2023-11-11Fix strikeLightningEffect powers lightning rods & clears copper (#9780)Tamion
* Fix strikeLightningEffect powers lightning rods and clears copper * Fixed vanilla behavior break * rebase * revert spigot cleanup and remove setter * better fix for behaviour break * rebase and clean * fix
2023-11-11Don't unpack loot table for TEs not in world (#9918)Jake Potrebic
Fixed by 23w44a/1.20.3
2023-11-05Don't leave the NearbyPlayers tracker in an entirely busted state on ↵Shane Freeder
double-add detection
2023-11-04Bump tiny-remapper for Java 21 support (#9902)Jason Penilla
2023-11-05Added missing enchantables to material tags (#9888)Layla Silbernberg / LadySilver47
2023-11-04Add more API to LingeringPotionSplashEvent (#9901)Tamion
* Add createAreaEffectCloud API * Add missing NotNull * Add missing Paper comments * Better solution * Better naming * New patch and rename * rename patch
2023-11-05fix secure profile with proxy online mode (#9700)NonSwag
2023-11-04Broadcast take item packets with collector as source (#9884)booky10
This fixes players (which can't view the collector) seeing item pickups with themselves as the target.
2023-11-04Add predicate for block when raytracing (#9691)TonytheMacaroni
* Add predicate for block data when raytracing blocks * Match based on block, instead of block data * Use instanceof instead of casting * Use Position instead of Location, add overload for rayTraceEntities * Implement requested changes * Invert predicate * Cleanup
2023-11-04Add API to get the collision shape of a block before it's placed (#9821)TrollyLoki
* Add API to get the collision shape of a block before it's placed * Tweak API documentation * Clarify behavior * Rebase * Rebase
2023-11-04Fix a bunch of stuff with player spawn locations (#9887)Jake Potrebic
If a playerdata doesn't contain a valid, loaded world, reset to the main world spawn point
2023-11-04Make Team extend ForwardingAudience (#9852)powercas_gamer
2023-11-04Add entity API for getting the combined gene of a Panda (#9891)booky10
2023-11-04Deprecate Player#boostElytra (#9899)Tamion
The Paper method was chosen for deprecation because it was more restrictive in that it has an isGliding check.
2023-11-04Use a server impl for hopper event to track get/setItem calls (#9905)Jake Potrebic
* Use a server impl for hopper event to track getItem/setItem calls * Rebase * Comments
2023-11-04Include packet class name in packet encoding error messages (#9907)Warrior
2023-11-04Remove "fix-curing-zombie-villager-discount" exploit option (#9895)booky10
2023-11-04Remove duplicate water-sensitivity damage for unaware mobs (#9908)Lulu13022002
2023-11-04Add raw iron & raw copper blocks to anti xray defaults (#7622)Warrior
2023-11-03Readd 0414 use distance map to optimise entity tracker (#9868)TomTom