Commit Graph

3162 Commits

Author SHA1 Message Date
Jake Potrebic
4d8954ef25 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 13:50:09 -07:00
Gergely Sarkozi
bb125aaccf fix cancelling block falling causing client desync (fixes #5386) (#5419) 2021-05-09 22:40:50 +02:00
Jason Penilla
7bc482249f Allow for Component suggestion tooltips in AsyncTabCompleteEvent (#5504) 2021-05-07 16:12:03 -07:00
Jason Penilla
e57a4cbe72 Use JsonSerializationContext#serialize instead of recursion for AdventureComponents - fixes #5580 and #5371 2021-05-06 03:32:52 -07:00
Jason Penilla
57b254d94f Return after sending empty commands (#5586) 2021-05-06 16:25:29 -07:00
Shane Freeder
084ee854f8 Fix missing CraftMetaBook#toBuilder override 2021-05-06 17:27:19 +01:00
HexedHero
28d6fe5def Add more Wandering Trader API (#5020) 2021-05-06 15:26:50 +01:00
Shane Freeder
b9ab5132c3 fix isProxyOnlineMode coverage, don't lookup UUIDs in offline mode (Fixes #2011) 2021-05-05 03:54:42 +01:00
Shane Freeder
eccfbfe377 Send empty commands if tab completion is disabled (Closes #5519)
Because this is a trivial fix to an annoying issue people are annoying
about, but, really, stop punishing your players for your own insecurities.
2021-05-05 03:22:32 +01:00
Nassim Jahnke
16d00c1e9f Keep moveToWorld with old method signature 2021-05-04 11:55:29 +02:00
Automated
96000fc0c3 [CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-05-02 15:37:24 -04:00
HexedHero
1f0ec5a3f4 Drop unneeded portal patch (#5566) 2021-05-02 20:33:17 +01:00
Automated
eed01ed6f0 [Auto] 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:
95544a2da SPIGOT-6350: Fix wrong portal block place order
2021-05-02 05:07:27 -04:00
Spyros (Spyridon) Pagkalos
59b99675f4 Add beacon activation and deactivation events (#5121) 2021-04-30 17:15:00 +03:00
Nassim Jahnke
9cf8e67706 Add internal channel initialization listeners (#5557) 2021-04-30 15:47:45 +02:00
Jake Potrebic
6d9b44cecb Add RespawnFlags to PlayerRespawnEvent (#5533) 2021-04-30 00:47:10 -07:00
Jake Potrebic
8fb1ea9e2d Updated Upstream (Spigot) (#5550)
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

Spigot Changes:
4225eac0 SPIGOT-6423: Improve IP forwarding
2021-04-27 16:38:35 -07:00
Jake Potrebic
516a8cf544 Updated Upstream (Bukkit/CraftBukkit) (#5549)
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:
80ece5de Remove old draft API tags
8523fa23 #604: Add Contract annotation to ConfigurationSection
dd8edaa7 #603: Specify what velocity changes in javadocs

CraftBukkit Changes:
0d86921e SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
2021-04-27 08:51:42 -07:00
HexedHero
927897bd57 Fix anchor respawn acting as a bed respawn when using the end portal (#5540) 2021-04-25 09:45:34 +01:00
Jason Penilla
1da2f0afbc Implement methods to convert between Component and Brigadier's Message (#5542) 2021-04-24 15:16:41 -07:00
Jake Potrebic
c2b9df245c Add PlayerBedFailEnterEvent (#4935) 2021-04-24 04:38:08 -07:00
Jake Potrebic
98eb2c8d94 [CI-SKIP] Remove bad null annotation (#5538) 2021-04-23 14:08:56 -07:00
Jake Potrebic
99eeb79087 More World API (#3850) 2021-04-23 13:57:13 -07:00
Jake Potrebic
b7b72bc15f Add PlayerDeepSleepEvent (#5525) 2021-04-23 12:27:39 -07:00
Jake Potrebic
02867ba131 fix non-dummy objectives not updating 2021-04-22 21:43:56 -07:00
Owen1212055
89e4cfa6de Add missing checkReachable check for shulker boxes (#5453) 2021-04-23 10:25:57 -04:00
Jake Potrebic
accd70d21f Fix PlayerItemHeldEvent firing twice (#5534)
Co-authored by: chickeneer <emcchickeneer@gmail.com>
2021-04-23 06:57:15 -07:00
Gergely Sarkozi
b20b05e631 fix PigZombieAngerEvent cancellation (fixes #5319) (v2) (#5329) 2021-04-23 15:06:36 +02:00
Jake Potrebic
911c94db70 Add get-set drop chance to EntityEquipment (#5528) 2021-04-23 03:11:28 -07:00
Jake Potrebic
3db3f8e72d Add consumeFuel to FurnaceBurnEvent (#5532) 2021-04-23 03:04:19 -07:00
Alphaesia
b1d73c6a4c Fix duplicating /give items on item drop cancel (#5536) 2021-04-23 21:36:34 +12:00
Prof-Bloodstone
27c8f8cf70 Fix legacyComposer not using AsyncChatEvent messages (#5509) 2021-04-22 20:28:22 +02:00
sulu5890
23b028a34f Don't print spawn load time when not loading spawn (#5467) 2021-04-22 11:54:11 -05:00
Jake Potrebic
08d5c44532 Add isDeeplySleeping to HumanEntity (#5470) 2021-04-22 09:32:40 -07:00
Jason Penilla
bf974a611b Expose more Adventure serializers through PaperComponents (#5443) 2021-04-22 05:48:49 -07:00
Owen1212055
9285c76055 Set Area Effect Cloud Rotation (#5462) 2021-04-22 07:43:58 -04:00
Owen1212055
fe208075ab Remove useless check on player interact cancellation (#5448)
This removes the BlockFlowerPot check that most likely was used when it was a tile entity.
2021-04-22 05:23:57 -04:00
Riley Park
e4e3475ac3 fix #5526 - use correct type when sending message to clients 2021-04-21 18:31:45 -07:00
Shane Freeder
2b12d671fa don't throw when loading TE with invalid keys 2021-04-21 20:05:50 +01:00
Spottedleaf
e877697d29 Do not schedule poi task for each block write on chunk gen
Most of the time optional == optional1, so we shouldn't
schedule a task for each write.
2021-04-21 20:04:42 +01:00
Shane Freeder
3e0a36dbbd Fix dangling sout 2021-04-18 22:12:09 +01:00
Shane Freeder
3007bdc020 basic hostname validation 2021-04-18 21:47:01 +01:00
MiniDigger | Martin
f3727ff757 Updated Upstream (Bukkit/CraftBukkit) (#5508)
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:
14883d6b SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API

CraftBukkit Changes:
115244c7 SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
2021-04-18 11:02:48 +02:00
chickeneer
2ca0bd1368 Fix PlayerItemConsumeEvent cancelling (fixes #4682) (#5383) 2021-04-17 01:54:49 -05:00
Jason Penilla
42b4fbf53f Add support for tab completing and highlighting console input from the Brigadier command tree (#5437) 2021-04-16 23:37:51 -07:00
MiniDigger | Martin
82a0f5a11f Fix occasional light gen issues for neighbor blocks (#5500)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-04-16 17:55:10 +02:00
froobynooby
ab75d99f1c Update the view distance before scheduling chunk loads (#5269) 2021-04-15 18:21:27 +09:30
Nassim Jahnke
6190c17845 Expose server protocol version (#5416) 2021-04-12 19:45:58 +02:00
Shane Freeder
dcdfac1f8c remove l4j class no longer in existence from preload list 2021-04-12 05:16:16 +01:00
Josh Roy
730eb6c014 Updated Upstream (CraftBukkit) (#5484)
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:
6b8cd9a7 SPIGOT-6207: forcibly drop the items of a converted zombie villager
2021-04-11 21:03:08 -04:00
Simon Gardling
90f7263390 Bump mysql-connector-java to 8.0.23 (Fixes #5473) (#5474) 2021-04-11 13:35:46 -04:00
Octavia Togami
9e67637c69 Update log4j to 2.11.2 for JDK 9+ compat (#5400) 2021-04-11 10:07:39 -07:00
Jake Potrebic
11b10106ee 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:
b302317a SPIGOT-5877: Add scaffolding for custom dimensions and biomes
ccccb625 SPIGOT-6417: Add Creeper fuse ticks API

CraftBukkit Changes:
0e26ddb6 SPIGOT-5877: Add scaffolding for custom dimensions and biomes
170d6feb SPIGOT-6417: Add Creeper fuse ticks API
2021-04-11 01:49:43 -07:00
Automated
c06734ee89 [Auto] 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:
c85efa876 SPIGOT-6414: Use ASM9 API to add support for sealed classes
2021-04-07 04:57:26 -04:00
Automated
8cccd125e7 [Auto] 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:
221aed6cf SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
721c4966b SPIGOT-6411: The PlayerEditBookEvent is not called when the player edits a book in the off-hand.
be0e94581 Add mc-dev imports

Spigot Changes:
a25e8ed2 Remove mc-dev imports
2021-04-07 01:17:32 -04:00
Jason Penilla
5c3dff17f2 Fix PlayerEditBookEvent (#5463) 2021-04-05 18:46:31 -07:00
Professor Bloodstone
1444373492 Send post ChatEvent messages as MessageType.CHAT
Fixes narrator issue #5450
2021-04-04 22:43:11 +02:00
Automated
6508b69da9 [Auto] 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:
b530534f0 Remove some outdated PAIL comments
2021-04-04 03:22:27 -04:00
Spottedleaf
6ba2828aeb Prevent light queue overfill when no players are online 2021-04-01 16:33:36 +01:00
Gergely Sarkozi
72ad57c599 forced whitelist: use configuable kick message (fixes #5417) (#5418) 2021-03-31 08:15:12 +02:00
Riley Park
ee9fab24e7 bug #5432 - post modern event even if legacy event is cancelled
fixes #5432
2021-03-29 19:20:10 -07:00
Jason Penilla
ed27c9d52c Remove from Map by key 2021-03-29 02:50:01 -07:00
Spottedleaf
0336df461a Make sure to remove correct TE during TE tick
See Hydra, March 29th 2021.
2021-03-29 09:08:29 +02:00
Leijurv
012a401d1e Optimize short circuit evaluation of sign check (#5348) 2021-03-25 18:52:46 -10:00
Dmitry Sidorov
24c27bdb18 Drop carried item when player has disconnected (#5036) (#5166) 2021-03-26 07:21:24 +03:00
Jason Penilla
8d7a6d9c89 Use PaperAdventure.PLAIN instead of PlainComponentSerializer.plain() for AdventureComponent#getString (#5414) 2021-03-25 17:01:59 -07:00
Shane Freeder
68f0738631 Properly apply Sign#isEditable to TEs when calling BlockState#update 2021-03-23 06:46:54 +00:00
Riley Park
43a6e9e19c Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Shane Freeder
7fb24d323a 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:
7eb35643 SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
2021-03-19 23:27:53 +00:00
Jason Penilla
786afba088 Only set despawnTimer for Wandering Traders spawned by MobSpawnerTrader (#5391)
Upstream recently broke this when they exposed despawnTimer to API.
2021-03-19 16:19:28 -07:00
Jason Penilla
6d452f1f7f Fix VanillaMobGoalTest#testBukkitMap (#5390) 2021-03-19 15:21:54 -07:00
Mariell Hoversholm
8bafc17d67 apply fixup
I managed to move it, yet forgot to actually fix it up...
2021-03-19 07:50:12 +01:00
Mariell Hoversholm
4ff6e86500 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:
4e5f46cb Update ASM version

CraftBukkit Changes:
d54b500d Prepare for Java 16
2021-03-17 17:37:12 +01:00
Mariell Hoversholm
597f326302 wtf is this t file -jmp 2021-03-17 11:18:04 +01:00
Mariell Hoversholm
2d21a9f100 fix compile 2021-03-17 10:47:08 +01:00
Mariell Hoversholm
61ccf4bd87 rebase 2021-03-17 10:20:38 +01:00
Mariell Hoversholm
1ecd8a1ca7 script & POM fix 2021-03-16 19:41:20 +01:00
Mariell Hoversholm
2d847f7478 Actually fix preloading this time 2021-03-16 17:51:13 +01:00
Mariell Hoversholm
3052fe18f6 Fix class preloading 2021-03-16 17:47:15 +01:00
Mariell Hoversholm
9214bd49ba Apply fixups 2021-03-16 17:37:33 +01:00
Mariell Hoversholm
6ea816d217 Welcome to 1.16.5-R0.2 2021-03-16 17:09:07 +01:00
Mariell Hoversholm
c9ba11e0fc more work 2021-03-16 17:00:33 +01:00
Mariell Hoversholm
0750bfaf8c It compiles 2021-03-16 16:50:45 +01:00
Mariell Hoversholm
908c938d0c More work 2021-03-16 14:04:28 +01:00
Jason Penilla
062733b903 Updated Upstream (CraftBukkit/Spigot)
Doesn't compile yet.

CraftBukkit Changes:
90d6905b Repackage NMS
69cf961d Repackage patches

Spigot Changes:
79d53c28 Repackage NMS
2021-03-16 00:19:45 -07:00
Riley Park
8b1e661370 bug #5373 - fix AsyncChatEvent not being posted when processing a legacy APCE continuation 2021-03-16 11:57:34 -07:00
stonar96
797fc746d0 Replace all block states of a specified block (#5055)
Up to now Anti-Xray did only replace blocks that have the default block
state of the specified blocks in hidden-blocks (engine-mode: 1) or
hidden-blocks and replacement-blocks (engine-mode: 2). Therefore it wasn't
possible to replace for example chests facing south because chest refers to
the default block state facing north. Supporting block states in these lists
is overkill. Instead this commit makes Anti-Xray to replace all block states
of a specified block. However, Anti-Xray will still place the default block
states.
2021-03-16 01:40:57 +01:00
Automated
11b21a19c3 [Auto] 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:
2ffdb31ec Use upstream plexus-compiler-eclipse
2021-03-15 02:57:17 -04:00
Riley Park
727e71ad0f bug #5362 - correctly pass "render type" when registering a new scoreboard objective
fixes #5362
2021-03-14 12:04:49 -07:00
Jake Potrebic
be423b993b Add per-command perms for paper command 2021-01-05 13:25:45 -08:00
Jake Potrebic
019f1bff24 Add Item Rarity API (#5352) 2021-03-12 17:27:48 -08:00
Irmo van den Berge
b2e6c8941b Add fast alternative constructor for Vector3f (#5339)
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2021-03-10 22:14:52 +01:00
Riley Park
1649b53e54 fix #5336 2021-03-10 11:09:23 -08:00
Trigary
32f7b1fa11 fix patch 'Remove streams from SensorNearest' (fixes #5330) 2021-03-10 12:24:20 +01:00
Jason Penilla
e59776a02e Use Adventure for /version command feedback, add copy to clipboard click event (#5333) 2021-03-09 20:56:13 -08:00
Jake Potrebic
a7ed5db4ec Implement Keyed on World 2021-01-06 00:35:50 -08:00
Automated
eb89c87a91 [CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-03-09 14:07:11 -05:00
Anton Lindroth
6bf13b5e98 Allow signs that are inside of the spawn protection to be right clicked
to use their run_command tag
2020-04-15 02:25:35 +02:00
Jake Potrebic
02c234f0a0 Add Block#isValidTool 2020-07-06 12:46:55 -07:00
Jake Potrebic
ddbf97839e Add recipe to cook events 2021-01-06 12:06:00 -08:00