Jason Penilla
d9fde9a55a
Add back linking to Adventure Javadoc ( #6088 )
2021-07-05 20:25:23 -07:00
Jake Potrebic
fff6b90af3
Fix Player#playerListName nullability annotation ( #6089 )
2021-07-05 20:22:11 -07:00
Jason Penilla
cad0a49123
Fix incorrect variable usage in per-player mob spawning patch ( #6077 )
2021-07-04 09:30:59 -07:00
Jason Penilla
08033a4fc0
Also deobfuscate secondary stacktraces in crash reports ( #6078 )
2021-07-04 03:20:11 -07:00
Jason Penilla
1d6b275814
Fix Bossbar updating ( closes #6061 ) ( #6076 )
2021-07-03 16:26:13 -07:00
Jake Potrebic
42714f234c
fix custom beacon ranges ( #6067 )
2021-07-02 12:51:49 -07:00
PaulBGD
88029f0e8a
Readd "Use getChunkIfLoadedImmediately in places" ( #6047 )
...
* Readd "Use getChunkIfLoadedImmediately in places"
* Formatting
* Fix var names
2021-07-02 14:04:29 -05:00
BillyGalbreath
42293b52e2
Honor spigot.yml setting log-villager-deaths ( #6057 )
...
cat note: giggity.
2021-07-01 22:28:31 -05:00
Shane Freeder
2143a948be
Fix NPE when completing skull lookups without a real owner ( Fixes #6052 )
...
This looks like mojang introduced an NPE however it was previously being
supressed by the future used by the server, we'll just stick to the legacy
behavior of retainining the existing profile of earlier versions
2021-07-01 00:10:28 +01:00
Shane Freeder
0641643c4a
Backport MC-229191 ore distribution changes
2021-06-30 22:11:40 +01:00
Shane Freeder
5a5d27f6a1
Fix NPE when using broadcast as players are joining
2021-06-29 22:21:42 +01:00
Shane Freeder
0e2c1c7288
[ci skip] patch-ception
2021-06-29 17:39:17 +01:00
Shane Freeder
73d13c8c88
Don't complete skull lookups on main thread (MC-227435)
2021-06-29 17:34:20 +01:00
Jason Penilla
d0c06257f1
[ci-skip] Fix description of add-plugin command line option ( #6031 )
2021-06-29 02:09:02 -07:00
stonar96
c7e9c0260f
Optimize Anti-Xray ( #5991 )
2021-06-29 11:01:47 +02:00
Jason Penilla
85ba428029
Fix return value of Block#applyBoneMeal always being false ( #6030 )
2021-06-28 18:37:44 -07:00
Shane Freeder
f3e872c626
Fix players not being added to collide rule ( Fixes #6024 )
2021-06-28 22:16:46 +01:00
Kezz
1029e65bb2
Implement Sound.Source.Provider ( #5935 )
2021-06-28 14:07:19 +01:00
Jake Potrebic
cecb38e6ed
Improve horrible CraftChunk#getEntities performance ( #5999 )
...
Thanks Spigot, very cool.
2021-06-28 05:53:28 -07:00
Kyle Wood
4c515198bb
Trim whitspace off of git hash (oops)
2021-06-26 23:51:03 -05:00
Kyle Wood
16030c824f
Update task dependency for includeMappings so the new task isn't skipped
...
The new task fixJarForReobf was added after shadowJar, but since
reobfJar's input is changed in this patch, that new task needs to be
referenced instead of shadowJar.
2021-06-26 22:26:17 -05:00
Kyle Wood
0b0461e997
Remove now unneeded patch due to paperweight 1.1.7
2021-06-26 22:22:05 -05:00
Kyle Wood
99bb2c025c
Get short commit ref using a more proper method
2021-06-26 22:15:13 -05:00
Shane Freeder
65c6d7f38f
Drop codec spam fix ( Fixes #5936 )
...
having spoken to mojang about this the general issue is data which shouldn't
have been saved in the first place, so if we lose this data it's not really
an issue, bar being annoying spammy. if the spam gets on your nerves, shamefully,
all you can really do is forceUpgrade to get the conversions of the way.
Dropping as this breaks other aspects of the server and bar being spammy
seems to have no other real negative outcomes
2021-06-26 12:56:06 +01:00
Nassim Jahnke
f800d80c45
Fix chicken jockey chicken persistence ( #6005 )
2021-06-26 10:54:24 +02:00
Jake Potrebic
28e57942d7
Fix use of universe flag and forceUpgrade
2021-06-25 18:56:12 -07:00
Jason Penilla
254ac170de
Do not cancel chunk load on ticket level change ( #5978 )
...
New chunk system doesn't do cancellations anymore.
Co-authored-by: Spottedleaf <spottedleaf@users.noreply.github.com>
2021-06-24 02:12:47 -07:00
Shane Freeder
65a6e249ea
Allow explosions under 0 height ( Fixes #5974 )
...
Upstream forgot to update the check here which prevents explosions
occuring under 0 height, however, vanilla already checks that we
are in bounds of the world above this, so this call is entirely
redundant.
2021-06-24 01:44:23 +01:00
Prof-Bloodstone
5126271b6c
Make gradle take build number from env vars and add git build info ( #5890 )
...
* Make gradle take build number from env vars
* Add git information to manifest and version command/log
* trim
* Fix tests by adding NotNull annotations
* rebase
* Apply suggestions from kashike
Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
* Not always show branch
* Why can't everything be NotNull by default?
* Rebase
Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
2021-06-23 19:19:44 +02:00
stonar96
c00618d009
Refactor Anti-Xray and make some fixes to it ( #5938 )
2021-06-23 10:39:02 +02:00
Jake Potrebic
2c17a86e82
Fix mobs not burning from summon command ( #5961 )
2021-06-23 01:07:59 -07:00
Jake Potrebic
7c2140bc63
Fix NPE when setting cook multiplier ( #5956 )
2021-06-22 12:26:03 -07:00
Shane Freeder
5b8a29a0cc
Ensure disconnect for book edit is called on main
2021-06-22 20:00:11 +01:00
Jake Potrebic
ce3e8e8708
remove calling expensive method ( #5955 )
2021-06-22 11:52:45 -07:00
Shane Freeder
4ad15af215
Fix kick event being fired off main thread
2021-06-22 19:35:35 +01:00
Nassim Jahnke
b7605a2231
Fix player collision patch cleanup ( #5947 )
2021-06-22 15:58:20 +02:00
Shane Freeder
1599ffc11d
Try even harder to get an origin world and avoid NPEs ( Fixes #5931 )
2021-06-22 11:54:49 +01:00
Owen1212055
4a7d7decce
Add more fox API ( #5743 )
2021-06-22 03:44:02 -04:00
Jason Penilla
ed04368157
Expand where stacktraces can be deobfuscated ( #5944 )
...
Also load the mappings from the correct location
2021-06-21 21:12:07 -07:00
Riley Park
8510a478dd
Better checking for method return TYPE_USE annotations
2021-06-21 10:08:30 -07:00
Riley Park
b7b70f682f
Allow use of TYPE_USE annotations
2021-06-21 09:55:17 -07:00
BillyGalbreath
83bbb318a6
[ci skip] Very important bug fix :O ( #5934 )
2021-06-21 09:36:53 -05:00
BillyGalbreath
5166ece434
Permission message upgrades ( #5932 )
...
* Permission message upgrades
* Allow for blank lines after split
* the future is now :o
2021-06-21 09:07:21 -05:00
Shane Freeder
58c3edcb08
Try to prevent an NPE from origin data ( Fixes #5905 )
2021-06-21 10:04:18 +01:00
Shane Freeder
1763250105
Fix early load perms patch ( Fixes #5917 )
2021-06-21 09:41:00 +01:00
Jason Penilla
5f20f9bf95
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
f1cf984988
Fix EntityEquipment::setDropChance
Javadoc ( #5925 )
2021-06-21 01:42:42 -04:00
Jason Penilla
6922070800
Fix PlayerDropItemEvent using wrong item ( #5924 )
...
Co-authored-by: Spottedleaf <spottedleaf@users.noreply.github.com>
2021-06-20 22:12:04 -07:00
lexikiq
c10499bc4d
Fix "Don't ignore result of PlayerEditBookEvent" ( #5923 )
2021-06-21 00:29:59 -04:00
Underscore11
fbc750341f
fix: Blank ('') no-permission
messages shouldn't send blank lines ( #5892 )
2021-06-20 18:50:36 -07:00
Nassim Jahnke
41acf2c279
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
e6193a1630
Add invalid player data to misc debug dumps
2021-06-20 15:06:37 +01:00
Spottedleaf
4bfd5dbc06
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:58:35 +01:00
Jason Penilla
c0ee8ae35e
Rename package from io.papermc.paper.world.gen
to io.papermc.paper.world.generation
( #5894 )
2021-06-19 22:02:27 -07:00
dfsek
cba64693c4
Worldgen Feature API ( #5727 )
2021-06-19 21:48:30 -07:00
Riley Park
892f1ec052
Fix GS4 querying
2021-06-19 18:27:04 -07:00
Nassim Jahnke
eac2ccfb3a
Fix startup delay and warning caused by oshi
2021-06-19 09:57:56 +02:00
Nassim Jahnke
601c40df88
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
91e39ea5ac
add back optimizing ServerLevel chunk checking methods
2021-06-17 22:51:04 -07:00
Jason Penilla
7606788417
Save BlockEntities on main for async chunk saves
...
Closes #5854
2021-06-18 21:38:44 -07:00
Jason Penilla
166760a713
Remove chat event APIs marked as deprecated for removal with 1.17
2021-06-18 15:47:40 -07:00
MiniDigger | Martin
ba7094caa9
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
c34b6734a2
Move package version to server project
2021-06-18 00:25:16 -05:00
Riley Park
c867b69e41
Thanks for joining us for the magic show tonight
2021-06-17 20:38:22 -07:00
djytw
5e9ba09e6d
Fix #5856 Entity origin ( #5861 )
2021-06-18 03:37:23 +00:00
Riley Park
1942e47836
Don't include log4j
2021-06-17 18:42:17 -07:00
Jake Potrebic
570006ab1e
remove more obfhelpers
2021-06-17 14:39:36 -07:00
MiniDigger | Martin
6c9cd70194
fix build
2021-06-17 22:25:52 +02:00
MiniDigger | Martin
4ac379cbd0
death to more obfhelpers
2021-06-17 22:20:03 +02:00
MiniDigger | Martin
62fabeca0c
deprecate all obfhelpers
2021-06-17 21:52:26 +02:00
MiniDigger | Martin
a486d2eccf
nuke a few more obfhelpers
2021-06-17 21:37:37 +02:00
MiniDigger | Martin
8d5fa8c53b
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 | Martin
a716afea03
check if sender is a player in paper dumpitem command, closes #5858
2021-06-17 20:13:55 +02:00
Jake Potrebic
6d848fc4bf
remove remaining POMs
2021-06-17 10:11:00 -07:00
Nassim Jahnke
36b107516b
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
1ffd69b7cc
Update incremental chunk saving
2021-06-17 01:37:27 -07:00
Kyle Wood
d5de9fba04
Simplify Multi-Release plugin jar patch
...
We don't have to worry about running on Java <9 anymore.
2021-06-16 23:18:18 -05:00
Jason Penilla
5eb7d40379
Update Entity load/save limit per chunk
2021-06-16 21:00:32 -07:00
Kyle Wood
3dc0a3fafc
Relocate other libraries Spigot added and relocates in 1.17
2021-06-16 20:56:44 -05:00
Kyle Wood
c7a0195cdd
Add a note about deleting pom.xml in first patch
2021-06-16 20:46:15 -05:00
Kyle Wood
b2cab70594
Minor patch cleanup
2021-06-16 20:43:30 -05:00
Jason Penilla
48c1ea17c3
Fix artifact ids
2021-06-16 16:23:02 -07:00
Jake Potrebic
7de25fd330
update to Adventure 4.8.1
2021-06-16 15:57:49 -07:00
Jake Potrebic
4d67d89033
remove some more obf helpers
2021-06-16 10:48:25 -07:00
Nassim Jahnke
15c337032b
Enable chunk load for feature search by default
2021-06-16 22:42:48 +02:00
Jake Potrebic
06d10601a7
fixes issue with chunk saving
...
fixes #5854
2021-06-16 13:34:49 -07:00
Nassim Jahnke
79da41d557
Fix entity death sounds
2021-06-16 22:17:53 +02:00
Jake Potrebic
f2f6f697bc
remove optimise random tick patch for now
2021-06-16 13:12:05 -07:00
Nassim Jahnke
a483019516
Port improve chunk status transition speed
2021-06-16 15:47:07 +02:00
Nassim Jahnke
3539c592ed
Fix custom world height in xray patch
2021-06-16 15:14:19 +02:00
Nassim Jahnke
41c8d7f600
Definitely readd this patch for the first time
2021-06-16 13:07:43 +02:00
Nassim Jahnke
c922b685e0
Port chunk priority urgency patch
2021-06-16 12:14:53 +02:00
Spottedleaf
1d0a9b43ec
Update Asynchronous chunk IO and loading for variable world height limits
2021-06-16 02:18:08 -07:00
Jason Penilla
53cf0f23c1
Fix comment
2021-06-16 00:29:05 -07:00
Shane Freeder
e1116fe452
Modify entity origin API to store world/pos seperatly
2021-06-16 06:36:02 +01:00
Jason Penilla
f0a6f4878d
Temporarily revert incremental chunk saving patch
...
Needs updating to hook into new entity storage system
2021-06-16 00:19:23 -07:00
Jason Penilla
a222ba520c
Revert "Re-add Chunk Priority/Urgency System ( #5829 )"
...
This reverts commit 2119f06b5a
.
Patch was updated incorrectly and needs a closer look.
2021-06-15 23:46:06 -07:00
Jake Potrebic
5624ad3c68
more patches added back
2021-06-15 23:25:38 -07:00
Jason Penilla
942c015158
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:10:05 -07:00
Jake Potrebic
61236ef43b
add more patches back
2021-06-15 21:53:50 -07:00