Commit Graph

550 Commits

Author SHA1 Message Date
Lulu13022002 562a36f98b Add EntityFertilizeEggEvent (#8041) 2023-03-04 23:23:32 +01:00
Owen1212055 2dd20a5904 Add TeleportFlags (#8855)
Abstracts relative teleport flags and instead makes a generic TeleportFlag option. This has the benefit of being able to easily add new flags in the future.
This adds a new flag, which allows you to keep inventories open when teleporting players (vanilla behavior).

These are breaking changes to the teleport api, however, it's still marked as experimental so I find this a fair change.
2023-03-04 17:07:23 -05:00
Jake Potrebic f8ba85ffbf Replace ConfiguredStructure api with Structure (#8642) 2023-02-28 08:36:01 -08:00
Emily 2ad6c390e0 Close plugin jar file on classloader close and after retrieving name for updating (#8902) 2023-02-28 08:34:33 -03:00
Jason Penilla 5542f6997e Make PluginProviderContext#getLogger return ComponentLogger, remove PluginProviderContext#getSLF4JLogger (#8921) 2023-02-26 12:13:15 -07:00
SoSeDiK 903747cc3a Additional ExplosiveMinecart API (#8896) 2023-02-26 18:01:43 +02:00
Noah van der Aa 6a50027d5d chore: update adventure documentation url in javadocs (#8912) 2023-02-26 17:00:55 +01:00
Jake Potrebic f042d06125 Fix NamespacedKey#equals not accepting other Key types (#8919) 2023-02-26 06:59:52 -08:00
Nassim Jahnke 58da8ca385 Update adventure doc links 2023-02-23 17:55:36 +01:00
Jake Potrebic ee1dffb8d5 Fix JavaPlugin static getPlugin methods (#8888) 2023-02-21 19:27:49 -08:00
Jake Potrebic 37d171544a Further clarify functionality of damageItemStack methods (#8878) 2023-02-21 09:35:25 -08:00
Owen1212055 08d77ce67a Redefine Cyclic Dependencies (#8873) 2023-02-20 20:09:38 -05:00
Owen1212055 1c5cb2f43a Small paper plugin fixes (#8866)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-02-20 13:02:53 -05:00
Owen1212055 6915dee3e3 Paper Plugins (#8108) 2023-02-19 09:57:10 -05:00
Jake Potrebic 5d777995f4 Fix calling UnknownCommandEvent (#8232) 2023-02-16 18:07:30 -08:00
Jake Potrebic f9e1ad2c2d Updated Upstream (Bukkit/CraftBukkit) (#8832)
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:
37262de8 PR-812: Add Registry#match(String)
d6b40162 SPIGOT-4569: Add more BlockData API
f9691891 PR-809: Throw a more clear error for BlockIterators with zero direction, add Vector#isZero()
91e79e19 PR-804: Added methods to get translation keys for materials, itemstacks and more
426b00d3 PR-795: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
0e91ea52 SPIGOT-7224: Add events for brewing stands and campfires starting their actions

CraftBukkit Changes:
a50301aa5 Fix issues with fluid tag conversion and fluid #isTagged
6aeb5e4c3 SPIGOT-4569: Implement more BlockData API
7dbf862c2 PR-1131: Added methods to get translation keys for materials, itemstacks and more
7167588b1 PR-1117: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
7c44152eb SPIGOT-7224: Add events for brewing stands and campfires starting their actions
2023-02-15 14:10:14 -08:00
Jake Potrebic bd166747a6 convert API/server tests to mockito (#8848)
* convert API tests to mockito

* convert server tests to mockito

* add co-author
2023-02-15 13:27:40 -08:00
Jake Potrebic ffc1cf92a1 Add missing isFuel Material entries (#8843) 2023-02-12 13:02:01 -08:00
Andreas Prues 723559e9f0 More Win Screen API (#8805)
Adds methods to get and set whether a player has seen the win screen before.
2023-02-11 16:55:45 +01:00
SamB440 e343c4eb44 Add projectile hit simulation API (#8816)
This adds API to force a projectile to hit a provided entity. Example usage could be if you have a player disguised as another entity, you could simulate an arrow colliding with the (fake) entity hitbox.
2023-02-11 15:41:06 +00:00
Piotr Pasztor ab76bb014b Add Entity Body Yaw API (#8822) 2023-02-09 18:31:51 +01:00
Emily b2b666ced2 Fix Tick::addTo/::between causing SOE (#8824) 2023-02-09 14:30:30 -03:00
Jake Potrebic 5fba40cc67 Updated Upstream (Bukkit/CraftBukkit) (#8823) 2023-02-07 07:55:53 -08:00
Jake Potrebic 3212d9fcf5 Deprecate duplicate API for arrow stuck count (#8829) 2023-02-07 07:43:20 -08:00
Aya cbf3b9b7af [ci skip] Fix PiglinBarterEvent JavaDoc (#8795) 2023-01-22 20:33:21 +02:00
Andreas Prues 17333bd2e5 Win Screen API (#8802) 2023-01-22 14:21:45 +01:00
Aya 80dbbcd4bb Add Player#sendEquipmentChange(Map) API (#8800) 2023-01-22 15:00:37 +02:00
alex6777 1b552c2a22 Don't clone location in PreCreatureSpawnEvent (#8790) 2023-01-16 10:03:58 -05:00
Nassim Jahnke 27a64790ed [ci skip] Fix instrument reference in item specific hide flag docs 2023-01-05 20:28:43 +01:00
Nassim Jahnke 5f27ebfa6f Replace ItemFlag.HIDE_POTION_EFFECTS (#8765) 2023-01-05 11:54:21 +01:00
Jake Potrebic 9473cd8981 Updated Upstream (Bukkit/CraftBukkit) (#8740)
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:
d352d965 SPIGOT-7221: Add Enemy (Entity) interface

CraftBukkit Changes:
397c5557c SPIGOT-7221: Add Enemy (Entity) interface
a0d3dfaf2 PR-1129: Fix state corruption while handling explosion damage on EntityComplexPart
d67777f8b SPIGOT-7218: Player's outer layer of skin disappears after respawn
2023-01-01 12:17:40 -08:00
Lulu13022002 f7f8d3c75b [ci skip] Fix hoglin conversionTime javadoc (#8734) 2022-12-30 21:08:02 +01:00
SoSeDiK 49f3ef443a Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) 2022-12-28 00:56:19 +02:00
TreyRuffy a0d9d433a3 Player Flying Fall Damage API (#5357) 2022-12-27 13:41:59 -07:00
Jake Potrebic 7c42959fb0 Updated Upstream (Bukkit/CraftBukkit) (#8714)
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:
aef9b6d2 PR-800: Add support for NoteBlock sounds in Skulls

CraftBukkit Changes:
ae8f5fc02 PR-1125: Add support for NoteBlock sounds in Skulls
0a1c89e4b SPIGOT-7212: Allow negative firework power
909a246af SPIGOT-7211: generateTree() with Consumer or Predicate is broken
c810c3ed8 Increase outdated build delay
2022-12-26 09:53:35 -08:00
Owen1212055 5297d99a4e Tadpole lock API (#8297) 2022-12-23 15:50:32 -05:00
aerulion 6b4dfb9627 Add EntityPushedByEntityEvent (#7704) 2022-12-23 20:59:11 +01:00
Noah van der Aa c2bee2c705 Expose signed message in chat events (#8694) 2022-12-23 16:54:04 +01:00
Jake Potrebic 424df4f743 Deprecate ProjectileCollideEvent (#8678)
replaced by ProjectileHitEvent
propagated the cancellation of the legacy event
to the modern one
2022-12-22 21:20:44 -08:00
Jake Potrebic ae31085e6d Fix OfflinePlayer getPlayerProfile return type (#8710) 2022-12-21 20:30:21 -08:00
Jake Potrebic d20d36a172 Add exploded block state to BlockExplodeEvent (#6818) 2022-12-19 21:09:51 -08:00
Jake Potrebic 3394f6b808 Improve PortalEvents (#8679) 2022-12-17 09:36:02 -08:00
Jakub Žáček fab251199d Add Sneaking API for Entities (#8485) 2022-12-15 20:43:14 +01:00
Jake Potrebic b5ab281c29 Deprecate TargetBlock/EntityInfo and assocated methods (#7381) 2022-12-15 09:10:03 -08:00
Jake Potrebic 9eb6b1db93 Add BlockLockCheckEvent (#7840) 2022-12-15 08:49:49 -08:00
Jake Potrebic 96d7b7b6e4 Add more breakNaturally functionality (#7379) 2022-12-14 19:37:16 -08:00
Jake Potrebic a0b62c40db Remove deprecated event warning for inventory result event (#8672) 2022-12-14 15:09:11 -08:00
Jake Potrebic a4112a5c50 Updated Upstream (Bukkit/CraftBukkit) (#8663)
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:
f50ad1f8 PR-798: Add PrepareGrindstoneEvent and refactor related events to use PrepareInventoryResultEvent
0cac7963 SPIGOT-7204: Add TeleportCause#DISMOUNT
b4dd47b0 SPIGOT-7202: Deprecate removed door effects

CraftBukkit Changes:
ab1586c2f PR-1123: Add PrepareGrindstoneEvent
b402824ea SPIGOT-7204: Add TeleportCause#DISMOUNT
06a6a1012 PR-1121: Add unit test for spawn egg meta
c18668be3 SPIGOT-7192: Call PlayerInteractEvent with Action.LEFT_CLICK_AIR if the entity interacted is hidden to the player
47124f639 Increase outdated build delay
645993470 SPIGOT-7201: Spawner ItemMeta not working as expected
2022-12-13 21:03:57 -08:00
EpicPlayerA10 851a363fad Fix death message containing empty string (#8656)
Resolves: #8654
2022-12-13 13:24:59 +01:00
Jake Potrebic 3a0963092a Add the non-flammable wood item tag (#8648) 2022-12-11 13:01:18 -08:00