Commit graph

958 commits

Author SHA1 Message Date
Jake Potrebic 7989028a53
More Enchantment API (#5588) 2021-05-18 11:30:19 +02:00
Jake Potrebic c0cb5c129c
Adds methods for checking item repairability (#5651) 2021-05-18 10:57:33 +02:00
Jake Potrebic 979135878c
Add cause and cancel message to PlayerGameModeChangeEvent (#5638) 2021-05-18 10:35:39 +02:00
Emily 1514576281
Fix Counter#decrement recursive call (#5665) 2021-05-17 18:19:02 +00:00
Nassim 6ecbe57765
Rename leftover resource->datapack (#5662) 2021-05-17 07:59:20 +01:00
Connor Linfoot c639a52a69
Add basic Datapack API (#5653) (#5653) 2021-05-16 16:09:46 -04:00
Jake Potrebic cb896d4710
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 22:52:07 +00:00
Shane Freeder ecbf5a38e5
Revert "Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)"
This reverts commit 20fc4ab700.
2021-05-15 22:10:57 +01:00
Jake Potrebic 20fc4ab700
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 21:36:15 +01:00
MeFisto94 cd6ae8816e
Add a "Should Burn in Sunlight" API for Phantoms and Skeletons (#5608) 2021-05-14 13:09:30 +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
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
Connor Linfoot ad45f316cd
Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 10:57:54 +02: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
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
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
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
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
KennyTV b28ad17ac9 Check for world change in MoveEvent API methods 2021-04-30 15:30:06 +02: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
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
Jake Potrebic 4047cffca8
Add PlayerBedFailEnterEvent (#4935) 2021-04-24 11:38:08 +00:00
Jake Potrebic 454a4c78ee
More World API (#3850) 2021-04-23 22:57:13 +02:00
Jake Potrebic 869e023048
Add PlayerDeepSleepEvent (#5525) 2021-04-23 19:27:39 +00:00
HexedHero ba8eb3d4b7
Add missing Javadoc for COLORABLE MaterialTag (#5376)
* Add buttons materialtag and comment for colorable with some format fixes
2021-04-23 16:11:30 +02:00
Jake Potrebic 86d684ad19
Add get-set drop chance to EntityEquipment (#5528) 2021-04-23 10:11:28 +00:00
Jake Potrebic 33fb8cf63c
Add consumeFuel to FurnaceBurnEvent (#5532) 2021-04-23 12:04:19 +02:00
Jake Potrebic a6d78caae6
Add isDeeplySleeping to HumanEntity (#5470) 2021-04-22 16:32:40 +00:00
Jason 711b7a80bf
Expose more Adventure serializers through PaperComponents (#5443) 2021-04-22 14:48:49 +02:00
Aikar fbae9dbe07
[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:
2b8fb83f #601: Add Block#isPreferredTool

CraftBukkit Changes:
9db9aeece #823: Add Block#isPreferredTool
2021-04-21 03:42:33 -04:00
MiniDigger | Martin 0fb8bdf0e0
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 09:02:48 +00:00
Aikar 8a29f58942
[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:
9477fa26 #597: Implemented Material#getEquipmentSlot() method

CraftBukkit Changes:
35124087d #819: Implemented test for Material#getEquipmentSlot() method
2021-04-13 05:27:34 -04:00
Nassim 8756d232c6
Expose server protocol version (#5416) 2021-04-12 17:45:58 +00:00
Jake Potrebic a981965852 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 11:16:40 +02:00
Jason d8e384a164
[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-09 04:54:18 +00:00
Jason dc529c7a93
Fix PlayerEditBookEvent (#5463) 2021-04-06 01:46:31 +00:00
Aikar f7b4abb259
[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:
15ba9ae7 SPIGOT-6357: Add World#getMinHeight

CraftBukkit Changes:
e9ad7cba9 SPIGOT-6357: Add World#getMinHeight
2021-03-28 04:42:30 -04:00
Jason 6caa330c61
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
Aikar 7259c32bac
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-03-23 10:57:27 -04:00
Bartosz Stefańczyk 0e06e912ec
Fix annotations so Inventory#getContents returns non-null array with nullable type (#5350) 2021-03-23 14:51:08 +00:00
Shane Freeder bca97a8f73
replace spaces in world key (touches #5397) 2021-03-22 01:10:13 +00:00