Commit graph

807 commits

Author SHA1 Message Date
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
Matthew Miller
cfd2fcf443 Add API to get Tile Entities in a Chunk by Predicate 2020-12-18 21:24:21 +10:00
Mark Vainomaa
ec665f60d2 Expose LivingEntity hurt direction 2020-12-22 22:32:15 +01:00
Shane Freeder
49458cc927 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:
6f9fe1d9 #562: Add API to set equipment silently
bcddb754 SPIGOT-6256: Add method to check if the entity is in water

CraftBukkit Changes:
878b4375 #772: Add API to set equipment silently
22d7fcc9 SPIGOT-6256: Add method to check if the entity is in water
2020-12-21 07:56:22 +00:00
MiniDigger | Martin
57c5f5e566 Remove Paper's UnsafeUtils (#4913) 2020-12-19 21:14:37 +01:00
Automated
dc04ee87f8 [CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2020-12-16 15:26:55 -05:00
Fruxz
459947e6bf Maded Title-Objects directy sendable to targets 2020-10-13 18:49:30 +02:00