Commit graph

7131 commits

Author SHA1 Message Date
Jake Potrebic
89a13124cf Separate out chat and commands sent via API (#8131) 2022-07-27 19:07:26 -07:00
Nassim Jahnke
1df091a778 Readd deobfuscation of chat executor stacktraces 2022-07-28 02:02:40 +02:00
Nassim Jahnke
8b829bd611 Don't fire preview event for non-player senders
Fixes #8195
2022-07-28 01:59:19 +02:00
Nassim Jahnke
8e886a3c0a Fix chat message api using overlay 2022-07-28 00:38:37 +02:00
Nassim Jahnke
d1727177ba Make it compie 2022-07-28 00:20:14 +02:00
Nassim Jahnke
365fe29e02 More compile fixed 2022-07-28 00:10:27 +02:00
Nassim Jahnke
9364ea991a Compile fixes 2022-07-28 00:04:27 +02:00
Jake Potrebic
037e6ff905 some compile fixes 2022-07-27 15:00:14 -07:00
Nassim Jahnke
2f8a665549 More more more more more more more work 2022-07-27 23:50:05 +02:00
Nassim Jahnke
983a4b0b2b More more more more more more work 2022-07-27 23:32:15 +02:00
Nassim Jahnke
ca9ce05bb0 More more more more work 2022-07-27 23:19:52 +02:00
Nassim Jahnke
f7123fdddb More more more more work 2022-07-27 22:55:55 +02:00
Nassim Jahnke
b0694bd518 More more more work 2022-07-27 22:46:05 +02:00
Nassim Jahnke
ee2c1caf9b More more work 2022-07-27 22:17:18 +02:00
Nassim Jahnke
24201b38ce More work 2022-07-27 21:49:24 +02:00
Nassim Jahnke
d45c7916e1 Fix timings diff 2022-07-27 21:22:02 +02:00
Nassim Jahnke
8bf425f456 New work 2022-07-27 21:18:51 +02:00
Nassim Jahnke
858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
Nassim Jahnke
a07371fed1 Fix custom merchant trade event world reference 2022-07-25 19:21:31 +02:00
Nassim Jahnke
5946313531 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:
ef0946409 PR-1091: Fix exit position in entity travel with portals
d12768f75 PR-1090: Remove no longer needed world reference from CraftMerchantCustom
7550f6854 SPIGOT-7115: Support hex color codes in custom merchant inventory titles
2022-07-25 18:44:24 +02:00
Nassim Jahnke
af3f0a17cf Add internal netty pipeline events 2022-07-25 16:13:09 +02:00
Nassim Jahnke
6149f6f5e3 Fix regenerate chunk method 2022-07-24 22:11:35 +02:00
Shane Freeder
f9f8a78753 Fix plugin update IO logic when replacing jars 2022-07-23 05:52:57 +01:00
Shane Freeder
226468f7b0 Cache Component MOTDs 2022-07-23 02:56:50 +01:00
Jake Potrebic
7b09f21566 Fix wrong world being passed into portal event (#8174) 2022-07-22 17:42:34 -07:00
Jake Potrebic
656d32e99f Don't use level random in entity constructors (#8122) 2022-07-22 16:42:13 -07:00
Jake Potrebic
edab698dbe Add EntityPortalReadyEvent (#5619) 2022-07-22 16:23:12 -07:00
Owen1212055
09a1be7aef Teleportation API (#6562) 2022-07-22 14:36:43 -05:00
Jake Potrebic
d6e0ab24da Updated Upstream (Bukkit/CraftBukkit) (#8172)
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:
23f557a0 SPIGOT-5380, SPIGOT-6958, PR-772: Add some missing entity API

CraftBukkit Changes:
fc3071161 SPIGOT-5380, SPIGOT-6958, PR-1085: Add some missing entity API
2022-07-22 11:18:00 -07:00
Jake Potrebic
1e414c0753 Updated Upstream (Bukkit) (#8158) 2022-07-21 12:53:04 -07:00
Pedro
01c7b412e8 [ci skip] Update WSL docs in CONTRIBUTING (#7836) 2022-07-21 15:52:11 -04:00
ChristopheG
220055020e Add yaw and pitch to CommandSourceStack#getBukkitLocation() (#8167) 2022-07-21 09:26:36 +02:00
Noah van der Aa
e484f0dd39 Make Biome implement Translatable (#8161) 2022-07-20 18:23:26 +02:00
Pedro
aa949f7a32 Add SpawnReason to Tadpoles spawned by Frogspawn (#8165) 2022-07-20 12:18:28 -04:00
Lulu13022002
d2bed83767 Call jump event for the beast (#8100) 2022-07-20 18:17:42 +02:00
Emily
9026cda053 [ci skip] Readd "Use" Javadoc tab (#8162) 2022-07-20 13:16:13 -03:00
Jake Potrebic
2dddcb7bf1 Fix update future return type (#8120) 2022-07-18 23:06:59 -07:00
Space Walker
2a189a99cd Fix missing redstone event call with Eigencraft redstone (#8148) 2022-07-18 13:46:52 +02:00
stonar96
b4e9e20e79 1.19 Anti-Xray cleanup (#8104) 2022-07-18 12:30:31 +02:00
Pedro
20a1a62469 Log IOException in plugin update (#7960) 2022-07-18 05:31:33 -04:00
Pedro
ea72c007be Fix spigot config not using commands.spam-exclusions (#8151) 2022-07-17 12:37:39 -04:00
Space Walker
bf9672aeac Fix #8138 (#8139) 2022-07-13 23:20:26 +02:00
Noah van der Aa
952ccf3125 Move old user conversion down slightly (fixes #8050) (#8052) 2022-07-12 23:13:27 +02:00
Jake Potrebic
820aef3f3c Updated Upstream (Bukkit/CraftBukkit/Spigot) (#8124)
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:
607ce370 SPIGOT-7069: Material.BARREL has Directional data class, should also be Openable
f14cea82 SPIGOT-7070: Material.SCULK_VEIN has Waterlogged data class, should also be MultipleFacing
8e43b278 PR-767: Add support checking/survivability methods for BlockData
b3dee151 SPIGOT-7083: Add Boat.WoodenType, Boat.Status; deprecate TreeSpecies

CraftBukkit Changes:
9a8e08010 SPIGOT-7069: Material.BARREL has Directional data class, should also be Openable
26bd88ccd SPIGOT-7070: Material.SCULK_VEIN has Waterlogged data class, should also be MultipleFacing
7ba06e15b SPIGOT-7095: StructureGrowEvent doesn't fire for mangrove propagules growing to a tree
163e35c91 PR-1079: Add support checking/survivability methods for BlockData
4230f8f0e SPIGOT-7083: Add Boat.WoodenType, Boat.Status; deprecate TreeSpecies

Spigot Changes:
14a2382f Rebuild patches
2022-07-12 10:16:05 -07:00
Jason Penilla
35eca19853 Refactor paper command (#8112)
* Refactor paper command

* Improve paper dumpitem output

* Register paper command permissions

Would be nice to add descriptions for these too, but that's an enhancement for another time

* Update MobcapsCommandTest fail message

* Notify on bad radius for fix light

* fixup rebase
2022-07-08 16:01:42 -07:00
Jason Penilla
21e92425e9 Use getChunkForLighting instead of getChunkAtImmediately in fixlight to properly ignore imposter chunks
We need chunks to actually have their light status future done to relight them, an imposter with for example only the empty future complete but with a light status cannot be relit.

getChunkForLighting gives the desired behavior and is the method used by the light engine, so updating fixlight to use it as well fixes #8115
2022-07-08 15:27:37 -07:00
Robert Olaru
16c0d71b99 [ci skip] Fixed typo in README (#8031) 2022-07-08 01:41:35 +02:00
Bjarne Koll
c908ebcbcb Add ZombieVillager conversion without entity event (#8111)
The ZombieVillager#setConversionTime API method internally calls
startConversion which always broadcasts the entity event responsible for
playing the respective sound at the beginning of a conversion.

This is not always wanted by developers when modifying already
converting zombies in particular.

This commit expands the ZombieVillager interface with another overload
of the setConversionTime method that also takes a simple toggle flag
indicating whether or not the entity event should be published to the
world.
2022-07-07 23:43:28 +02:00
Lulu13022002
913ca9381e Add xp orb spawn reason for frogs (#8045) 2022-07-07 23:38:12 +02:00
Jake Potrebic
22c788cb7e Fix Bee setFlower NPE (#8107) 2022-07-06 15:21:56 -07:00