Commit Graph

241 Commits

Author SHA1 Message Date
Jason 10e9c5a01c
Deobfuscate stacktraces in log messages using a RewriteAppender and a custom RewritePolicy (#5926)
Also replace a couple calls to `System.err` with logger usages, as traces printed with the former do not get deobfuscated.
2021-06-21 01:09:18 -07:00
Pedro Arenas 1830de58bf
Fix `EntityEquipment::setDropChance` Javadoc (#5925) 2021-06-20 22:42:42 -07:00
Jason 6dfe0496bd
Fix PlayerDropItemEvent using wrong item (#5924)
Co-authored-by: Spottedleaf <spottedleaf@users.noreply.github.com>
2021-06-21 05:12:04 +00:00
lexikiq 4eae2d8da3
Fix "Don't ignore result of PlayerEditBookEvent" (#5923) 2021-06-21 04:29:59 +00:00
Underscore11 321ddfea3c
fix: Blank ('') `no-permission` messages shouldn't send blank lines (#5892) 2021-06-21 01:50:36 +00:00
Nassim Jahnke 17f71ac87b
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5904)
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:
70d24eb8 SPIGOT-6587: Update documentation/error of drop chance API

CraftBukkit Changes:
470050ad SPIGOT-6587: Update documentation/error of drop chance API
1c39efa3 Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
d161627d Fix PrepareItemCraftEvent#isRepair
aa1fae73 SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly
8a04072e SPIGOT-6583: Throwing eggs doesn't make sounds

Spigot Changes:
f773da84 Remove redundant patch
cd367234 Rebuild patches
2021-06-20 21:25:59 +02:00
Shane Freeder 33d6b6fbcd
Add invalid player data to misc debug dumps 2021-06-20 15:07:00 +01:00
Spottedleaf c89ec40619
Fix Codec log spam
Mojang did NOT add dataconverters for world gen configurations
that they CHANGED. So, the codec fails to parse old data.

This fixes two instances:
- IntProvider is new and Mojang did not account for old data.
  Thankfully, only ColumnPlace needed to be special cased.
- TreeConfiguration had changes. Thankfully, they were
  only renames for one value and thankfully defaults could
  be provided for two new values (WITHOUT changing behavior).
2021-06-20 12:59:55 +01:00
Jason 4bf6a631e7
Rename package from `io.papermc.paper.world.gen` to `io.papermc.paper.world.generation` (#5894) 2021-06-20 05:02:27 +00:00
dfsek c4c6e26c00
Worldgen Feature API (#5727) 2021-06-19 21:48:30 -07:00
Riley Park ce6610254f Fix GS4 querying 2021-06-19 18:27:04 -07:00
Jake Potrebic 1882ec3c07
fix patch mis-order 2021-06-19 10:45:52 -07:00
MiniDigger 512e7c99ae thank you for your service, old spigot mapped patches, you will not be missed. 2021-06-19 19:30:36 +02:00
KennyTV ac95f25f35
Fix startup delay and warning caused by oshi 2021-06-19 09:57:56 +02:00
KennyTV 0bf1be0a80
Updated Upstream (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

CraftBukkit Changes:
68d40318 SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop
78d93f77 SPIGOT-6576: BlockExpEvent does not show XP when breaking a furnace
2021-06-19 09:06:28 +02:00
Jake Potrebic 9f8876e92f add back optimizing ServerLevel chunk checking methods 2021-06-19 08:57:42 +02:00
Jason Penilla 309b99b12f
Save BlockEntities on main for async chunk saves
Closes #5854
2021-06-18 21:38:44 -07:00
Jason Penilla 3c5bfaddbe
Remove chat event APIs marked as deprecated for removal with 1.17 2021-06-18 15:47:40 -07:00
MiniDigger ad7644ce82 downgrade snakeyaml to fix issues with comments
this was done by upstream, but got missed. Thanks @mrfloris for pointing this out.
2021-06-18 16:34:30 +02:00
Kyle Wood dad12b324b
Move package version to server project 2021-06-18 00:25:16 -05:00
Riley Park 4f14647c37
Thanks for joining us for the magic show tonight 2021-06-17 20:39:33 -07:00
djytw c5070937e4
Fix #5856 Entity origin (#5861) 2021-06-18 04:37:23 +01:00
Riley Park d76f8e018c
Don't include log4j 2021-06-17 18:42:17 -07:00
Jake Potrebic c9cdc05ff1
remove more obfhelpers 2021-06-17 15:47:52 -07:00
MiniDigger 30cdf3b8b1 fix build 2021-06-17 22:25:52 +02:00
MiniDigger 13e04200c7 death to more obfhelpers 2021-06-17 22:20:03 +02:00
MiniDigger 272fb20b26 deprecate all obfhelpers 2021-06-17 21:52:26 +02:00
MiniDigger 3cdaf0b8a1 nuke a few more obfhelpers 2021-06-17 21:37:37 +02:00
MiniDigger 4104545b11 remove system property for book size limits
"It was from a different time before books were as jank as they are now. As time has gone on they've only proven to be worse and worse."
2021-06-17 21:12:40 +02:00
MiniDigger 2cbdb174b7 check if sender is a player in paper dumpitem command, closes #5858 2021-06-17 20:13:55 +02:00
Jake Potrebic 86abcdafe1
remove remaining POMs 2021-06-17 10:11:00 -07:00
KennyTV c943a108a9
Updated Upstream (Bukkit/CraftBukkit/Spigot)
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:
2dbec584 SPIGOT-6570: Missing InventoryType: COMPOSTER
e9ce88b9 SPIGOT-6562: Add more specific sculk sensor event

CraftBukkit Changes:
9122f5a6 #869: Fix BossBar setColor and setStyle updates
96a15d7a Incrase outdated build delay
ded19075 SPIGOT-6570: Missing InventoryType: COMPOSTER
d7ef1e91 SPIGOT-6558: Attempt to improve SkullMeta
e7a63287 SPIGOT-6562: Add more specific sculk sensor event

Spigot Changes:
101ebb63 SPIGOT-6573: Berry Bushes deal damage when not moving
2021-06-17 14:50:16 +02:00
Jason Penilla 8236add8cb
Update author on my patches 2021-06-17 02:37:24 -07:00
Jason Penilla 691cdf6f9e
Update incremental chunk saving 2021-06-17 01:37:27 -07:00
Kyle Wood 52287ea614
Simplify Multi-Release plugin jar patch
We don't have to worry about running on Java <9 anymore.
2021-06-16 23:18:55 -05:00
Jason Penilla 3353754726
Update Entity load/save limit per chunk 2021-06-16 21:00:32 -07:00
Kyle Wood 9bebf0b6f8
Relocate other libraries Spigot added and relocates in 1.17 2021-06-16 20:56:44 -05:00
Kyle Wood 0cd65441d1
Add a note about deleting pom.xml in first patch 2021-06-16 20:46:15 -05:00
Kyle Wood b9402f84a9
Minor patch cleanup 2021-06-16 20:43:30 -05:00
Jason Penilla a26d1aa427
Fix artifact ids 2021-06-16 17:27:10 -07:00
Jake Potrebic 7be3024c75
update to Adventure 4.8.1 2021-06-16 15:57:49 -07:00
Jake Potrebic cd8f24d472
remove some more obf helpers 2021-06-16 14:22:39 -07:00
KennyTV 080d3d737a
Enable chunk load for feature search by default 2021-06-16 22:42:48 +02:00
Jake Potrebic a6004d4f7f
fixes issue with chunk saving
fixes #5854
2021-06-16 13:35:10 -07:00
KennyTV 3d81d4e5b2
Fix entity death sounds 2021-06-16 22:17:53 +02:00
Jake Potrebic 8e187cb187
remove optimise random tick patch for now 2021-06-16 13:12:05 -07:00
KennyTV 05623c47ec
Port improve chunk status transition speed 2021-06-16 15:47:07 +02:00
KennyTV 2b3c483a98
Fix custom world height in xray patch 2021-06-16 15:14:19 +02:00
KennyTV 2b8d06aed3
Definitely readd this patch for the first time 2021-06-16 13:07:43 +02:00
KennyTV 9e1255cff9
Port chunk priority urgency patch 2021-06-16 12:32:08 +02:00
Spottedleaf 4b17540b42
Update Asynchronous chunk IO and loading for variable world height limits 2021-06-16 02:18:08 -07:00
Jason Penilla 3740db03b4 Fix comment 2021-06-16 00:33:23 -07:00
Shane Freeder 86953b2641 Modify entity origin API to store world/pos seperatly 2021-06-16 00:33:23 -07:00
Jason Penilla d8c3fb7e47
Temporarily revert incremental chunk saving patch
Needs updating to hook into new entity storage system
2021-06-16 00:21:41 -07:00
Jason Penilla 9cfc0d5a60
Revert "Re-add Chunk Priority/Urgency System (#5829)"
This reverts commit 24b7da65ee.

Patch was updated incorrectly and needs a closer look.
2021-06-16 00:21:41 -07:00
Jake Potrebic 852ce73590
more patches added back 2021-06-15 23:26:29 -07:00
Jason Penilla ad2a112c89
Update runDev task for Gradle 7.1 deprecations
also no longer disable watchdog by default, instead require `disableWatchdog` Gradle property to be set
2021-06-15 22:11:13 -07:00
Jake Potrebic 6f064f928e
add more patches back 2021-06-15 21:53:50 -07:00
Jake Potrebic ea0ec8c5a0
Updated Upstream (Bukkit/CraftBukkit) & more patches
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:
e9ce88b9 SPIGOT-6562: Add more specific sculk sensor event

CraftBukkit Changes:
d7ef1e91 SPIGOT-6558: Attempt to improve SkullMeta
e7a63287 SPIGOT-6562: Add more specific sculk sensor event
2021-06-15 21:12:14 -07:00
Jason Penilla 4d40e87b33
Update sync chunk load debug patch
Had to drop some hunks modifying getEntities, as those methods were rewritten by Mojang in 1.17
2021-06-15 17:50:38 -07:00
Jason Penilla d50b33f4da
fix StopAttackingIfTargetInvalid behavior 2021-06-15 16:55:13 -07:00
Jake Potrebic 9501e7619f
added remaining hunks from chat/title packets (#5844) 2021-06-15 16:41:38 -07:00
MiniDigger ba2b40c603 mojang mapped vanilla goals 2021-06-16 01:24:22 +02:00
MiniDigger f79ab295a5 one missed AT 2021-06-16 00:59:41 +02:00
MiniDigger 08fe6d3c86 Fix a few cases of the vanilla mob goals 2021-06-16 00:47:05 +02:00
MiniDigger 3fb6b93f96 AT bullshit 2021-06-16 00:24:12 +02:00
MiniDigger 90546c7c50 start adding in ATs 2021-06-15 21:44:37 +02:00
KennyTV 4cbb187af5
Add note on removed patch 2021-06-15 19:34:04 +02:00
KennyTV 7480cf008a
Port Stop-copy-on-write-operations-for-updating-light-dat 2021-06-15 17:43:00 +02:00
KennyTV eab6d9f533
Changes to xray patch 2021-06-15 16:33:39 +02:00
KennyTV 7267c01db0
Fix ChunkPacketBlockControllerAntiXray initialize 2021-06-15 16:08:48 +02:00
KennyTV 68caddbb73
Port anti x-ray patch 2021-06-15 16:08:47 +02:00
Jason Penilla e3fea251a6
BlockPos.withinManhattan decomp fix 2021-06-15 06:55:25 -07:00
Jason Penilla df2247b2ed
Remove sync loading of spawn chunks
Adding the tickets is sufficient
2021-06-15 03:13:30 -07:00
Jason Penilla 8291fff4ac
Updated Upstream (CraftBukkit/Spigot)
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:
f992ce60 Fix duplicate datapack reload on /reload

Spigot Changes:
9472b09d Rebuild patches
2021-06-15 01:38:57 -07:00
Jake Potrebic 3846367c2d
add back optimizing hopper searches (#5839) 2021-06-15 01:29:12 -07:00
Jason Penilla ebbfe2749b
update Optimize Pathfinder - Remove Streams / Optimized collections 2021-06-15 00:43:03 -07:00
Jason Penilla f267238e0e
reorder patches after merge 2021-06-14 22:49:09 -07:00
Omer Uddin b26ba5bc8a
port some patches (#5837) 2021-06-14 22:44:37 -07:00
Jake Potrebic 8755b391fb
Add back stream patch (#5838) 2021-06-14 22:38:36 -07:00
Jason Penilla a5251b4375
update Fix incorrect status dataconverter for pre 1.13 chunks 2021-06-14 22:12:50 -07:00
Jason Penilla 5a86fba668
final patches from remapped and unmapped
keep in mind many patches in the removed folder still need to be updated
2021-06-14 21:56:30 -07:00
Jason Penilla f5f80a4aed
fixes 2021-06-14 21:16:18 -07:00
Jason Penilla f6636fca9e
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:
ebb0e28d #631: Add Villager#shakeHead
751469c6 #629: Add LivingEntity#isClimbing

CraftBukkit Changes:
622cf611 SPIGOT-6555: Cannot access shield BlockStateMeta
8b2e78ec SPIGOT-6542: Fix counting players with fauxSleeping = true
f66c437a SPIGOT-6561: Add events for dripleaf tilting
6ed40004 SPIGOT-6560: Crash when falling stalactite hits player
72a2901b SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta
a07e783a #865: Implement Villager#shakeHead
3252ff18 #863: Add LivingEntity#isClimbing
77058c79 SPIGOT-6554: Worlds created with the bukkit ChunkGenerator cannot save
2021-06-14 21:02:21 -07:00
Jason Penilla 7271649af2
patches 2021-06-14 21:02:20 -07:00
Jake Potrebic d3424f4a8a
tons of patches (#5835) 2021-06-14 22:59:31 -04:00
Omer Uddin 38e4dc3050
Organize removed patches (#5836) 2021-06-14 19:54:17 -07:00
mechoriet 24b7da65ee
Re-add Chunk Priority/Urgency System (#5829) 2021-06-14 22:41:12 -04:00
Jason Penilla 0c732e2ef5
Put pom in correct location for Paperclip install to maven local feature 2021-06-14 18:56:02 -07:00
Jake Potrebic 09ead8b043 more patches 2021-06-14 23:42:23 +02:00
Jake Potrebic f777faa8c1 more patches & fixes to existing patches 2021-06-14 21:18:49 +02:00
Jake Potrebic 5dce4d9178 more patches 2021-06-14 21:18:49 +02:00
Jake Potrebic 8cf470d6b1 more patches 2021-06-14 19:02:40 +02:00
Jake Potrebic 18a839d265 fix no grav bee patch for world height changes 2021-06-14 19:02:40 +02:00
Aurora 53081c6e5f
even more compile fixes 2021-06-14 17:17:08 +02:00
Aurora b87c54f843
fix compile issues 2021-06-14 17:10:25 +02:00
Aurora 21effd6c48
even moar workkkkk 2021-06-14 17:02:03 +02:00
Josh Roy 3721b1466f need to look at this later, fails rn 2021-06-14 06:47:04 -07:00
Josh Roy cfb17666ff even MOAR progress 2021-06-14 06:45:16 -07:00
Aurora 42091ba5f0 Merge branch 'dev/1.17' of github.com:PaperMC/Paper into dev/1.17 2021-06-14 14:04:57 +02:00