Commit graph

885 commits

Author SHA1 Message Date
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
MeFisto94
2f5124f890 Add a "Should Burn in Sunlight" API for Phantoms and Skeletons (#5608) 2021-05-14 15:09:30 +02: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
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
Connor Linfoot
548199e891 Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 09:57:54 +01: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
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
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
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
Spyros (Spyridon) Pagkalos
59b99675f4 Add beacon activation and deactivation events (#5121) 2021-04-30 17:15:00 +03:00
Nassim Jahnke
bad7e5b236 Check for world change in MoveEvent API methods 2021-04-30 15:05:45 +02: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
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
Jake Potrebic
c2b9df245c Add PlayerBedFailEnterEvent (#4935) 2021-04-24 04:38:08 -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
HexedHero
63081dce92 Add missing Javadoc for COLORABLE MaterialTag (#5376)
* Add buttons materialtag and comment for colorable with some format fixes
2021-04-23 15:11:30 +01: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
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
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
Nassim Jahnke
6190c17845 Expose server protocol version (#5416) 2021-04-12 19:45:58 +02: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
Jason Penilla
6062ab46f1 [CI-SKIP] Drop Allow PlayerEditBookEvent to fire for off hand (#5471)
Upstream fixed this in a different way (using -1 for off hand instead of the real slot id...) so this patch is no longer needed.
2021-04-08 21:54:18 -07:00
Jason Penilla
5c3dff17f2 Fix PlayerEditBookEvent (#5463) 2021-04-05 18:46:31 -07:00
Jason Penilla
a12e69774f Add checkerframework nullness annotations to accepted list for AnnotationTest (#5409)
Also use checkerframework annotations instead of jetbrains ones for Inventory#getContents as jetbrains ones do not allow properly annotating the nullability of an array and it's contents.
2021-03-24 03:02:32 -07:00
Bartosz Stefańczyk
4a1f5cb85e Fix annotations so Inventory#getContents returns non-null array with nullable type (#5350) 2021-03-23 15:51:08 +01:00
Shane Freeder
eac81f6960 replace spaces in world key (touches #5397) 2021-03-22 01:10:13 +00:00
Riley Park
43a6e9e19c Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Jason Penilla
a724816abb Deprecate ItemStack#setLore(List<String>) and ItemStack#getLore, add Component based alternatives 2021-03-18 22:04:54 -07: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
Josh Roy
55421b2226 Updated Upstream (Bukkit) (#5359)
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:
c589f546 Use upstream plexus-compiler-eclipse
2021-03-14 15:35:51 -04:00
Jake Potrebic
019f1bff24 Add Item Rarity API (#5352) 2021-03-12 17:27:48 -08: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
Shane Freeder
f33a17faf7 Fix creating worlds with "invalid" names (Fixes #5331) 2021-03-09 21:06:09 +00:00
Jake Potrebic
a7ed5db4ec Implement Keyed on World 2021-01-06 00:35:50 -08: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
Riley Park
0eaa2dd444 Use implementation-provided legacy serializer for events 2021-03-08 17:11:17 -08:00