aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-05-27Add ItemStack array serialization methodsweeeNassim Jahnke
Serializing multiple items to bytes isn't trivial, so often beginners fall into the trap of using output IO streams and Bukkit serialization instead, so these provide helpful extra methods to deal with item arrays.
2024-05-27Fix Cancelling BlockPlaceEvent calling onRemove (#10773)Tamion
2024-05-26Prevent NPE if hooked entity was cleared (#10712)Jake Potrebic
2024-05-26Fix more item desync when an event is cancelled (#10654)Lulu13022002
2024-05-26Extend Player Interact cancellation to cover Jigsaw blocks (#10719)Cross
2024-05-26Fix BlockStateMeta equals (#10795)Jake Potrebic
2024-05-26Fix integer overflow for lag compensating eating check (#10797)Lulu13022002
2024-05-26fix and cleanup loot table patches (#10100)Jake Potrebic
* fix and cleanup loot table patches * fixes
2024-05-26Clear firework item properly (#10793)Lulu13022002
2024-05-26readd itemstack data sanitization (#10454)Jake Potrebic
* readd itemstack data sanitization * use autocloseable
2024-05-25reset meta block state on BlockStateMeta#setBlockStateJake Potrebic
2024-05-25Fix NPE for color-related metasJake Potrebic
Fixes #10789
2024-05-26Expose anvil cost in the API (#10682)Janet Blackquill
2024-05-25Fix CraftMetaBlockState for data components (#10731)Jake Potrebic
This will go on forever...
2024-05-26Fix a few issues with ItemMeta (#10740)Lulu13022002
2024-05-25[ci skip] Update Player#getListeningPluginChannels Jdoc (#10778)jake-brennan714
2024-05-25Allow to define new map cursor types (#10782)Lulu13022002
2024-05-24Use getter/setter on Mob for equipment drop chances (#10780)TonytheMacaroni
2024-05-24Do not re-wrap vanilla goals (#10751)Shane Freeder
There is no need to rewrap vanilla goals when they're being reregistered, this breaks some expectations around behavior outside of general wasting of resources. Resolves: #10743
2024-05-23Allow using PluginLoader classpath API from Bukkit plugins (#10758)Jason Penilla
Allows using the PluginLoader API without any of the other changes imposed by switching to a paper-plugin.yml. Used by setting paper-plugin-loader in plugin.yml to the class name of your PluginLoader. Also allows skipping the libraries field by setting paper-skip-libraries to true (by default both libraries and jars provided by the PluginLoader are added to the classpath).
2024-05-23Remove incorrect logic for Fireball#setVelocity (#10764)Jake Potrebic
2024-05-23Improve default item attributes API (#10765)Jake Potrebic
2024-05-23Print CommandRegisteredEvent deprecation warnings again (#10756)Jason Penilla
2024-05-23Fix equipment slot and group API (#10767)Jake Potrebic
2024-05-23[ci skip] Move logic in our patches to ItemType/BlockType (#10772)Jake Potrebic
2024-05-22Always show command exception stack traces in logs (#10766)Jake Potrebic
2024-05-22fix default item attributesJake Potrebic
2024-05-21Fix compileSpottedleaf
2024-05-21Remove ThreadedWorldUpgrader patchSpottedleaf
The patch does not implement Vanilla forceUpgrade behavior. Specifically, poi/entity conversion and regionfile recreation. The Vanilla force upgrader is also no longer broken by CB, so the bug fixes from this patch are not relevant anymore.
2024-05-20Add a better warning message than "Server performance will be affected" for ↵Jason Penilla
CommandRegisteredEvent use (#10754)
2024-05-20Add an 'empty' RecipeChoice for certain ingredient slots (#10710)Jake Potrebic
2024-05-19Check for more correct profile validation (#10730)Jake Potrebic
2024-05-19fix CompassMeta not being correct (#10737)Jake Potrebic
2024-05-18Make PaperSimplePluginClassLoader show class which is not foundShane Freeder
2024-05-17Fixes issues in the suppress dismount cancellation patch (#10735)Jake Potrebic
2024-05-17Fix NPE sending resource pack without promptJake Potrebic
Fixes KyoriPowered/adventure#1075
2024-05-15Expose server build information (#10729)Riley Park
* Expose server build information * squash patches * final tweaks --------- Co-authored-by: Jake Potrebic <[email protected]> Co-authored-by: masmc05 <[email protected]>
2024-05-13Show stacktrace when modifyItemStack failsJason Penilla
2024-05-13Correctly copy alias requirements in command upgraderJason Penilla
Fixes NPE when converting namespaced commands. Since the brigadier command api, more aliased commands (namespaced variants) are registered in the vanilla dispatcher, which made this issue more apparent.
2024-05-13Make exception during command conversion non-fatalSpottedleaf
Instead of allowing chunks to fail to convert completely, simply log the exception and the offending command. Command conversion failure should never result in chunk data deletion, as commands are not critical chunk data.
2024-05-13Remove Adventure snapshot repo from dev bundle (#10716)scarfacered
* Remove Adventure snapshot repo * do not remove trailing comma
2024-05-13fix creating complex recipes that have air resultsJake Potrebic
Fixes #10715
2024-05-12Better way to keep paper datapack enabledJake Potrebic
2024-05-12Improve Recipe validation (#10707)Jake Potrebic
2024-05-12Prevent infinite recursion on cyclic brig redirect (#10705)Bjarne Koll
Prevent infinite recursion when declaring a cyclic relation between command nodes via child nodes redirecting to an nth parent by marking a command node as unwrapped before unwrapping its children.
2024-05-11Properly pass requirement on namespaced redirects (#10701)Owen
2024-05-12Fix signed book page serialization (#10696)Jason Penilla
2024-05-11Updated Upstream (Bukkit/CraftBukkit) (#10691)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: fa99e752 PR-1007: Add ItemMeta#getAsComponentString() 94a91782 Fix copy-pasted BlockType.Typed documentation 9b34ac8c Largely restore deprecated PotionData API 51a6449b PR-1008: Deprecate ITEMS_TOOLS, removed in 1.20.5 702d15fe Fix Javadoc reference 42f6cdf4 PR-919: Add internal ItemType and BlockType, delegate Material methods to them 237bb37b SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent 035ea146 SPIGOT-6993: Allow #setVelocity to change the speed of a fireball and add a note to #setDirection about it 8c7880fb PR-1004: Improve field rename handling and centralize conversion between bukkit and string more 87c90e93 SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent CraftBukkit Changes: 4af0f22e8 SPIGOT-7664: Item meta should prevail over block states c2ccc46ec SPIGOT-7666: Fix access to llama and horse special slot 124ac66d7 SPIGOT-7665: Fix ThrownPotion#getEffects() implementation only bringing custom effects 66f1f439a Restore null page behaviour of signed books even though not strictly allowed by API 6118e5398 Fix regression listening to minecraft:brand custom payloads c1a26b366 Fix unnecessary and potential not thread-safe chat visibility check 12360a7ec Remove unused imports 147b098b4 PR-1397: Add ItemMeta#getAsComponentString() 428aefe0e Largely restore deprecated PotionData API afe5b5ee9 PR-1275: Add internal ItemType and BlockType, delegate Material methods to them 8afeafa7d SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent 4e7d749d4 SPIGOT-6993: Allow #setVelocity to change the speed of a fireball and add a note to #setDirection about it 441880757 Support both entity_data and bucket_entity_data on axolotl/fish buckets 0e22fdd1e Fix custom direct BlockState being not correctly set in DamageSource f2182ed47 SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA 2a6207fe1 PR-1393: Improve field rename handling and centralize conversion between bukkit and string more c024a5039 SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent 741b84480 PR-1390: Improve internal handling of damage sources 0364df4e1 SPIGOT-7657: Error when loading angry entities
2024-05-11Brigadier Command Support (#8235)Owen
Adds the ability for plugins to register their own brigadier commands --------- Co-authored-by: Jake Potrebic <[email protected]> Co-authored-by: Jason Penilla <[email protected]> Co-authored-by: Bjarne Koll <[email protected]>
2024-05-11[ci skip] Fix paperclip PR labelJason Penilla