Commit Graph

948 Commits

Author SHA1 Message Date
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
Riley Park
de94f64850
Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
jmp
087aa70e7c Deprecate ItemStack#setLore(List<String>) and ItemStack#getLore, add Component based alternatives 2021-03-19 10:00:35 +01:00
Mariell Hoversholm
c310f0a610 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-18 18:03:22 +01:00
Josh Roy
8c74d31264
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 19:35:51 +00:00
Jake Potrebic
cdbf2578c0
Add Item Rarity API (#5352) 2021-03-13 01:27:48 +00:00
Jason
4d287e31cc
Use Adventure for /version command feedback, add copy to clipboard click event (#5333) 2021-03-09 20:56:13 -08:00
Shane Freeder
eb11845f87
Fix creating worlds with "invalid" names (Fixes #5331) 2021-03-09 21:06:09 +00:00
Jake Potrebic
e4d8a6279c Implement Keyed on World 2021-03-09 20:26:45 +01:00
Jake Potrebic
c229f90c1a Add Block#isValidTool 2021-03-09 19:38:40 +01:00
Jake Potrebic
20e709c1d6 Add recipe to cook events 2021-03-09 19:22:19 +01:00