Commit Graph
100 Commits
Author SHA1 Message Date
Owen1212055 ec0be3fbf2 Fix cycle on paper plugin toString (#9392) 2023-06-24 17:37:38 -04:00
Owen1212055 08197c3a58 Fix interact event call override (#9387) 2023-06-23 12:03:43 -04:00
Owen1212055 6a733d70c1 Properly Cancel Usable Items (#9225)
This fixes the bug causing canceling PlayerInteractEvent to cause items to continue to be used despite being canceled on the server.

For example, items being consumed but never finishing, shields being put up, etc.
The underlying issue of this is that the client modifies their synced data values, and so we have to (forcibly) resend
them in order for the client to reset their using item state.
2023-06-18 18:33:15 -04:00
Owen1212055 eb317edc8a Don't use event to get block position (#9295) 2023-06-10 02:13:42 -04:00
Owen1212055 d943e42150 Fix javadoc 2023-06-08 22:53:42 -04:00
Owen1212055 77e3d3e158 Finish tests & bad calls 2023-06-08 22:51:31 -04:00
Owen1212055 fed16ccbff Move block farther away for Player#setRotation (#8514) 2023-06-08 22:37:59 -04:00
Owen1212055 6ee3455f40 Fix breaking pots throwing exception 2023-06-08 20:24:02 -04:00
Owen1212055 5c83f1aca3 cleanup some descriptions + optimize hoppers patch 2023-06-08 14:10:23 -04:00
Owen1212055 f328e1ae26 vine boom sound 2023-06-08 04:47:19 -04:00
Owen1212055 d0a36db6c2 YOU get patches 2023-06-08 04:08:08 -04:00
Owen1212055 fa4aae5fff Fix scuffed patches 2023-06-08 03:57:42 -04:00
Owen1212055 8bab352ff6 re-patched 2023-06-08 03:40:45 -04:00
Owen1212055 a6f4f6e2c9 Patched 2023-06-08 03:20:03 -04:00
Owen1212055 644fa33eea Some chunk patches 2023-06-08 02:31:22 -04:00
Owen1212055 1004620742 Paper Plugins Dependency Format Update (#9160)
* Rework dependency management (WIP)

* Revert "Rework dependency management (WIP)"

This reverts commit e046cd59c68743dc00303b1ab42317bf474abd6a.

* Correctly add soft dependencies to the dependency tree for classloading resolution

* Add support for new dependency config format

* Rebase

* swap load order meaning

* Dependencies should be required by default
2023-06-07 11:41:25 -04:00
Owen1212055 5957c490da Avoid Lazy Initialization for Enum Fields (#9210) 2023-05-14 20:46:17 -04:00
Owen1212055 5f0081c256 Disable allowListing before received from client (#9167) 2023-04-23 21:24:12 -04:00
Owen1212055 a4b55ff96a Fix LegacyPluginLoader dependency registration (#9165) 2023-04-22 21:55:10 -04:00
Owen1212055 2da0966452 Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9129) 2023-04-22 13:44:40 -04:00
Owen1212055 cfcfc9301c Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068) 2023-04-09 18:28:30 -04:00
Owen1212055 f5224dafea Allow non player entities in scoreboards by default (#9082)
This in general caused much more confusion than needed, and in general, made rather negligible performance gains on collision.
2023-04-02 13:53:11 -04:00
Owen1212055 08482e72bb Add Shearable API (#6796) 2023-03-17 17:11:08 -04:00
Owen1212055 d166b09352 Camel EntityToggleSitEvent (#8970) 2023-03-15 10:37:41 -04:00
Owen1212055 8d211062df Correctly Remove Classloaders, Avoid Loading Providers in /paper dumpplugins, Fix library lookup (#8938) 2023-03-06 19:20:11 -05:00
Owen1212055 03c2f3b9db Fix Player#setPlayerProfile (#8939) 2023-03-06 18:15:25 -05: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
Owen1212055 47f0fe739b Properly re-add providers when reloading (#8881) 2023-02-23 12:58:50 -05:00
Owen1212055 75e61d5bf2 Validate providers when populating load order tree (#8890) 2023-02-22 10:59:12 -05:00
Owen1212055 08d77ce67a Redefine Cyclic Dependencies (#8873) 2023-02-20 20:09:38 -05:00
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 b0ce047eae Fix plugin updater logic, allow null update directory (#8864) 2023-02-19 13:17:51 -05:00
Owen1212055 6915dee3e3 Paper Plugins (#8108) 2023-02-19 09:57:10 -05:00
Owen1212055 cb9bc57e60 Return 0 if null for FireworkMeta (#8738) 2022-12-30 12:33:41 -05:00
Owen1212055 e794bcecbd Respect SpigotConfig logCommands & fix stopDancing() NPE (#8715) 2022-12-25 23:22:08 -05:00
Owen1212055 5297d99a4e Tadpole lock API (#8297) 2022-12-23 15:50:32 -05:00
Owen1212055 e383b8e15d Rabbit API (#8627) 2022-12-09 19:56:13 -05:00
Owen1212055 fcb3cfa2f5 Update adventure (#8625) 2022-12-09 04:11:28 -05:00
Owen1212055 d7dbb07235 Deprecate PluginLoader and impls (#8619) 2022-12-08 16:27:37 -05:00
Owen1212055 3a5be0bbe7 Properly resend entities (#8617) 2022-12-07 18:11:44 -05:00
Owen1212055 91869b8753 Schoolable Fish API (#7089) 2022-11-25 21:21:40 -05:00
Owen1212055 0bb4b6ead5 Add more collision code skipping logic (#7581) 2022-11-19 16:14:19 -05:00
Owen1212055 af85b6071c Cleanup reputation API + back with an EnumMap instead of array (#8258)
Resolves: #7142
2022-11-12 12:41:22 -05:00
Owen1212055 36d8f327e8 Add PrePlayerAttackEntityEvent (#8369)
Allows you to cancel player event attacking, preventing things like attack sounds from being played.
2022-11-09 22:05:58 -05:00
Owen1212055 0ea0d39edf Properly resend entities (#7041) 2022-11-05 14:50:16 -04:00
Owen1212055 4fad96576f Deprecate unused VehicleEntityCollisionEvent methods (#8498) 2022-10-29 13:18:17 -04:00
Owen1212055anddannyball710 646d59a575 Ignore impossible spawn tick (#8493)
Co-authored-by: dannyball710 <dannyball710@gmail.com>
2022-10-23 00:45:07 -04:00
Owen1212055 c1aac9ca35 Don't fire EntityToggleSitEvent on deserialization & reorder some api patches (#8495) 2022-10-22 22:55:28 -04:00
Owen1212055 fc19cbd800 Add Moving Piston API (#7019) 2022-10-22 20:37:37 -04:00
Owen1212055 e7535118d9 Add missing Entity + Projectile API (#7632) 2022-10-11 17:04:26 -04:00
Owen1212055 aba5839fde Fix player desync on dimension change (#8253) 2022-09-24 01:45:13 -04:00
Owen1212055 d56d06cb3c Respect preventMovingIntoUnloadedChunks for optimized collision checking (#8259) 2022-09-19 22:02:52 -04:00
Owen1212055 9541fc32dc Fix command pool submitting on shutdown (#8272) 2022-08-09 23:51:17 -04:00
Owen1212055 fa737884a7 Separate Command Sending to Separate Thread Pool (#8170) 2022-08-08 07:32:17 -04:00
Owen1212055 e77a4a70b7 Block Ticking API (#7202) 2022-08-03 17:14:04 -04:00
Owen1212055 c3eaa827e3 Collision API (#6736) 2022-07-31 11:30:34 -04:00
Owen1212055 164651e497 Add missing BlockFadeEvents (#8171) 2022-07-30 12:58:37 -04:00
Owen1212055 31c2f40b64 Use Worldheight for Activation Ranges (#8061) 2022-07-30 12:47:35 -04:00
Owen1212055 e05d694e8c Custom Chat Completions API (#8212) 2022-07-30 12:28:24 -04:00
Owen1212055 342ffb25ec Add more needed BlockStateListPopulator Methods (#8021) 2022-07-29 19:28:46 -04:00
Owen1212055 8d6013b4be Warn on plugins accessing faraway chunks (#8208) 2022-07-29 19:16:26 -04:00
Owen1212055 792f264084 Send block entities after destroy prediction (#8053) 2022-07-29 18:26:41 -04:00
Owen1212055 09a1be7aef Teleportation API (#6562) 2022-07-22 14:36:43 -05:00
Owen1212055 ed2321032d Use safe method for handling Files#createDirectories (#7997) 2022-06-25 16:40:28 -04:00
Owen1212055 bd0ca3a1fc Cleanup LivingEntity Hand Raised/Item Use API (#7995) 2022-06-24 04:04:02 -04:00
Owen1212055 86832e42a4 Prevent empty items from being added to world (#7998)
The previous solution caused a bunch of bandaid fixes inorder to resolve edge cases where minecraft/the api might spawn items that are air.
Just simply prevent them from being added to the world instead.
2022-06-16 17:31:23 -04:00
Owen1212055 211ef55f82 Nameable Banner API (#7711) 2022-06-15 23:54:54 -04:00
Owen1212055andBillyGalbreath 92967098bf Fix incorrect ansi code being used for bold (#8000)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
2022-06-15 23:40:14 -04:00
Owen1212055 9d34379685 Add missing important BlockStateListPopulator methods (#7952) 2022-06-15 12:30:58 -04:00
Owen1212055 624ed50aa0 Readd mc-4 fix 2022-06-11 10:41:59 +02:00
Owen1212055 1762939321 Readd remove vec allocations diff (#7930) 2022-06-11 04:30:20 -04:00
Owen1212055 3ce03e2d23 Remove unneeded patch 2022-06-10 16:15:38 +02:00
Owen1212055 ed313fe695 port Significantly improve performance of the end generation (#7919) 2022-06-10 10:11:41 -04:00
Owen1212055 589dcea57a Fix light (#7917) 2022-06-09 21:09:55 -04:00
Owen1212055 797d43f5ef Update starlight + read null light data (#7912) 2022-06-09 19:49:23 -04:00
Owen1212055 d433a16bb7 Remove old config options (#7908) 2022-06-09 16:48:35 -04:00
Owen1212055 ae952f4189 Keyed cat Type (#7901) 2022-06-09 16:38:59 -04:00
Owen1212055 6eaa203f77 Remove locname (#7909) 2022-06-09 15:56:21 -04:00
Owen1212055 d68c295dc1 Correctly handle ElderGuardianAppearanceEvent canceling (#7902) 2022-06-09 15:04:10 -04:00
Owen1212055 01cf853f91 Deprecate origin for vibrations (#7898) 2022-06-08 16:44:59 -04:00
Owen1212055 da6d6a433d Add missing spawn eggs (#7896) 2022-06-08 16:25:47 -04:00
Owen1212055 113a6b72c2 Dont resent entity on art update (#7887) 2022-06-08 15:25:15 -04:00
Owen1212055 f136fe47a3 Wrap NBTOps in RegistryOps (#7892) 2022-06-08 14:25:39 -04:00
Owen1212055 79fb78d5b2 Check if is light status or above / isLightOn / starlight version fits (#7888) 2022-06-08 12:32:49 -04:00
Owen1212055 4af51f89ea Remove painting desync (#7886) 2022-06-08 11:45:54 -04:00
Owen1212055 92f5ec1d15 Use biome source method to prevent loading chunks (#7885) 2022-06-08 09:57:04 -04:00
Owen1212055 bf30d497ba Misc fixes (#7883) 2022-06-08 09:03:33 -04:00
Owen1212055 e41394951f Update PreCreatureSpawnEvent patch 2022-06-07 23:54:21 +02:00
Owen1212055andstonar96 2b4c75d379 Respect x-ray permission in World#refreshChunk (#7214)
Co-authored-by: stonar96 <minecraft.stonar96@gmail.com>
2022-06-01 22:08:51 -04:00
Owen1212055 68ef4d7878 Prevent entity loading causing async lookups (#7553) 2022-06-01 21:35:57 -04:00
Owen1212055 4810e202fe Sanitize Sent BlockEntity NBT (#7010) 2022-06-01 21:27:36 -04:00
Owen1212055 eb29f4b571 Deprecate set/doesBounce from Projectile (#7800) 2022-05-18 20:46:01 -04:00
Owen1212055 d2b4cbc69e FallingBlock auto expire setting (#7037) 2022-05-06 11:21:24 -04:00
Owen1212055 52d1a9427e Remove World#refreshChunk deprecation (#7684) 2022-04-20 05:28:53 -04:00
Owen1212055 a95e023ed2 Pass ServerLevel for gamerule callbacks (#7668) 2022-04-18 05:46:21 -04:00
Owen1212055 8fdde462f2 Strip enderpearl owners when they are no longer ticked (#7559) 2022-04-07 20:52:25 -04:00
Owen1212055 379422ee03 Fix entity position desync for hanging entities (#7659) 2022-03-29 04:42:46 -04:00
Owen1212055 b7490f963f Add TameableDeathMessageEvent (#5392) 2022-03-19 20:50:33 -04:00
Owen1212055 e889c23537 Add more missing entity API (#7592) 2022-03-19 10:30:16 -04:00
Owen1212055 5fbf2f883d Add get/set wait time for fish hooks. (#5595) 2022-03-13 18:33:01 -04:00