aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-05-20Print CommandRegisteredEvent deprecation warnings againprint-warn-creJason Penilla
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
2024-05-11handle recent ItemMeta changes in serialization logicJake Potrebic
2024-05-11adjust ItemMeta to distinguish null and empty modifiersJake Potrebic
Fixes #10686 (again)
2024-05-10Fix keepalive time interval (#10690)Jake Potrebic
2024-05-10Fix stacks losing empty attr modifiersJake Potrebic
Fixes #10686
2024-05-10Add conversion for summon commandJason Penilla
2024-05-10Add validation to player profile and properties (#10680)Nassim Jahnke
2024-05-10Use MCDataConverter instead of raw convert call for cmd converterSpottedleaf
MCDataConverter uses the breakpoint system, which for future updates may be neccesary (probably not). Also, add the 1.20.6 version field.
2024-05-10Fix DataConverter ConverterParticleToNBT.parsePropertiesJoseph Burton
- The old code was using `StringReader.peek()` in a place where it meant to be `StringReader.skip()`. - The vanilla code allows a trailing comma, but only if there is no whitespace between it and the closing bracket, which is a bit weird. I think that's a bug and it shouldn't allow trailing commas, but if you disagree then only the first issue needs to be fixed.
2024-05-09Fix chunk data version check not running in chunk systemSpottedleaf
The old read() method should just redirect to the new chunk system method, however due to an error in moving the chunk system patch around the data version check was left in the old (UNUSED) read() method.
2024-05-09Invalidate PathTypeCache when pathfinding updates are disabledSpottedleaf
The configuration should not allow the cache to break. Additionally, invalidating the cache is cheap and as such there is no gain to avoid invalidating it.
2024-05-09Fix entity tracker desync when new players are added to the trackerSpottedleaf
The delta position packet instructs the client to update the entity position by a position difference. However, this position difference is relative to the last position in the entity tracker state, not the last position which has been sent to the player. As a result, if the last position the player has recorded is different than the one stored in the entity tracker (which occurs when a new player is added to an existing entity tracker state) then the sent position difference will cause a position desync for the client. We can resolve this problem by either tracking the last position sent per-player, or by simply resetting the last sent position in the entity tracker state every time a new player is added. Resetting the last sent position every time a new player is added to the tracker is just easier to do, so that is what this patch does.
2024-05-09Print data component type on encoding errorNassim Jahnke
2024-05-09[ci skip] Clarify var entry in contributing fileNassim Jahnke
2024-05-08Update Adventure to 4.17.0 ReleaseShane Freeder
2024-05-07Correctly compare holders in BeaconMenu (#10673)Bjarne Koll
2024-05-07Fix hopper pull event being skipped after the first call (#10667)Lulu13022002
2024-05-07Fix ping event always receiving protocol version 0 (#10671)Jason Penilla
2024-05-05Fix BlockStateMeta (#10647)Jake Potrebic
* Fixes CraftMetaBlockState block entity data components * rebase and merge into general item meta fix * Add javadoc notice * Update message --------- Co-authored-by: Bjarne Koll <[email protected]>
2024-05-05Add a way to check whether the chest is blocked (#10635)SoSeDiK
* More Chest Block API * rebased and slight logic fixes
2024-05-05Prevent profile lookups when unnecessary (#10651)Bridge
2024-05-05Fix EntityLoadCrossbowEvent (#10645)Tamion
* fix * hehe
2024-05-05[ci skip] Update old particle reference in javadoc (#10652)Lulu13022002
2024-05-05Add missing SpigotConfig logCommands check (#10659)NonSwag
2024-05-05Added API to get player's proxy address (#10400)Nostal Yuu
2024-05-05Updated Upstream (CraftBukkit) (#10646)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 CraftBukkit Changes: 66fd94322 SPIGOT-7652: Remove remap for SPELL_MOB_AMBIENT which no longer exists ecfa4f973 SPIGOT-7654: ItemStack#isSimilar does not work with empty BlockStateMeta 4460ecc49 SPIGOT-7655: ItemMeta#addItemFlags(ItemFlag.HIDE_ATTRIBUTES) not working when no attribute modifiers set 5d84f48a4 SPIGOT-7653: Update ApiVersion.CURRENT with latest version and include tests
2024-05-05Add missing experimental field and annotations (#10653)Lulu13022002
2024-05-05Keep components using single items in creative (#10664)Bjarne Koll
The craftbukkit implementation stores the old and new data patch of an item during ItemStack#useOn(UseOnContext) to properly cancel events via comparison and change detection of the component patch. However, it uses #getComponentsPatch to fetch the new stack component patch, which always yields an empty patch set if an itemstack is considered empty by the game. As the restoration of an itemstack's count to its previous state is handled after the entire ItemStack#useOn method, items used in creative mode temporarily have a count of zero, which causes craftbukkit to consider their new component patch as EMPTY even tho said item may have data. The new patch is applied and, after useOn completes, the count is reset if the player is in creative mode, leading to lost data. This commit fixes said inconsistency by directly accessing the components of the item via components#asPatch, storing the proper component patch even for an item that temporarily has a count of zero.
2024-05-04fix shear drops for wolf and boggedJake Potrebic
Fixes #10661