Commit Graph

3150 Commits

Author SHA1 Message Date
Jake Potrebic c8fec2dde2 Fix/Optimize world and light datafixes (#5693)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-05-20 17:31:08 -07:00
Shane Freeder a0838b17c2 Revert "Remove itneract event from boat" (Fixes #5677) 2021-05-19 13:38:40 +01:00
Jason Penilla a3b68be22d Add command line option to load extra plugin jars not in the plugins folder
ex: java -jar paperclip.jar nogui -add-plugin=/path/to/plugin.jar -add-plugin=/path/to/another/plugin_jar.jar
2021-05-18 15:17:24 -07:00
Riley Park 7f734a18b7 Avoid NPE due to PlayerBedFailEnterEvent
fixes #5670
2021-05-18 08:57:17 -07:00
Jake Potrebic 537bd9de29 removed duplicate ProjectileHitEvent for fireball (#5671) 2021-05-18 08:54:12 -07:00
Jake Potrebic 9df8439b8b More Enchantment API (#5588) 2021-05-18 02:30:19 -07:00
Jake Potrebic 3f70a3b938 Adds methods for checking item repairability (#5651) 2021-05-18 01:57:33 -07:00
Jake Potrebic 92f3f280d4 Actually use extended/ambient in BeaconEffectEvent (#5647) 2021-05-18 01:43:46 -07:00
Jake Potrebic 17f3b919ea Add cause and cancel message to PlayerGameModeChangeEvent (#5638) 2021-05-18 01:35:39 -07:00
LemonCaramel 8d9e0760aa Fix Adventure support in UnknownCommandEvent (#5664) 2021-05-18 13:54:25 +09:00
Riley Park 2af6b3a45b Add environment variable (PAPER_DISABLE_SERVER_GUI) to disable server gui 2021-05-17 00:39:56 -07:00
Nassim Jahnke 54608e4fe2 Rename leftover resource->datapack (#5662) 2021-05-17 08:59:20 +02:00
Riley Park 2d83abfdc1 I give up on trying to teach people to avoid the incorrect ways. 2021-05-16 23:54:43 -07:00
Kacper Płażewski 282e51eda2 Fix missing username console death message (#5654) (#5658) 2021-05-17 00:31:40 +02:00
Connor Linfoot f9c3d93f76 Add basic Datapack API (#5653) (#5653) 2021-05-16 21:09:46 +01:00
Nassim Jahnke a47ab2dc89 Updated Upstream (CraftBukkit) (#5652)
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:
5b0e2d2d Move additional dependencies to runtime scope
2021-05-16 18:35:49 +02:00
Owen1212055 93651408a6 Remove boat interaction event (Fixes #5539) 2021-05-16 06:08:31 -04:00
Jake Potrebic 58831efcc7 fix WorldSaveEvent not firing with /save-all (#5650) 2021-05-15 21:51:19 -07:00
Jake Potrebic 8a288222ce remove unneeded patch (#5641) 2021-05-15 16:42:36 -07:00
Riley Park 455f6bc8c3 Activate warning by default when people are doing silly things (#5642) 2021-05-15 15:56:38 -07:00
Jake Potrebic 99f376a0f0 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5643)
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:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b # 827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 15:52:07 -07:00
Shane Freeder b5488de2ba Revert "Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)"
This reverts commit 11c2ef5d2f.
2021-05-15 22:10:57 +01:00
Jake Potrebic 11c2ef5d2f Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)
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:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b #827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 13:36:15 -07:00
Sceri 2c7c2e8288 Fix CraftPotionBrewer cache (#5632) 2021-05-15 01:35:12 +05:00
MeFisto94 2f5124f890 Add a "Should Burn in Sunlight" API for Phantoms and Skeletons (#5608) 2021-05-14 15:09:30 +02:00
Jake Potrebic e1a160ad32 Remove unneeded component conversion for kick msg (#5626) 2021-05-14 05:52:03 -07:00
Jake Potrebic 94473dbc55 Call PortalCreateEvent when players enter the end (#5618) 2021-05-14 05:43:41 -07:00
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
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 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