Commit graph

867 commits

Author SHA1 Message Date
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
Riley Park
246dff9c8b Adventure 4.7.0 2021-03-08 16:44:40 -08:00
Aleksander Jagiello
29b3f9b2bb Fix NPE for AIR in meta operations in ItemStack 2021-02-03 18:04:27 +01:00
Aurora
1ff89d3d71 [CI-SKIP] Improve documentation of PreCreatureSpawnEvent (#5244) 2021-03-07 11:35:45 +01:00
Gergely Sarkozi
b40aeccfc2 [CI-SKIP] Add JavaDoc links to Tag class pointing to custom Paper tags (#5285) 2021-03-07 11:31:20 +01:00
Jake Potrebic
5bd9ea9bb0 added PlayerNameEntityEvent 2021-03-04 11:42:44 -08:00
Jake Potrebic
faa8969e12 Add worldborder events 2021-01-04 22:41:02 -08:00
Jake Potrebic
aad9b036bc consider enchants for destroy speed 2021-01-03 23:18:34 -08:00
Jason Penilla
b0df4d17c8 Fix Material#getTranslationKey for Block Materials (#5294)
* Fix Material#getTranslationKey for Block Materials

* Cache the result of Material#isBlock
2021-03-02 16:27:34 -08:00
Riley Park
c0db0192b2 New chat events for better Adventure support (#5289)
Bump Adventure to 4.6.0

fixes #5216
fixes #5261
fixes #5287
2021-03-01 19:07:12 -08:00
Paul Zhang
1bc1a162c4 Implements PlayerHandshakeEvent#getOriginalSocketAddressHostname and deprecates PlayerHandshakeEvent(String, boolean) in favour of PlayerHandshakeEvent(String, String, boolean) 2021-02-23 16:47:06 +01:00
Tom
f1400a74c5 Expose Tracked Players
A lot of plugins seem to use reflection to determine this, so this could be a bit of a starter-patch as future PR'ers could also exposed tracked entities as well.
2021-02-26 16:27:53 -06:00
Aurora
2233321504 Add @NotNull to Key in org.bukkit.sound (#5241)
Fix compiling
2021-02-24 01:20:52 +01:00
Riley Park
9f48fadb5a Sound can implement Adventure's Sound.Type 2021-02-23 15:45:26 -08:00
Riley Park
891f4ce8ff Adventure 4.5.1 2021-02-23 11:19:39 -08:00
MeFisto94
f0e6f1f5c7 Add links to the Adventure javadocs
fixes #5239
2021-02-23 11:18:01 -08:00
Jason Penilla
84af0796d3 Fix a couple of typos in the javadoc for Player (#5235) 2021-02-23 05:46:02 -08:00
chickeneer
3d23a7351e PlayerDeathEvent#getDeathMessage should provide translation for legacy reasons #5227 2021-02-22 20:42:58 -06:00
Riley Park
aaf508e621 fix? #5222 2021-02-22 06:15:22 -08:00