0
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-04-25 08:15:51 +00:00

Commit Graph

  • 3099129272 Merge branch 'major-next' into inventory-rework Dylan K. Taylor 2024-11-25 14:38:56 +00:00
  • 15eaf67a0c Merge branch 'minor-next' into major-next Dylan K. Taylor 2024-11-25 14:36:25 +00:00
  • 12ae8dc03b Merge branch 'stable' into minor-next Dylan K. Taylor 2024-11-25 14:32:30 +00:00
  • a9787f0d99 Fix PHPStan error Dylan K. Taylor 2024-11-25 14:32:17 +00:00
  • 5325ecee37 Deal with a whole lot of PHPStan suppressed key casting errors closes Dylan K. Taylor 2024-11-25 14:30:58 +00:00
  • d69d8d6217 EnchantingTableInventoryWindow: cleanup weakref mess this really needs a shorter name Dylan K. Taylor 2024-11-25 11:28:54 +00:00
  • edf4e9d333 ... Dylan K. Taylor 2024-11-25 10:56:26 +00:00
  • 4dcc14e0a1 Integrate block container animations and SFX into Block classes by way of AnimatedContainer interface this allows getting rid of several container window classes. Dylan K. Taylor 2024-11-25 10:55:35 +00:00
  • f4d50a1aa1 Merge branch 'major-next' into inventory-rework Dylan T. 2024-11-24 23:57:03 +00:00
  • d72941c36c Update IceBomb.php Dylan T. 2024-11-24 23:56:44 +00:00
  • 6aa4e4c21f CS Dylan K. Taylor 2024-11-24 23:51:41 +00:00
  • 5c221247fe Merge branch 'major-next' into inventory-rework Dylan K. Taylor 2024-11-24 23:51:16 +00:00
  • e51903d7ea Merge branch 'minor-next' into major-next Dylan K. Taylor 2024-11-24 23:51:07 +00:00
  • 30ee0aa63d Merge branch 'stable' into minor-next Dylan K. Taylor 2024-11-24 23:50:56 +00:00
  • aef4fa7174 Remove unused variable Dylan K. Taylor 2024-11-24 23:50:30 +00:00
  • 53aa380ca3 Candle: fix extinguish logic closes Dylan K. Taylor 2024-11-24 23:49:21 +00:00
  • 7f58122ac6 Avoid unnecessary repeated calls Dylan K. Taylor 2024-11-24 23:43:51 +00:00
  • 1738355357 Remove potentially problematic ephemeral window creation this is *probably* fine, but best avoided. Dylan K. Taylor 2024-11-24 23:43:32 +00:00
  • fe1a8d98e7 namespace tidy Dylan K. Taylor 2024-11-24 23:29:13 +00:00
  • 1d2b52732e Chest block now has responsibility for configuring double chest inventories it already needs to locate the correct pair anyway to know the left/right for DoubleChestInventoryWindow, so we might as well use this logic for initializing the DoubleChestInventory itself too. The old logic in tile/Chest didn't work correctly. Dylan K. Taylor 2024-11-24 22:47:35 +00:00
  • 9c5df90e9b Burn more junk Dylan K. Taylor 2024-11-24 22:11:38 +00:00
  • dcbf1c706a this bites me every single time Dylan K. Taylor 2024-11-24 21:45:45 +00:00
  • 45a4282e8b First look: Split up Inventory & InventoryWindow this unblocks a variety of changes, such as positionless tiles, enhanced APIs on Blocks for inventories, and also eliminates a bunch of cyclic references within the core code. Dylan K. Taylor 2024-11-24 21:40:47 +00:00
  • 473bbe64e0 BaseInventory no longer uses viewers to send updates to players we want viewers to be as close to decorative as possible, so that they provide useful information to plugins, but don't get in the way of other changes. Dylan K. Taylor 2024-11-24 17:59:57 +00:00
  • f98cebbd62 Separate hotbar from player inventory this allows this functionality to be used with any type of inventory, and also makes it a little nicer to use in many cases. Dylan K. Taylor 2024-11-24 17:58:58 +00:00
  • a5f607138c Implement Ice Bomb () zSALLAZAR 2024-11-24 16:01:26 +01:00
  • 8338ebaffd Add generic types for TaskHandler () ShockedPlot7560 2024-11-24 15:14:34 +01:00
  • 3e9a96b43a Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-23 21:49:02 +00:00
  • 082119cfd2 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-23 21:49:01 +00:00
  • 7460e12b6a pr-remove-waiting-label: suppress failure on 404 errors Dylan T. 2024-11-23 21:48:30 +00:00
  • 9fce27eaa8 Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-23 20:14:24 +00:00
  • a53b0116a0 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-23 20:14:23 +00:00
  • 5b72f202bf actions: automatically remove waiting label from PRs on synchronize Dylan T. 2024-11-23 20:13:46 +00:00
  • 7208733d62 Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-23 19:10:14 +00:00
  • 8b6adf86d6 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-23 19:10:12 +00:00
  • 0070426e97 auto-approve: only re-review if previous review was dismissed Dylan T. 2024-11-23 19:07:24 +00:00
  • c61434d87b Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-22 01:36:17 +00:00
  • a523ed6e40 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-22 01:36:16 +00:00
  • 7c2ed7d884 Fix insta break check () GameParrot 2024-11-20 21:22:10 -05:00
  • dcc258706f Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-21 01:27:14 +00:00
  • d9080f182c we don't need a fake server instance outside of setUp() in these tests Dylan K. Taylor 2024-11-20 16:44:00 +00:00
  • 1e3a858de6 Add setUp and tearDown for event unit tests Dylan K. Taylor 2024-11-20 16:42:50 +00:00
  • d9f5634262 CS Dylan K. Taylor 2024-11-20 16:37:49 +00:00
  • 406e2c6c57 Convert integration tests to unit tests this required mocking to get around . Longer term we should make improvements to avoid the need for mocking here. Dylan K. Taylor 2024-11-20 16:35:20 +00:00
  • 4451770ca3 Merge branch 'minor-next' into feat/async-events Dylan K. Taylor 2024-11-20 15:43:17 +00:00
  • 844ba0ff9f Move event test fixtures to a subdirectory Dylan K. Taylor 2024-11-20 15:40:34 +00:00
  • 49bdaee930 Move event handler inheritance test to PHPUnit using mock objects this is dodgy and we shouldn't rely on it long term. Dylan K. Taylor 2024-11-20 15:38:44 +00:00
  • 9195c88670 ConsoleReader: Use proc_open()'s socket support to send commands back to the main server process () Dylan T. 2024-11-20 14:56:52 +00:00
  • 820e2d4a2f Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-20 01:27:32 +00:00
  • ae19d05fd5 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-20 01:27:30 +00:00
  • bf7a53b00f Update api-change-request.md Dylan T. 2024-11-19 17:47:46 +00:00
  • e710b3750f Adjust pretty name of closures on PHP 8.4 () Markus Staab 2024-11-19 18:05:21 +01:00
  • 0fb1415f7f Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-19 01:36:12 +00:00
  • 8ccd1edb17 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-19 01:36:11 +00:00
  • faf1e26bac Fix: implicitly nullable parameter declarations deprecated () Akmal Fairuz 2024-11-19 06:54:22 +07:00
  • 947c8a0621 remove phpstan docs ShockedPlot7560 2024-11-18 14:51:53 +01:00
  • c77a72f15a some work on anvil ShockedPlot7560 2024-11-18 14:31:08 +01:00
  • a6534ecbbb Fixed merge error Dylan T. 2024-11-17 01:55:46 +00:00
  • 330bcd2423 Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-17 01:39:53 +00:00
  • b4259ef988 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-17 01:39:52 +00:00
  • b2aa6396c3 auto-approve: don't request approvals for draft PRs Dylan T. 2024-11-16 23:15:07 +00:00
  • 1555fa17e7 Added ability to pick end crystal item () ipad54 2024-11-16 22:06:03 +03:00
  • e77f2c5198 Implemented End Crystal () ipad54 2024-11-16 20:57:57 +03:00
  • e71b9e8dc6 Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-16 01:37:29 +00:00
  • e8e441f739 Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-16 01:37:27 +00:00
  • 48a908ee8c maybe making this specific to gameplay wasn't a good idea Dylan T. 2024-11-16 01:36:51 +00:00
  • 9e2d91bae6 Merge 'minor-next' into 'major-next' pmmp-restrictedactions-bot[bot] 2024-11-16 01:26:32 +00:00
  • dc87a2b10e Merge 'stable' into 'minor-next' pmmp-restrictedactions-bot[bot] 2024-11-16 01:26:31 +00:00
  • d3add78d3e Add support for basic entity picking via middle-click () Javier León 2024-11-15 18:27:10 -03:00
  • ff695a5f97 PlayerInteractEvent: added APIs to independently control reaction of item and block () Dylan T. 2024-11-15 21:19:54 +00:00
  • 4b630cb726 start.sh: print warnings on unusual exit codes from the server process () Dylan T. 2024-11-15 21:14:21 +00:00
  • 4331f69b9c Update team-pr-auto-approve.yml Dylan T. 2024-11-15 20:44:51 +00:00
  • b6f55b78a9 Merge 'minor-next' into 'major-next' github-actions 2024-11-15 20:21:33 +00:00
  • fb1213e964 Merge 'stable' into 'minor-next' github-actions 2024-11-15 20:21:32 +00:00
  • 8a693f2a4c team-pr-auto-approve: Use RestrictedActions auto approver Dylan T. 2024-11-15 20:08:54 +00:00
  • 8474eaf5f1 Adjust Sugar Cane to break when there is no water () bonbionseker 2024-11-15 19:27:27 +03:00
  • a75d4687ce Implemented vanilla /xp command () ipad54 2024-11-15 19:09:55 +03:00
  • 0b0c425805 Extract glow lichen multi face logic into traits () ipad54 2024-11-15 18:47:26 +03:00
  • b5469dede2 Flowable blocks now can't be placed inside liquid () ipad54 2024-11-15 03:10:43 +03:00
  • ab5176baf9 Merge branch 'minor-next' into major-next Dylan K. Taylor 2024-11-14 23:16:44 +00:00
  • e0d270a870 Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into minor-next Dylan K. Taylor 2024-11-14 23:14:33 +00:00
  • 2d9cee3d62 Update Language dependency Dylan K. Taylor 2024-11-14 23:14:23 +00:00
  • ed64231c57 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into minor-next Dylan K. Taylor 2024-11-14 23:12:26 +00:00
  • 33a7b46329 Use reflection to locate BlockTypeIds and ItemTypeIds for VanillaBlocks/VanillaItems () Dylan T. 2024-11-14 17:32:22 +00:00
  • 9b58d35516 Implement Goat horns () IvanCraft623 2024-11-14 08:57:07 -05:00
  • d2d663b1c9 Simplify handler sorting Dylan T. 2024-11-14 13:11:38 +00:00
  • 117026cb83 Merge branch 'minor-next' into feat/async-events Dylan T. 2024-11-13 23:06:05 +00:00
  • a7a1077676 CONTRIBUTING: changing an event from sync to async or vice versa is a BC break Dylan K. Taylor 2024-11-13 23:00:49 +00:00
  • 0a56cf877b Remove unused class Dylan K. Taylor 2024-11-13 22:58:29 +00:00
  • 11fdf79a7c ... Dylan K. Taylor 2024-11-13 22:55:08 +00:00
  • edae9f26e4 Reduce number of classes Dylan K. Taylor 2024-11-13 22:23:43 +00:00
  • 667656b1c6 Split AsyncHandlerListManager this allows further code deduplication at the expense of needing 2 calls to unregister all handlers Dylan K. Taylor 2024-11-13 22:08:28 +00:00
  • 972a9fb201 PluginManager: ensure that handler candidates of async events with wrong return types don't attempt to register as sync events this will cause other, more confusing errors to be thrown. Dylan K. Taylor 2024-11-13 21:30:24 +00:00
  • ac1cf73f8e Reduce code duplication Dylan K. Taylor 2024-11-13 21:09:52 +00:00
  • 96989d1dc4 cleanup Dylan K. Taylor 2024-11-13 20:44:35 +00:00
  • 8aed5d6b27 Handler inheritance is now working this code should also perform somewhat better Dylan K. Taylor 2024-11-13 20:35:14 +00:00
  • ef6fce4091 Merge 'minor-next' into 'major-next' github-actions 2024-11-13 19:21:19 +00:00
  • 3629ee7e7b Merge 'stable' into 'minor-next' github-actions 2024-11-13 19:21:16 +00:00
  • fa796535ff ah hello my old friend, impossible-generics.neon propagating generics all the way through the likes of HandlerList etc is more trouble than it's worth. Dylan K. Taylor 2024-11-13 19:09:52 +00:00
  • 32b1d6c0c2 Fixed test code the test still doesn't pass, but at least it's actually testing the problem now... Dylan K. Taylor 2024-11-13 18:52:56 +00:00