Commit graph

813 commits

Author SHA1 Message Date
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
dfsek
6a7a138ca4 Add StructureLocateEvent
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-16 18:21:05 +01:00
Mariell Hoversholm
08145dcb9d Add sendOpLevel API 2020-12-29 15:04:24 +01:00
Shane Freeder
c3bd6c65c6 Updated Upstream (Bukkit)
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:
b94b766f Improve /version command
2021-01-16 02:46:43 +00:00
Shane Freeder
4e38844029 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:
85b16b8a Update to Minecraft 1.16.5

CraftBukkit Changes:
f3f30947 Update to Minecraft 1.16.5

Spigot Changes:
018b9a0d Update to Minecraft 1.16.5
2021-01-16 02:18:08 +00:00
Shane Freeder
2da0e4a287 EntityLoadCrossbowEvent#shouldConsumeItem 2021-01-14 15:53:42 +00:00
Shane Freeder
d0d21ba718 Mark PlayerInventory#getItem as nullable 2021-01-14 14:35:50 +00:00
Matthew Miller
728fb4ecd4 Add API to get exact interaction point in PlayerInteractEvent (#4995) 2021-01-08 15:26:51 +10:00
Jake Potrebic
2acbfb04e5 [CI-SKIP] Improved the annotation test output 2020-12-03 14:11:22 -08:00
Jake Potrebic
460e1950e7 abstract custom set tags, add entity tags 2021-01-03 20:09:42 -08:00
Jake Potrebic
fb045c7249 Added PlayerLoomPatternSelectEvent 2020-11-25 16:37:34 -08:00
HexedHero
72d411f701 Re-add coral block tags (#4987) 2021-01-03 20:57:50 +00:00
Jake Potrebic
4048b356d0 Added PlayerLecternPageChangeEvent 2020-11-23 12:59:17 -08:00
TheViperShow
5e08466cc1 Add BlockFailedDispenseEvent
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
2020-11-29 00:38:52 +01:00
Jake Potrebic
d2e5086e43 Added ServerResourcesReloadedEvent 2020-12-02 20:05:09 -08:00
HexedHero
da4545f227 Add a Enchantable MaterialTag 2021-01-03 19:07:18 +01:00
Malfrador
6a78920744 Add doors to material tags 2020-12-31 19:31:35 +01:00
Jake Potrebic
1c87fa89f9 Added WorldGameRuleChangeEvent 2020-12-20 16:42:33 -08:00
Mariell Hoversholm
542d7df36b Support spawning item stacks 2020-11-14 19:11:20 +01:00
Sun
dbf1b4bf70 Use setAmount for Recipe Amount 2020-11-07 14:10:03 -08:00
Josh Roy
023ec47e68 Add EntityLoadCrossbowEvent 2020-10-07 12:04:42 -04:00
Jake Potrebic
32f9130749 Zombie API - breaking doors 2020-11-18 11:33:29 -08:00
MisterVector
428affde24 Add PlayerFlowerPotManipulateEvent 2019-08-13 21:47:06 -07:00
Jason Penilla
c7a5aadb36 JavaDoc fixes
Remove duplicate JavaDocs - At some point upstream decided to fix some of their JD errors/warnings, so now we have duplicate tags, bringing new warnings.
Also add missing `@param` for ItemStack.deserializeBytes
2020-12-19 01:39:37 -08:00
Matthew Miller
fffed3cf0a Add API to get the Material of Boats and Minecarts 2020-12-31 12:51:43 +10:00
Aikar
8147d0ec71 Additional Block Material API's
Faster version for isSolid() that utilizes NMS's state for isSolid instead of the slower
process to do this in the Bukkit API

Material#isSolid uses a large switch statement which isn't as performant vs a simple boolean return

Adds API for buildable, replaceable, burnable too.
2020-12-30 19:43:45 -05:00
Jason Penilla
b9744db06b Add and implement cancellable TargetHitEvent for when Target Blocks are hit by Projectiles 2020-11-26 00:30:08 -08:00
Jake Potrebic
93a75a9588 Add OBSTRUCTED result to BedEnterResult enum 2020-12-24 12:44:34 -08:00
Automated
0c40a013dd [CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2020-12-28 07:11:59 -05:00
Jake Potrebic
43a4ab7b04 added PlayerTradeEvent 2020-07-02 16:14:36 -07:00
Mariell
04d4054c16 [CI-SKIP] Deprecate the view distance APIs on Player (#4945) 2020-12-27 12:37:37 +01:00