Commit Graph

587 Commits

Author SHA1 Message Date
Jake Potrebic
5cc78f2b6f
Use configured log prefix for spigot library loading (#7934) 2023-03-05 11:02:52 -08:00
Noah van der Aa
6f57163e4a
Add CompostItemEvent and EntityCompostItemEvent (#6356) 2023-03-05 11:59:48 -06:00
Lulu13022002
3dcf4e4198
Add EntityFertilizeEggEvent (#8041) 2023-03-04 16:23:32 -06:00
Owen
d30cda1273
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 16:07:23 -06:00
Jason Penilla
a172880e7d
Update ForgeFlower to 2.0.627.2, fixes dev bundle not applying with Java 19 runtime 2023-03-04 12:01:07 -07:00
Jake Potrebic
e57441254d
Replace ConfiguredStructure api with Structure (#8642) 2023-02-28 08:36:01 -08:00
Emily
b670798876
Close plugin jar file on classloader close and after retrieving name for updating (#8902) 2023-02-28 12:34:33 +01:00
Jason
16fc1a175e
Make PluginProviderContext#getLogger return ComponentLogger, remove PluginProviderContext#getSLF4JLogger (#8921) 2023-02-26 12:13:15 -07:00
SoSeDiK
2f953a8843
Additional ExplosiveMinecart API (#8896) 2023-02-26 08:01:43 -08:00
Noah van der Aa
e2b8e6b548
chore: update adventure documentation url in javadocs (#8912) 2023-02-26 08:00:55 -08:00
Jake Potrebic
ed44f69c9b
Fix NamespacedKey#equals not accepting other Key types (#8919) 2023-02-26 06:59:52 -08:00
Nassim Jahnke
88367398d9
Update adventure doc links 2023-02-23 17:55:36 +01:00
Jake Potrebic
bb63a6156d
Fix JavaPlugin static getPlugin methods (#8888) 2023-02-21 21:27:49 -06:00
Jake Potrebic
ddc0a99f52
Further clarify functionality of damageItemStack methods (#8878) 2023-02-21 09:35:25 -08:00
Owen
8427c88987
Redefine Cyclic Dependencies (#8873) 2023-02-20 19:09:38 -06:00
Owen
0e4f2cc527
Small paper plugin fixes (#8866)
Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-02-20 13:02:53 -05:00
Owen
841da90501
Paper Plugins (#8108) 2023-02-19 08:57:10 -06:00
Jake Potrebic
f9dc371fd8
Fix calling UnknownCommandEvent (#8232) 2023-02-16 18:07:30 -08:00
Jake Potrebic
03a4e7ac75
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
afe633df08
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
bb05fcf4ca
Add missing isFuel Material entries (#8843) 2023-02-12 13:02:01 -08:00
Andreas Prues
7e7e6b4bab
More Win Screen API (#8805)
Adds methods to get and set whether a player has seen the win screen before.
2023-02-11 09:55:45 -06:00
SamB440
de38a45c34
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 09:41:06 -06:00
Nassim Jahnke
5eca9642e1
[ci skip] Rebuild patches 2023-02-09 18:45:15 +01:00
Piotr Pasztor
0c3311c3b2
Add Entity Body Yaw API (#8822) 2023-02-09 18:31:51 +01:00
Emily
39aef524ee
Fix Tick::addTo/::between causing SOE (#8824) 2023-02-09 18:30:30 +01:00
Jake Potrebic
57f1157871
Updated Upstream (Bukkit/CraftBukkit) (#8823) 2023-02-07 07:55:53 -08:00
Jake Potrebic
b9b4c9a314
Deprecate duplicate API for arrow stuck count (#8829) 2023-02-07 07:43:20 -08:00
Aya
b1b19b67f2
[ci skip] Fix PiglinBarterEvent JavaDoc (#8795) 2023-01-22 19:33:21 +01:00
Andreas Prues
b082d8970b
Win Screen API (#8802) 2023-01-22 14:21:45 +01:00
Aya
2eca2a27b0
Add Player#sendEquipmentChange(Map) API (#8800) 2023-01-22 14:00:37 +01:00
alex6777
567ff90111
Don't clone location in PreCreatureSpawnEvent (#8790) 2023-01-16 16:03:58 +01:00
Nassim Jahnke
b29e07bebd
[ci skip] Fix instrument reference in item specific hide flag docs 2023-01-05 20:28:43 +01:00
Nassim Jahnke
940c9a3493
Replace ItemFlag.HIDE_POTION_EFFECTS (#8765) 2023-01-05 11:54:21 +01:00
Jake Potrebic
51cfcc88da
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
ddd8745d14
[ci skip] Fix hoglin conversionTime javadoc (#8734) 2022-12-30 15:08:02 -05:00
SoSeDiK
fa42c68b73
Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) 2022-12-27 16:56:19 -06:00
TreyRuffy
2040c1ec71
Player Flying Fall Damage API (#5357) 2022-12-27 14:41:59 -06:00
Jake Potrebic
52718dba10
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
Owen
f26e9ccdd0
Tadpole lock API (#8297) 2022-12-23 14:50:32 -06:00
aerulion
47abd1c50c
Add EntityPushedByEntityEvent (#7704) 2022-12-23 13:59:11 -06:00
Noah van der Aa
c59922d94e
Expose signed message in chat events (#8694) 2022-12-23 09:54:04 -06:00
Jake Potrebic
8e83c3c7b4
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
048ee5872d
Fix OfflinePlayer getPlayerProfile return type (#8710) 2022-12-21 20:30:21 -08:00
Jake Potrebic
c1bca9ad34
Add exploded block state to BlockExplodeEvent (#6818) 2022-12-19 21:09:51 -08:00
Jake Potrebic
f7a13449e2
Improve PortalEvents (#8679) 2022-12-17 09:36:02 -08:00
Jakub Žáček
28c7d40326
Add Sneaking API for Entities (#8485) 2022-12-15 11:43:14 -08:00
Jake Potrebic
0262de0ddb
Deprecate TargetBlock/EntityInfo and assocated methods (#7381) 2022-12-15 09:10:03 -08:00
Jake Potrebic
3aec8630bb
Add BlockLockCheckEvent (#7840) 2022-12-15 08:49:49 -08:00
Jake Potrebic
66437d059f
Add more breakNaturally functionality (#7379) 2022-12-14 19:37:16 -08:00