Commit graph

6500 commits

Author SHA1 Message Date
Jake Potrebic
25edfe58b2
Remove unneeded component conversion for kick msg (#5626) 2021-05-14 12:52:03 +00:00
Jake Potrebic
cec386f66c
Call PortalCreateEvent when players enter the end (#5618) 2021-05-14 12:43:41 +00:00
Jason
453c7f05c7
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
4efe8b498b
Update Java version warning (#5621) 2021-05-12 15:58:21 +02:00
Jake Potrebic
e0a021ccc6
Add ItemStack#getTranslationKey() (#5616) 2021-05-12 13:12:28 +02:00
Owen1212055
53d71b7179
Add setPotionUseTimeLeft to Witch (#5597) 2021-05-12 09:45:06 +00:00
Jake Potrebic
239935d183
Add Inventory#close (#5610) 2021-05-12 11:39:22 +02:00
Jake Potrebic
29bf6cd416 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 11:26:31 +02:00
Connor Linfoot
ad45f316cd
Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 10:57:54 +02:00
Aikar
28865335a5
[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
750049fa2b
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
c5fa3f0d4c
Add Adventure message to PlayerAdvancementDoneEvent (#5030)
* Add Adventure message to PlayerAdvancementDoneEvent

* Add obfuscation helpers

* Renumber patches
2021-05-10 17:56:36 -07:00
Jake Potrebic
69c09cdb00
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-11 00:22:11 +01:00
Owen1212055
b3cc88799f
Add the ability to clear entities from block storage (#5598) 2021-05-10 07:33:39 +00:00
Jake Potrebic
f50171f3bb
Add missing rarity method on ItemStack (#5594) 2021-05-10 07:25:35 +00:00
Jake Potrebic
aeb6e7dd25
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 21:50:09 +01:00
Gergely Sarkozi
b0a4f353b9
fix cancelling block falling causing client desync (fixes #5386) (#5419) 2021-05-09 21:40:50 +01:00
Jason
8ed45920cf
Don't annotate type parameters using JetBrains annotations (#5600) 2021-05-09 02:36:53 +00:00
TwoLeggedCat
d7625d926d
Add new methods from PlayerMoveEvent to EntityMoveEvent (#5591) 2021-05-08 10:25:30 +02:00
Jason
29785297b5
Allow for Component suggestion tooltips in AsyncTabCompleteEvent (#5504) 2021-05-07 23:12:03 +00:00
jmp
0aea6c2ff3 Use JsonSerializationContext#serialize instead of recursion for AdventureComponents - fixes #5580 and #5371 2021-05-07 00:49:41 -07:00
Jason
8fcef3c1f6
Return after sending empty commands (#5586) 2021-05-07 00:25:29 +01:00
Shane Freeder
2a67a9e512
Fix missing CraftMetaBook#toBuilder override 2021-05-06 17:37:09 +01:00
HexedHero
48aa061063
Add more Wandering Trader API (#5020) 2021-05-06 16:26:50 +02:00
Andrew Steinborn
8cec462a5f
[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 09:17:14 +02:00
Prof-Bloodstone
21fbc31963
[CI-SKIP] Add Other textarea to issue templates (#5562) 2021-05-05 04:00:10 +01:00
Shane Freeder
453e983e4b
fix isProxyOnlineMode coverage, don't lookup UUIDs in offline mode (Fixes #2011) 2021-05-05 03:54:42 +01:00
Shane Freeder
81cc4f9280
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
KennyTV
9ed3e470d9 Keep moveToWorld with old method signature 2021-05-04 12:34:12 +02:00
Aikar
99a66a5838
[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
Aikar
976c6d425b
[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
51deec726e
Drop unneeded portal patch (#5566) 2021-05-02 19:33:17 +00:00
Aikar
07a18c4579
[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
Aikar
6733d78753
[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
Aikar
9958447cba
[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
Aikar
840e72091f
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-04-30 10:17:21 -04:00
Spyros (Spyridon) Pagkalos
a33232d4a6
Add beacon activation and deactivation events (#5121) 2021-04-30 10:15:00 -04:00
Nassim
bc7ea673a1
Add internal channel initialization listeners (#5557) 2021-04-30 09:47:45 -04:00
KennyTV
b28ad17ac9 Check for world change in MoveEvent API methods 2021-04-30 15:30:06 +02:00
Aikar
3095c75921
[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
f56989c97d
Add RespawnFlags to PlayerRespawnEvent (#5533) 2021-04-30 09:47:10 +02:00
HexedHero
7579c26678
Add more API to PlayerMoveEvent (#5553) 2021-04-30 09:32:50 +02:00
Aikar
ef60c01c4d
[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
Aikar
0256dbea38
[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
91ef740292
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-28 00:38:35 +01:00
Jake Potrebic
fdf2a59d59
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 16:51:42 +01:00
Aurora
b8020379c6
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
809466f2e7
Fix anchor respawn acting as a bed respawn when using the end portal (#5540) 2021-04-25 10:45:34 +02:00
Aikar
d219fd642f
[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
db464b099e
Implement methods to convert between Component and Brigadier's Message (#5542) 2021-04-24 18:16:41 -04:00