Commit graph

7982 commits

Author SHA1 Message Date
Noah van der Aa
eee81acfb0 more more more more more more work 2023-09-22 09:24:44 +02:00
Jake Potrebic
d851baa156 and some more 2023-09-21 22:41:27 -07:00
Jake Potrebic
96a63dfb9d almost halfway done with server patches 2023-09-21 21:40:51 -07:00
Jake Potrebic
d5469c16d1 and some more patches 2023-09-21 21:05:18 -07:00
Jake Potrebic
4c24ef27fa some more patches 2023-09-21 20:29:51 -07:00
Jake Potrebic
4e0701e69d work and compile errors 2023-09-21 19:31:59 -07:00
Jake Potrebic
aca9b5cf34 even more work 2023-09-21 19:17:21 -07:00
Jake Potrebic
0fde46537f some more work 2023-09-21 15:26:51 -07:00
Jake Potrebic
4af8929055 some work 2023-09-21 15:01:00 -07:00
Noah van der Aa
4aa42e8aea more more more more more work 2023-09-21 23:04:51 +02:00
Noah van der Aa
7b6a88056c more more more more work 2023-09-21 22:35:39 +02:00
Noah van der Aa
86931baedf more more more work 2023-09-21 22:14:58 +02:00
Noah van der Aa
233b5b5bec more more work 2023-09-21 21:54:46 +02:00
Noah van der Aa
d700351d49 more work 2023-09-21 21:00:11 +02:00
Noah van der Aa
6a5bb6ffb8 rebuild old indexes, first work 2023-09-21 19:39:51 +02:00
Noah van der Aa
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
Jake Potrebic
efc1f99846 Updated Upstream (Bukkit/CraftBukkit) (#9739)
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:
69c7ce23 PR-990: Use Mockito instead of InvocationHandler for test mocking
997de31d PR-893: Add a stream method to Registry to make it easier to use and to avoid unnecessary wrapping
6a8ce581 Fix malformed javadoc in previous commit
26c74f6d PR-890: Add more Sculk API (bloom, shriek, bloom event)
aa067abf PR-895: Load GameEvent and MusicInstrument from registry

CraftBukkit Changes:
78796c9de Add support for Java 21
ddc9a2dad SPIGOT-7475: Don't fire SculkBloomEvent during world generation
caee2311a PR-1245: Add a stream method to Registry to make it easier to use and to avoid unnecessary wrapping
de421cf56 PR-1242: Add more Sculk API (bloom, shriek, bloom event)
00f5a80fb PR-1252: Fix error when generating a tree in water
10219df3a PR-1248: Load GameEvent and MusicInstrument from registry
2023-09-21 09:48:55 -07:00
Lulu13022002
6cc04e3081 Add missing deprecation (#8886) 2023-09-21 10:35:38 +02:00
Jake Potrebic
1830a8e09d Add missing InventoryHolders to inventories (#7400) 2023-09-17 19:16:48 -07:00
The456
68996e7286 Fix spigot's Forced-Stats (#9663) 2023-09-17 02:27:56 +01:00
Warrior
fbd79e55e5 Fix two beacon bugs (#9675) 2023-09-17 03:36:10 +03:00
Jake Potrebic
969e0a9bb7 Fix sapling observer detection and grow event (#9654) 2023-09-16 16:53:21 -07:00
Jake Potrebic
5e0a3d7ad0 [ci skip] Add missing javadoc links (#9497) 2023-09-16 16:35:39 -07:00
Lulu13022002
4d585e0587 Fix silent equipment change for mobs (#9677)
* Fix silent equipment change for mobs

* rebased and added test to make sure all overrides are added

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-09-17 01:27:11 +02:00
SoSeDiK
2dbdaa6b88 Cleanup old async commands patch (#8895) 2023-09-17 01:54:33 +03:00
Warrior
a624543c95 Fix leashed pets teleporting to owner when loaded (#9686) 2023-09-17 01:16:44 +03:00
Warrior
e0964c727a Add DISPLAY tracking range type (#9668) 2023-09-17 01:02:58 +03:00
Warrior
a9be834ffa Fix Projectile#setOwner(null) not clearing owner (#9715)
* Fix Projectile#setOwner(null) not clearing owner

* rebased and merged into mentioned patch

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-09-17 00:37:38 +03:00
thelooter
e5e00b653b Enforce sign line nullability when setting line with Adventure Method (#9689) 2023-09-16 23:18:51 +02:00
Aeltumn
90b4e9c424 Add ItemStack#isEmpty and related methods (#9664)
* Add new patches

* Change from an EMPTY static var to a static method since ItemStack is mutable

* Properly set nullability of return value

* Move annotation changes to different patch

* Send the Kotlin code back to where it came from

* rebased

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-09-16 23:18:09 +02:00
MiniDigger | Martin
c32a202cfd Improve java version check (#9692) 2023-09-16 23:06:36 +02:00
Jake Potrebic
38704cdea7 [ci skip] Clarify where furnace-related events are called (#8753) 2023-09-16 13:55:40 -07:00
Jake Potrebic
76744c8d52 Create raw chat type as resource file instead of in source (#9226)
Sets up the ability to load new or modified resource files into Paper.

Updates paperweight to 1.5.6

This should work with all run configs, like runDev, runShadow, runReobf as well as correctly build jars for production.
2023-09-15 11:03:42 -07:00
Warrior
537ef22fbf Call BlockRedstoneEvents for lecterns (#9721) 2023-09-15 00:17:53 +03:00
leguan
9466e0d55a compression level change with config option (#9711) 2023-09-14 13:11:19 +02:00
TreemanKing
f4883a8c07 Add Barrel to LootableBlockInventory (#9687) 2023-09-14 21:04:36 +10:00
Duckulus
8eea7a4d45 Add missing Piglin Dancing API (#8894) 2023-09-14 12:54:43 +02:00
Lulu13022002
abbdae4f53 Swap some nullable annotations (#9696) 2023-09-14 12:44:12 +02:00
Warrior
11f2c20c6a Add missing particle javadocs (#9716) 2023-09-14 05:09:09 +03:00
Nassim Jahnke
1e0babdc39 Fix line of sight distance check 2023-09-12 09:56:24 +10:00
Spottedleaf
d3a6b1376a Optimise multiple block updates occurring in the same chunk
We can avoid multiple ticket additions for the same ChunkTasks
instance. This will help in situations where significant number of
block updates occur for the same chunk in the same tick, such as
water draining.
2023-09-11 07:15:18 -07:00
violetc
19a5d6d225 Fix fixItemsMergingThroughWalls check (#9707) 2023-09-11 12:46:02 +08:00
Nassim Jahnke
021d59363b Add missing slot sanity checks for container clicks 2023-09-11 12:03:35 +10:00
Nassim Jahnke
1f4c201c00 Strip raytracing for EntityLiving#hasLineOfSight
Co-authored-by: Paul Sauve <paul@technove.co>
2023-09-10 12:28:03 +10:00
Joe
68b63a9341 Copy NBT in legacy dragon fight converter 2023-09-06 18:33:31 -07:00
Joe
14f834f0a5 Copy NBT in upgrade data neighbor ticks 2023-09-06 18:30:02 -07:00
Lulu13022002
e9d300a828 Take in account waterlogged blocks for scaffolding (#9676) 2023-09-04 17:52:27 +02:00
Md5Lukas
7366520a54 Allow non-op players to execute the click event callback (#9652) 2023-08-28 13:21:13 +02:00
Noah van der Aa
a0632a8f06 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9648)
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:
6b34da8f SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender

CraftBukkit Changes:
db4ba2897 SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
4f7ff4dec PR-1246: Add missing AbstractTestingBase to tests which need them
f70a7b68d SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties
8ef7afef6 PR-1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block

Spigot Changes:
d2eba2c8 Rebuild patches
2023-08-28 13:05:48 +02:00
Martijn
a9122ec448 Do crystal-portal proximity check before entity lookup (#9611) 2023-08-26 22:23:31 +02:00