Commit graph

843 commits

Author SHA1 Message Date
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
Riley Park
4962a2f623 Adventure 4.5.0 2021-02-22 02:52:30 -08:00
Riley Park
7b8399ab04 fix #5214 2021-02-22 01:53:53 -08:00
Riley Park
b856bf08b9 fix #5212 and #5213 2021-02-22 00:03:03 -08:00
MiniDigger | Martin
db0dd75a20 Upstream Update (#5211) 2021-02-21 21:55:01 +01:00
Riley Park
2e419805ad We're going on an Adventure! (#4842)
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
2021-02-21 11:45:33 -08:00
Shane Freeder
20e500fadc 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:
1e843b72 #510: Add NamespacedKey#fromString() to fetch from user input
a4d18241 #581: Add methods to modify despawn delay for wandering villagers

CraftBukkit Changes:
0cd8f19f #802: Add methods to modify despawn delay for wandering villagers
d5c5d998 SPIGOT-6362: ConcurrentModificationException: null --> Server Crash
8c7d69fe SPIGOT-5228: Entities that are removed during chunk unloads are not properly removed from the chunk.
2021-02-16 17:08:29 +00:00
Automated
c51e3e6e51 [Auto] Updated Upstream (Bukkit/CraftBukkit/Spigot)
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:
5b289e69 SPIGOT-5778: Added World.getGameTime method

CraftBukkit Changes:
d97d91871 SPIGOT-6347: Nether Portals Default to Nether, even in Nether
8aa6a953f SPIGOT-5778: Added World.getGameTime method

Spigot Changes:
73fb6094 #107: Add async catching to chunk entity add/remove
2021-02-12 18:42:12 -05:00
Shane Freeder
777e24e5b5 Deprecate PlayerLeaveBedEvent#setBedSpawn
this is no longer attached to anything, and from a glance it looks like
the point at which this information is set has moved to a place which wouldn't
fall in line in a way that we could re-implement these without breaking vanilla
behaivior

Also, just noticed that we apparently need to give our own javadocs some love
at some point
2021-02-06 22:15:06 +00:00
Yannick Lamprecht
c07b432618 living entity allow attribute registration (#4723) 2021-02-05 23:14:27 +01:00
Ivan Pekov
c6eb0a1b33 Add missing effects 2021-01-05 10:23:53 +02:00
Aleksander Jagiello
3b47c76275 Add getMainThreadExecutor to BukkitScheduler 2021-01-28 21:01:25 +01:00
BillyGalbreath
cf323f5eaa Allow adding items to BlockDropItemEvent (#5093) 2021-01-30 10:09:13 -06:00
Gergely Sarkozi
26d832041b add DragonEggFormEvent (fixes #5110) (#5112) 2021-01-30 16:22:12 +01:00
Mariell Hoversholm
61ccc53707 Fix javadoc build 2021-01-30 14:37:07 +01:00
Nassim Jahnke
8c0bedeefc Add dropLeash variable to EntityUnleashEvent (#5130) 2021-01-30 14:23:15 +01:00
BillyGalbreath
3ad49543fd EntityMoveEvent (#4614) 2021-01-28 13:26:20 -06:00
Jake Potrebic
a797fca1b9 Added PlayerStonecutterRecipeSelectEvent
Co-Authored-By: MiniDigger | Martin <admin@minidigger.dev>
2020-11-27 17:15:15 -08:00
Jake Potrebic
8f5c84776f fix BaseTag constructor (#5095) 2021-01-21 10:57:13 -08:00
Matthew Miller
baeb3a378d Add BlockPreDispenseEvent (#5075) 2021-01-20 08:55:25 +10:00
Jake Potrebic
f3a0cb334c Add PlayerChangeBeaconEffectEvent
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-17 21:21:31 +01:00
Jake Potrebic
d15c9fa319 added Wither API 2020-07-05 15:41:43 -07:00
Jake Potrebic
42bf970756 Added Vanilla Entity Tags 2021-01-03 20:04:29 -08:00
Aikar
fe7ff11c9f Make ProjectileHitEvent Cancellable
Allows cancelling things like detonating TNT from Fire Arrows
2021-01-16 14:31:14 -05:00
CDFN
91e25d490a Return chat component with empty text instead of throwing exception. Fixes #3328
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-16 20:10:42 +01:00