Commit Graph

8657 Commits

Author SHA1 Message Date
Jake Potrebic f51bdcf978 fix shear drops for wolf and bogged
Fixes #10661
2024-05-04 22:48:06 -07:00
Nassim Jahnke 7b2ce17e23 Add missing step in V3818 2024-05-04 22:49:48 +02:00
Jake Potrebic 4473bf06e0 add RegistryAccess for managing registries (#10154)
* 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-04 11:22:35 -07:00
Joseph Burton 128ea2f10b Fix lodestone compass target conversion 2024-05-04 12:58:06 +02:00
Joseph Burton 4a8b9a03eb Fix can_place_on conversion and size check for item containers 2024-05-02 20:23:15 +02:00
Shane Freeder a8e49a12d3 default save-empty-scoreboard-teams to vanilla
The primary environmental factor which caused this feature to be implemented
is no longer much of a factor within the community
2024-05-02 09:53:43 +01:00
SoSeDiK a56d850e4b Expose #hasColor to leather armor (#10638) 2024-05-01 20:14:42 +03:00
SoSeDiK 71c03637bf Add EquipmentSlot#getOppositeHand (#10632) 2024-05-01 20:14:27 +03:00
SoSeDiK 6ad89448b8 Add GameMode#isInvulnerable (#10633) 2024-05-01 20:14:17 +03:00
Nassim Jahnke 9432b19638 Update Java version references, add note on var usages 2024-05-01 18:44:17 +02:00
Andrew Teeter f1693652c8 Add damage check for mending (#10631) 2024-05-01 06:01:48 -04:00
SoSeDiK 58e7ac939f Expose canReach to mob pathfinding API (#10636) 2024-05-01 13:00:11 +03:00
Noah van der Aa dde797dbca Updated Upstream (CraftBukkit) (#10624)
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-05-01 01:53:54 +02:00
Jake Potrebic 61a36373c0 Fixes beds not exploding in the nether
Also correctly marks the captured BlockState as "unplaced"
Fixes #10629
2024-04-30 16:42:43 -07:00
Jason Penilla 8712a1c838 Update paperweight to 1.6.3 (#10626) 2024-04-30 10:30:14 -07:00
Nassim Jahnke 657059cfe9 [ci skip] Remove trailing comma in projects action 2024-04-30 15:56:43 +02:00
Nassim Jahnke f97bdb1894 Add initial size cap to component map 2024-04-30 11:14:20 +02:00
Jason Penilla ec006b59bb Fix sealed package check in BytecodeModifyingURLClassLoader (#10627) 2024-04-30 01:21:16 -07:00
Jake Potrebic ff22570edc fix dumpitem command nbt format
use the snbt visitor instead of plain string
2024-04-29 18:49:19 -07:00
Jake Potrebic 9db4ebd3f1 fix spawnChunkRadius gamerule resetting
Fixes #10622
2024-04-29 15:22:29 -07:00
Noah van der Aa 723528c18b 1.20.6 (#10623) 2024-04-30 00:16:07 +02:00
Riley Park 3778302a37 [ci skip] update projects workflow configuration 2024-04-29 13:29:50 -07:00
Bjarne Koll e136fada5d Validate manifest provided mapping namespace (#10612)
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-29 05:43:50 +02:00
Jake Potrebic 74b2f39f80 Fix incorrect Commodore mapping of sweeping enchant 2024-04-28 17:25:21 -07:00
Jake Potrebic 9987c3cb96 Reset component prototype on itemtype change 2024-04-28 17:13:30 -07:00
Jason Penilla c82479dc52 Remap plugin libraries with namespace set to spigot (#10610)
* Remap plugin libraries with namespace set to spigot

* Remap plugin libraries with namespace set to spigot
2024-04-28 14:55:10 -07:00
Jason Penilla 32ad479664 Rewrite reflection in library loader jars (#10608)
* Rewrite reflection in library loader jars

* Address todos
2024-04-28 13:14:10 -07:00
Jake Potrebic b10448ebda Fix CraftMetaBlockState adding extra tags 2024-04-28 12:34:11 -07:00
Riley Park 365bcb891d [ci skip] adjust projects workflow for label changes 2024-04-28 12:12:57 -07:00
Noah van der Aa 251396321e [ci skip] Fix discussion template file name (#10607) 2024-04-28 20:16:07 +02:00
Riley Park 54478377ac [ci skip] Feature requests are now in GitHub Discussions (#10606)
* [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 <ndvdaa@gmail.com>
2024-04-28 11:12:37 -07:00
Shane Freeder f4303373e1 Add itemName components (Resolves #10467) (#10471)
* Add itemName components (Resolves ##10467)

* improve javadocs and formatting

* rebased

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-04-28 18:08:59 +01:00
Jake Potrebic 819639770e final missing validation for data components 2024-04-28 09:46:30 -07:00
Nassim Jahnke cbb35324c1 Fix overly strong name validation in player heads
Closes #10477
2024-04-28 18:25:20 +02:00
Jake Potrebic c45369311e respect hard list size limits in ItemMeta 2024-04-28 09:06:14 -07:00
Nassim Jahnke 2355f31613 Don't hard fail on plugin remap error
Closes #10474
2024-04-28 17:25:31 +02:00
Jake Potrebic da3ca7a40d Fix issue with empty lists in adventure predicates
Fixes #10473
2024-04-28 08:22:16 -07:00
Shane Freeder 36fa573f48 Fix another missing book meta tag 2024-04-28 13:48:20 +01:00
Shane Freeder 4aab51d78a Fix book meta lacking resolved tag from older versions (Fixes #10470) 2024-04-28 13:15:03 +01:00
Nassim Jahnke 7ffc581d32 Fix test compilation 2024-04-28 14:20:52 +02:00
Jake Potrebic c6bdd67d28 more fixes for ItemMeta relating to components 2024-04-27 22:27:51 -07:00
Jake Potrebic c534b3e0ea Fix firework meta NPE
Fixes #10466
2024-04-27 20:57:42 -07:00
caramel d1a11cca31 Fix the incorrect codec usage in the Style convert (#10465) 2024-04-28 12:32:11 +09:00
Jason Penilla 0b9087f4b8 Only scan org.bukkit.craftbukkit.inventory in MetaHandledTagsTest
fixes tests OOMing
2024-04-27 18:25:15 -07:00
Jake Potrebic 57a40dbdd3 remove calls to DoNotUse methods 2024-04-27 18:18:20 -07:00
Jake Potrebic dcbe8f75f2 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:
304e83eb PR-1002: Improve documentation and implementation of getMaxStackSize
e8215ea2 SPIGOT-7638: Library loader does not seem to resolve every dependency
79c595c0 SPIGOT-7637: Bad logic in checking nullability of AttributeModifier slots

CraftBukkit Changes:
91b1fc3f1 SPIGOT-7644: Fix ItemMeta#getAsString
4e77a81e1 SPIGOT-7615: PlayerLeashEntityEvent cancelled eats lead
996f660f3 Do not remove leash knot if leasing to an existing leash knot gets cancelled
f70367d42 SPIGOT-7643: Fix inverted leash event cancelled usage and remove leash knot if no entity gets leashed
7ddb48294 SPIGOT-7640: Abnormal jumping height of wind charge
080c8711e SPIGOT-7639: Incoming plugin channels not working
ad549847e Open a direct connection instead of pinging mojang server to check if it is reachable
38e2926c5 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime
2024-04-27 18:00:01 -07:00
Jake Potrebic 25e7f94c2a fix last test issue 2024-04-27 17:45:30 -07:00
Jason Penilla 08a94f6ebd bump paperweight to 1.6.2 to fix spurious build failure from scanJar OOM 2024-04-27 17:38:09 -07:00
Jake Potrebic 663c8a772f Fix issue with hopppers
Fixes #10464
2024-04-27 17:31:32 -07:00
Jake Potrebic 9230c67a88 improve checking handled tags in itemmeta (#9470) 2024-04-27 17:33:17 -07:00