Commit Graph

57 Commits

Author SHA1 Message Date
3f1ea3f769 More patches 2022-06-07 21:15:06 +02:00
b31be0569d First server patches 2022-06-07 20:12:34 +02:00
1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
693f001b92 Make leave messages for kicks the same as for quitting (#7874) 2022-06-05 17:13:35 +09:30
5ba2f654eb Fix some nullability things (#7275) 2022-06-02 21:42:00 -07:00
62f8950e86 Add default kick msg component (#6886) 2022-05-31 23:20:12 -07:00
a093b95db2 Provide ComponentSerializer services (#7527) 2022-05-26 12:12:14 -07:00
e8ad5b0aa4 team color parameter may be null, causing NPE 2022-05-21 11:27:12 +02:00
6a846e2c40 Use setMessage instead of arraycopy
setMessage affects messages, filteredMessage, and renderMessages, we were only doing an arraycopy for messages

fixes #7774
2022-04-28 19:51:06 -07:00
ea12aebb11 Fix some team color docs and added hasColor (#7602) 2022-04-23 18:37:10 -07:00
d3087536e9 Updated Upstream (Bukkit/CraftBukkit) (#7604)
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:
33a2b476 PR-734: Make PlayerInventory#getItem Nullable

CraftBukkit Changes:
953d3ddc SPIGOT-3034: PlayerKickEvent.setLeaveMessage(String) doesn't actually do anything
2c47af0c SPIGOT-6963: CraftMetaBlockState#getBlockState applied TileEntity ids without the minecraft namespace prefix.
2022-03-16 08:57:51 -07:00
372f051008 Fix scoreboard objective name length limit 2022-03-06 16:32:33 +01:00
7c5b21d9d3 Move Adventure patch up 2022-03-04 13:19:57 -08:00
ee8cb0111c Adventure 4.10.0 2022-02-28 13:38:23 -08:00
da03d4a1bc Initial 1.18 update 2022-02-28 22:43:03 -07:00
e989331cd4 Fix custom inventory holders (#6199) 2022-02-22 15:00:45 -08:00
2f49bcb7a2 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7480)
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:
8d818032 PR-723: Add Furnace#getRecipesUsed
d7b5a313 PR-726: Add Particle dataTypes to javadocs
72fe8b71 PR-724: Add PDC to World

CraftBukkit Changes:
c0326c28 PR-1009: Add Furnace#getRecipesUsed
cc5ddd79 PR-1010: Add PDC to World
6a54e5d3 PR-1012: Always save as skull owner and not as internal data

Spigot Changes:
699290cd Rebuild patches
2022-02-15 11:30:58 +01:00
a9e4b937c0 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7454)
* Updated Upstream (Bukkit/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

Bukkit Changes:
8085edde SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
04c7e13c PR-719: Add Player Profile API
71564210 SPIGOT-6910: Add BlockDamageAbortEvent

CraftBukkit Changes:
febaa1c6 SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
9dafd109 Don't send updates over large distances
bdac46b0 SPIGOT-6782: EntityPortalEvent should not destroy entity when setTo() uses same world as getFrom()
8f361ece PR-1002: Add Player Profile API
911875d4 Increase outdated build delay
e5f8a767 SPIGOT-6917: Use main scoreboard for /trigger
a672a531 Clean up callBlockDamageEvent
8e1bdeef SPIGOT-6910: Add BlockDamageAbortEvent

Spigot Changes:
6edb62f3 Rebuild patches
7fbc6a1e Rebuild patches

* 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:
de951355 SPIGOT-6927: Fix default value of spawn-limits in Worlds
2022-02-12 14:20:33 +01:00
13786438fc Fix filtered text not being applied on sign update
Fixes #7266
2022-01-03 10:17:27 +01:00
a36a4e2018 Updated Upstream (Bukkit/CraftBukkit/Spigot) 2021-12-31 19:05:42 -08:00
cc1f56d99e Fix ABI breakage for plainSerializer (#7178) 2021-12-22 17:56:37 -05:00
0df83e38b7 Adventure changes for Java 17 and Component support for resourcepack prompt 2021-12-21 23:07:17 -08:00
0e985b7b3b Update to 1.18.1 (#7076) 2021-12-10 15:24:07 +01:00
fda4e8e392 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:
35d3986e Disable log4j message formatting
040e0c3b Increase outdated build delay
2021-12-09 21:59:59 +01:00
a6fdccf802 Updated Upstream (Bukkit/CraftBukkit) (#7022) 2021-12-04 23:11:59 -08:00
e70c4bc478 More work 2021-11-23 12:27:39 +01:00
ed6d43ddb0 Prepare for updating server patches 2021-11-23 00:57:41 -08:00
a9214f2d63 Update paperweight to 1.2.0 (#6901) 2021-11-16 21:00:14 -08:00
871bc4e895 Use ChatRenderer.defaultRenderer() when legacy events have not modified the format (#6104) 2021-10-13 04:00:40 -05:00
0d074fcfc9 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6722) 2021-10-04 22:14:11 -05:00
61252d4a4b Make legacyRenderer a ViewerUnaware renderer (#6691) 2021-10-02 13:43:03 -05:00
6ef714345f Updated Upstream (Bukkit/CraftBukkit) (#6638) 2021-10-02 10:21:49 -07:00
150389bf71 More CommandBlock API (#5746) 2021-09-30 14:28:02 -07:00
cff53e785d Adventure 4.9.1 (#6634)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2021-09-23 22:07:44 +01:00
7ab005b9c2 Add more component name methods (#6578) 2021-09-22 11:34:40 -07:00
4433d23cc1 Prevent an infinite recursion error while rendering translatables (Fixes #6551) (#6555) 2021-09-03 10:01:05 -07:00
fa43132643 flattener should try to render custom translations (#6540) 2021-09-01 14:03:00 -07:00
17600721ea [ci skip] Remove this file that got created somehow (#6489) 2021-08-26 09:49:32 -07:00
037884fc65 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6379)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2021-08-13 10:08:34 -07:00
7df3240f80 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:
e0598aa2 SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter

CraftBukkit Changes:
2cdc6b1e4 SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter
2021-08-05 21:53:50 +02:00
68db0c9853 Support complex components in written book builder (#6337)
The previously existing toBuilder method defined on the CraftMetaBook
would, no matter if called on a writable or written book, return a
builder targetting a writable book, in which complex components, such as
hover or click text are not allowed.

The builer hence serializes the page components using LEGACY_UXRC to
ensure only colour may be passed. While this works as intented for
writable books, the builder fails to fully support the complex
components that may be used in a written book.

This commit implemements a child class of the CraftMetaBookBuilder, the
CraftMetaBookSignedBuilder, which builds to a CraftMetaBookSigned
instance and hence serializes the pages to json.
This builder instance is automatically supplied when calling toBuilder
on a CraftMetaBookSigned instance.

Resolves: #6296
2021-08-09 00:57:20 +02:00
e51f909450 Fix incorrect colors in ConsoleCommandSender messages with TranslatableComponents (#6287) 2021-08-03 10:48:34 +03:00
7dc5d71367 Move "use-display-name-in-quit-message" to settings namespace (#6257) 2021-07-26 01:11:44 +02:00
zml
fc90f774bc Fix book title and author being improperly serialized as components (#6190)
They are kept as plain strings
Additional validation has been added to prevent invalid books from being
sent to the client.
2021-07-19 16:11:06 -07:00
7037cd401f Update to Minecraft 1.17.1 (#6097) 2021-07-07 08:52:40 +02:00
1d6b275814 Fix Bossbar updating (closes #6061) (#6076) 2021-07-03 16:26:13 -07:00
5a5d27f6a1 Fix NPE when using broadcast as players are joining 2021-06-29 22:21:42 +01:00
41acf2c279 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5904)
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:
70d24eb8 SPIGOT-6587: Update documentation/error of drop chance API

CraftBukkit Changes:
470050ad SPIGOT-6587: Update documentation/error of drop chance API
1c39efa3 Fix Inventory#getViewers on the player inventory not returning the player first time their inventory is opened
d161627d Fix PrepareItemCraftEvent#isRepair
aa1fae73 SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly
8a04072e SPIGOT-6583: Throwing eggs doesn't make sounds

Spigot Changes:
f773da84 Remove redundant patch
cd367234 Rebuild patches
2021-06-20 21:25:59 +02:00
166760a713 Remove chat event APIs marked as deprecated for removal with 1.17 2021-06-18 15:47:40 -07:00
a486d2eccf nuke a few more obfhelpers 2021-06-17 21:37:37 +02:00