Commit Graph

789 Commits

Author SHA1 Message Date
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
ysl3000 11a4045767 Player Chunk Load/Unload Events
Co-authored-by: Mariell <proximyst@proximyst.com>
2020-10-31 23:06:21 +01:00
Jake Potrebic 8c473e7fcd deprecate IllegalPacketEvent (#4867) 2020-12-07 23:51:55 -08:00
William Blake Galbreath d6057372b4 Add #getEligibleHumans to SkeletonHorseTrapEvent 2020-08-23 21:57:55 +02:00
Kyle Wood 08835cda45 Enable Multi-Release plugin jar support
Fixes #4841
2020-12-04 15:57:46 -08:00
Josh Roy 209f04eab2 Add PlayerShearBlockEvent 2020-08-27 15:39:24 -04:00
Nassim Jahnke 7c3f274871 Add more lightning API 2020-07-26 14:46:14 +02:00
Nassim Jahnke 744cdf7512 Add PlayerItemCooldownEvent 2020-08-25 14:01:03 +02:00
Anrza 89bdd85933 Add LivingEntity#clearActiveItem 2020-07-15 12:11:31 +02:00
Max Lee 33f101b760 Fix plugin provides not being listed behind name in /plugins (#4825) 2020-12-01 15:06:14 +01:00
Ineusia 14189f531d Add getDestroySpeed to Block API
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
2020-07-18 19:29:40 -05:00
HexedHero 2220d44459 Add Material Tags for Coral, Coral Fangs and Coral Blocks 2020-11-27 15:26:52 +00:00
Jason Penilla ca25d24197 Villager resetOffers API 2020-10-03 21:20:10 -07:00
Jake Potrebic da67283b6b Location#getHighestLocation should support Upstream API (#4770) 2020-11-16 06:44:14 -08:00
A248 5fa8189596 Add exception handlers for getChunkAtAsync convenience methods 2020-11-15 19:26:25 -05:00
Mariell Hoversholm 5d66ba7613 Add API for quit reason
The following has been tested:
- Disconnect from menu -> DISCONNECTED
- EssentialsX kick -> KICKED
- Suspend server JVM -> DISCONNECTED
- Suspend client JVM -> TIMED_OUT
- Call #exceptionCaught -> ERRONEOUS_STATE

Suspension was done through `kill -STOP` and subsequently `kill -CONT`
after the player has (been) disconnected.

Closes #254.
2020-11-14 16:23:10 +01:00
Zach Brown 4ca833b607 Fix minor issue with JavaDoc breaking doc deploys 2020-11-11 21:19:46 -06:00
Mariell Hoversholm c451989b86 Add ignore discounts API 2020-11-09 20:45:38 +01:00
Jake Potrebic 21e0ef27f1 Add custom ranges to beacons
Adds 3 methods to the Beacon block state to set a custom range for the beacon.
One to set the range, one to get the range, and one to reset the range
(aka go back to using the default range-by-beacon-tier system).
2020-06-28 01:20:49 -06:00