Commit graph

5559 commits

Author SHA1 Message Date
Jason Penilla
e7d9c31b56 Add ItemStack#displayName to get the formatted display name of an ItemStack (#5628)
The display name includes formatting such as item hover event, display name (in italics if renamed in anvil), and color based on rarity.

This is what vanilla uses for give command feedback, and when an item is shown in a death message.
2021-05-12 23:16:33 -07:00
Nassim Jahnke
d44063b749 Update Java version warning (#5621) 2021-05-12 15:58:21 +02:00
Jake Potrebic
ff1d29c40b Add ItemStack#getTranslationKey() (#5616) 2021-05-12 04:12:28 -07:00
Owen1212055
c0a1161311 Add setPotionUseTimeLeft to Witch (#5597) 2021-05-12 05:45:06 -04:00
Jake Potrebic
7033766d14 Add Inventory#close (#5610) 2021-05-12 02:39:22 -07:00
Jake Potrebic
f6585dfe97 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:
51e2981b #831: Reload unloaded main worlds correctly
2021-05-12 01:07:08 -07:00
Connor Linfoot
548199e891 Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 09:57:54 +01:00
Automated
4ae9b18f67 [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:
59e2ce9b7 SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy
2021-05-11 04:42:31 -04:00
Jason Penilla
15d0644617 Fix incorrect colors in some log messages (#5609)
CraftChatMessage.fromComponent fails to take into account the style of TranslatableComponent args, causing any styling on args to be completely ignored.

Fixing this is relatively simple, however would cause behavior to deviate from upstream. This commit will fix the coloring in messages logged through MinecraftServer.LOGGER by simply using Adventure's legacy text serializer, which properly serializes TranslatableComponents and their arguments. Note that this doesn't do anything about the underlying issue of CraftChatMessage.fromComponent improperly serializing TranslatableComponents.
2021-05-10 20:47:51 -07:00
Alvinn8
693926c32d Add Adventure message to PlayerAdvancementDoneEvent (#5030)
* Add Adventure message to PlayerAdvancementDoneEvent

* Add obfuscation helpers

* Renumber patches
2021-05-11 02:56:36 +02:00
Jake Potrebic
0248c23203 Updated Upstream (CraftBukkit) (#5607)
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:
e1a6197e SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
2021-05-10 16:22:11 -07:00
Owen1212055
e3e1468b4b Add the ability to clear entities from block storage (#5598) 2021-05-10 03:33:39 -04:00
Jake Potrebic
784728bcc7 Add missing rarity method on ItemStack (#5594) 2021-05-10 00:25:35 -07:00
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
d30a6a4463 Don't annotate type parameters using JetBrains annotations (#5600) 2021-05-08 19:36:53 -07:00
TwoLeggedCat
0f71d4bcab Add new methods from PlayerMoveEvent to EntityMoveEvent (#5591) 2021-05-08 03:25:30 -05: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
Andrew Steinborn
62edbcf9db [CI-SKIP] Remove Astei from the MIT list (#5577)
* Remove myself from the MIT list

I acknowledge that prior patches will not be retroactively relicensed (which is desirable).

* Fix typo
2021-05-05 03:17:14 -04:00
Prof-Bloodstone
a323f37ceb [CI-SKIP] Add Other textarea to issue templates (#5562) 2021-05-05 05:00:10 +02: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
a04c01cb78 [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:
7ea8b96b4 #826: Make dispenser trigger fertilize event
2021-05-03 04:42:29 -04: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
Automated
33ce144ef9 [Auto] Updated Upstream (Bukkit)
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:
5eece9f8 Fix typo in BubbleColumn documentation
2021-05-01 21:57:27 -04:00
Automated
7d639232c1 [Auto] Updated Upstream (Bukkit)
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:
a030a41b SPIGOT-6443: Fix PlayerBucketFishEvent#getWaterBucket returning the wrong item
2021-04-30 18:42:24 -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
Nassim Jahnke
bad7e5b236 Check for world change in MoveEvent API methods 2021-04-30 15:05:45 +02:00
Automated
306c8c7be4 [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:
6f55b5b88 SPIGOT-6442: Do not cancel zero damage on fireballs
2021-04-30 04:12:22 -04:00
Jake Potrebic
6d9b44cecb Add RespawnFlags to PlayerRespawnEvent (#5533) 2021-04-30 00:47:10 -07:00
HexedHero
21d95677be Add more API to PlayerMoveEvent (#5553) 2021-04-30 08:32:50 +01:00
Automated
9ef243024e [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:
f3ed1ac1d SPIGOT-6430: Fix fungi tree not generating
2021-04-28 17:52:35 -04:00
Automated
ee80e7b6d2 [Auto] 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:
1c0c52ae SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API

CraftBukkit Changes:
69c8e7850 SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
2021-04-27 22:52:29 -04: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
Aurora
70d289ddbe Extract Adventure Version into a variable, add reminder to update the linked JD on the homepage (#5422) 2021-04-26 23:11:38 +02: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
Automated
71ab7f97f1 [Auto] 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:
6bff9d09 #508: Add PlayerBucketFishEvent

CraftBukkit Changes:
a8d7c94a5 SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
c5494d195 #683: Add PlayerBucketFishEvent
2021-04-24 18:47:20 -04: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
Kyle Wood
b27f69658f Update Paperpclip 2021-04-23 18:13:55 -05:00
Jake Potrebic
98eb2c8d94 [CI-SKIP] Remove bad null annotation (#5538) 2021-04-23 14:08:56 -07:00