aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-05-09Use internals for getting block/entity countstimings/use-internalsShane Freeder
For a long time I've been meaning to move some of this logic internally as this would allow us to avoid hitting systems like block state snapshots which can create issues as many of the spigot implementations of this stuff are increasingly broken, leading to unexpected crashes during ticking, even if the API cannot properly interact with these such states/items, it's generally more preferable to not crash the server in the course, and just let those interactions fail more gracefully.
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
2024-05-04Add missing step in V3818Nassim Jahnke
2024-05-04add RegistryAccess for managing registries (#10154)Jake Potrebic
* add RegistryAccess for managing registries * add missing types to key data generator * fix some stuff * Add RegistryKeys for all other non-server-backed registries * fix tests * remove Experimental annotations
2024-05-04Fix lodestone compass target conversionJoseph Burton
2024-05-02Fix can_place_on conversion and size check for item containersJoseph Burton
2024-05-02default save-empty-scoreboard-teams to vanillaShane Freeder
The primary environmental factor which caused this feature to be implemented is no longer much of a factor within the community
2024-05-01Expose #hasColor to leather armor (#10638)SoSeDiK
2024-05-01Add EquipmentSlot#getOppositeHand (#10632)SoSeDiK
2024-05-01Add GameMode#isInvulnerable (#10633)SoSeDiK
2024-05-01Update Java version references, add note on var usagesNassim Jahnke
2024-05-01Add damage check for mending (#10631)Andrew Teeter
2024-05-01Expose canReach to mob pathfinding API (#10636)SoSeDiK
2024-04-30Updated Upstream (CraftBukkit) (#10624)Noah van der Aa
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: 666f091c6 SPIGOT-7649: Allow /setworldspawn command in all worlds again
2024-04-30Fixes beds not exploding in the netherJake Potrebic
Also correctly marks the captured BlockState as "unplaced" Fixes #10629
2024-04-30Update paperweight to 1.6.3 (#10626)Jason Penilla
2024-04-30[ci skip] Remove trailing comma in projects actionNassim Jahnke
2024-04-30Add initial size cap to component mapNassim Jahnke
2024-04-30Fix sealed package check in BytecodeModifyingURLClassLoader (#10627)Jason Penilla
2024-04-29fix dumpitem command nbt formatJake Potrebic
use the snbt visitor instead of plain string
2024-04-29fix spawnChunkRadius gamerule resettingJake Potrebic
Fixes #10622
2024-04-301.20.6 (#10623)Noah van der Aa
2024-04-29[ci skip] update projects workflow configurationRiley Park
2024-04-28Validate manifest provided mapping namespace (#10612)Bjarne Koll
With plugins adopting paperweights mapping namespaces in their manifest file in and after paper 1.20.5, incorrectly spelled namespaces previously were simply implied as the spigot namespace. This commit properly ensures plugin authors are using a known mapping namespace in their manifest, avoiding down the line confusion on incorrect remapping behaviour. The commit also fixes two incorrect log parameters.
2024-04-28Fix incorrect Commodore mapping of sweeping enchantJake Potrebic
2024-04-28Reset component prototype on itemtype changeJake Potrebic
2024-04-28Remap plugin libraries with namespace set to spigot (#10610)Jason Penilla
* Remap plugin libraries with namespace set to spigot * Remap plugin libraries with namespace set to spigot
2024-04-28Rewrite reflection in library loader jars (#10608)Jason Penilla
* Rewrite reflection in library loader jars * Address todos
2024-04-28Fix CraftMetaBlockState adding extra tagsJake Potrebic
2024-04-28[ci skip] adjust projects workflow for label changesRiley Park
2024-04-28[ci skip] Fix discussion template file name (#10607)Noah van der Aa
2024-04-28[ci skip] Feature requests are now in GitHub Discussions (#10606)Riley Park
* [ci skip] feature requests are now discussions, not issues * Re-add discussion template * [ci skip] remove old feature label --------- Co-authored-by: Noah van der Aa <[email protected]>
2024-04-28Add itemName components (Resolves #10467) (#10471)Shane Freeder
* Add itemName components (Resolves ##10467) * improve javadocs and formatting * rebased --------- Co-authored-by: Jake Potrebic <[email protected]>
2024-04-28final missing validation for data componentsJake Potrebic