From ecf526f2410d9c4e14a3c4cba74eb9dd7066a744 Mon Sep 17 00:00:00 2001 From: kostamax27 Date: Wed, 13 May 2026 20:50:51 +0300 Subject: [PATCH] 1.26.20 --- composer.json | 2 +- composer.lock | 320 ++++++++---------- .../animation/BabyAnimalFeedAnimation.php | 2 +- .../entity/animation/BreedingAnimation.php | 2 +- .../animation/ConsumingItemAnimation.php | 2 +- .../entity/animation/EatBlockAnimation.php | 2 +- .../entity/animation/OfferFlowerAnimation.php | 2 +- .../animation/WithdrawFlowerAnimation.php | 2 +- .../MobPlugin/sound/EntityPlopSound.php | 3 +- .../MobPlugin/sound/EntityShootSound.php | 3 +- .../MobPlugin/sound/EntityStareSound.php | 3 +- .../MobPlugin/sound/IronGolemCrackSound.php | 3 +- .../MobPlugin/sound/IronGolemRepairSound.php | 3 +- .../MobPlugin/sound/MobWarningSound.php | 3 +- .../MobPlugin/sound/ThrowSound.php | 3 +- 15 files changed, 165 insertions(+), 190 deletions(-) diff --git a/composer.json b/composer.json index ff49d19..2cc03b8 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ }, "require-dev": { "php": "^8.0", - "pocketmine/pocketmine-mp": "^5.27.0", + "pocketmine/pocketmine-mp": "^5.42.2", "phpstan/phpstan": "1.10.21" }, "repositories": [ diff --git a/composer.lock b/composer.lock index 40a793d..b1813e8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b32082e06a803cfb97184589ee149e75", + "content-hash": "d3d1b6825b752e98c06d9dabcbac164c", "packages": [ { "name": "ivancraft623/pathfinder", "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/IvanCraft623/Pahtfinder.git", - "reference": "7dbe8eb4c0e99861bf70f44771fdafde709a3083" + "url": "git@github.com:IvanCraft623/Pahtfinder.git", + "reference": "dfd543e741aba033e57ff01c8b99ff0f13dc63c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/IvanCraft623/Pahtfinder/zipball/7dbe8eb4c0e99861bf70f44771fdafde709a3083", - "reference": "7dbe8eb4c0e99861bf70f44771fdafde709a3083", + "url": "https://api.github.com/repos/IvanCraft623/Pahtfinder/zipball/dfd543e741aba033e57ff01c8b99ff0f13dc63c9", + "reference": "dfd543e741aba033e57ff01c8b99ff0f13dc63c9", "shasum": "" }, "require-dev": { @@ -33,14 +33,10 @@ } }, "license": [ - "Apache-2.0" + "GPL-3.0" ], "description": "Pathfinder library for PocketMine-MP.", - "support": { - "source": "https://github.com/IvanCraft623/Pahtfinder/tree/main", - "issues": "https://github.com/IvanCraft623/Pahtfinder/issues" - }, - "time": "2025-06-18T01:19:56+00:00" + "time": "2025-08-23T01:18:42+00:00" } ], "packages-dev": [ @@ -105,25 +101,25 @@ }, { "name": "brick/math", - "version": "0.12.3", + "version": "0.14.8", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" + "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", + "url": "https://api.github.com/repos/brick/math/zipball/63422359a44b7f06cae63c3b429b59e8efcc0629", + "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22", + "phpunit/phpunit": "^11.5" }, "type": "library", "autoload": { @@ -153,7 +149,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.3" + "source": "https://github.com/brick/math/tree/0.14.8" }, "funding": [ { @@ -161,20 +157,20 @@ "type": "github" } ], - "time": "2025-02-28T13:11:00+00:00" + "time": "2026-02-10T14:33:43+00:00" }, { "name": "netresearch/jsonmapper", - "version": "v5.0.0", + "version": "v5.0.1", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "8c64d8d444a5d764c641ebe97e0e3bc72b25bf6c" + "reference": "980674efdda65913492d29a8fd51c82270dd37bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8c64d8d444a5d764c641ebe97e0e3bc72b25bf6c", - "reference": "8c64d8d444a5d764c641ebe97e0e3bc72b25bf6c", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/980674efdda65913492d29a8fd51c82270dd37bb", + "reference": "980674efdda65913492d29a8fd51c82270dd37bb", "shasum": "" }, "require": { @@ -210,9 +206,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v5.0.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v5.0.1" }, - "time": "2024-09-08T10:20:00+00:00" + "time": "2026-02-22T16:28:03+00:00" }, { "name": "phpstan/phpstan", @@ -278,16 +274,16 @@ }, { "name": "pocketmine/bedrock-block-upgrade-schema", - "version": "5.1.0", + "version": "5.2.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockBlockUpgradeSchema.git", - "reference": "2218512e4b91f5bfd09ef55f7a4c4b04e169e41a" + "reference": "5d7889c9a1cdf9e3cd814d2a104ad69b75116ec7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/2218512e4b91f5bfd09ef55f7a4c4b04e169e41a", - "reference": "2218512e4b91f5bfd09ef55f7a4c4b04e169e41a", + "url": "https://api.github.com/repos/pmmp/BedrockBlockUpgradeSchema/zipball/5d7889c9a1cdf9e3cd814d2a104ad69b75116ec7", + "reference": "5d7889c9a1cdf9e3cd814d2a104ad69b75116ec7", "shasum": "" }, "type": "library", @@ -298,22 +294,22 @@ "description": "Schemas describing how to upgrade saved block data in older Minecraft: Bedrock Edition world saves", "support": { "issues": "https://github.com/pmmp/BedrockBlockUpgradeSchema/issues", - "source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/5.1.0" + "source": "https://github.com/pmmp/BedrockBlockUpgradeSchema/tree/5.2.0" }, - "time": "2025-02-11T17:41:44+00:00" + "time": "2025-10-02T13:22:10+00:00" }, { "name": "pocketmine/bedrock-data", - "version": "5.0.0+bedrock-1.21.80", + "version": "6.6.0+bedrock-1.26.20", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockData.git", - "reference": "e38d5ea19f794ec5216e5f96742237e8c4e7f080" + "reference": "e5a25957497a4520f4672a379e2a3f6b87602e37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/e38d5ea19f794ec5216e5f96742237e8c4e7f080", - "reference": "e38d5ea19f794ec5216e5f96742237e8c4e7f080", + "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/e5a25957497a4520f4672a379e2a3f6b87602e37", + "reference": "e5a25957497a4520f4672a379e2a3f6b87602e37", "shasum": "" }, "type": "library", @@ -324,22 +320,22 @@ "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", "support": { "issues": "https://github.com/pmmp/BedrockData/issues", - "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.21.80" + "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.26.20" }, - "time": "2025-05-09T14:15:18+00:00" + "time": "2026-05-09T15:06:58+00:00" }, { "name": "pocketmine/bedrock-item-upgrade-schema", - "version": "1.14.0", + "version": "1.17.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockItemUpgradeSchema.git", - "reference": "9fc7c9bbb558a017395c1cb7dd819c033ee971bb" + "reference": "e19685d2e7e76eb7446115c556df34e5d627d072" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockItemUpgradeSchema/zipball/9fc7c9bbb558a017395c1cb7dd819c033ee971bb", - "reference": "9fc7c9bbb558a017395c1cb7dd819c033ee971bb", + "url": "https://api.github.com/repos/pmmp/BedrockItemUpgradeSchema/zipball/e19685d2e7e76eb7446115c556df34e5d627d072", + "reference": "e19685d2e7e76eb7446115c556df34e5d627d072", "shasum": "" }, "type": "library", @@ -350,25 +346,26 @@ "description": "JSON schemas for upgrading items found in older Minecraft: Bedrock world saves", "support": { "issues": "https://github.com/pmmp/BedrockItemUpgradeSchema/issues", - "source": "https://github.com/pmmp/BedrockItemUpgradeSchema/tree/1.14.0" + "source": "https://github.com/pmmp/BedrockItemUpgradeSchema/tree/1.17.0" }, - "time": "2024-12-04T12:22:49+00:00" + "time": "2026-05-06T13:12:04+00:00" }, { "name": "pocketmine/bedrock-protocol", - "version": "38.0.1+bedrock-1.21.80", + "version": "57.1.0+bedrock-1.26.20", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockProtocol.git", - "reference": "0c1c13e970a2e1ded1609d0b442b4fcfd24cd21f" + "reference": "b38ef7d8a87651d8b253645196fac97b6825cb98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/0c1c13e970a2e1ded1609d0b442b4fcfd24cd21f", - "reference": "0c1c13e970a2e1ded1609d0b442b4fcfd24cd21f", + "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/b38ef7d8a87651d8b253645196fac97b6825cb98", + "reference": "b38ef7d8a87651d8b253645196fac97b6825cb98", "shasum": "" }, "require": { + "ext-encoding": "~1.0.0", "ext-json": "*", "php": "^8.1", "pocketmine/binaryutils": "^0.2.0", @@ -396,22 +393,22 @@ "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "support": { "issues": "https://github.com/pmmp/BedrockProtocol/issues", - "source": "https://github.com/pmmp/BedrockProtocol/tree/38.0.1+bedrock-1.21.80" + "source": "https://github.com/pmmp/BedrockProtocol/tree/57.1.0+bedrock-1.26.20" }, - "time": "2025-05-17T11:56:33+00:00" + "time": "2026-05-09T17:13:12+00:00" }, { "name": "pocketmine/binaryutils", - "version": "0.2.6", + "version": "0.2.7", "source": { "type": "git", "url": "https://github.com/pmmp/BinaryUtils.git", - "reference": "ccfc1899b859d45814ea3592e20ebec4cb731c84" + "reference": "14c044afa33cb581b4a6d1ea04a87e0bc99e824b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/ccfc1899b859d45814ea3592e20ebec4cb731c84", - "reference": "ccfc1899b859d45814ea3592e20ebec4cb731c84", + "url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/14c044afa33cb581b4a6d1ea04a87e0bc99e824b", + "reference": "14c044afa33cb581b4a6d1ea04a87e0bc99e824b", "shasum": "" }, "require": { @@ -420,9 +417,9 @@ }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "~1.10.3", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0.0", + "phpstan/phpstan": "2.1.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0.0", "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0" }, "type": "library", @@ -438,36 +435,36 @@ "description": "Classes and methods for conveniently handling binary data", "support": { "issues": "https://github.com/pmmp/BinaryUtils/issues", - "source": "https://github.com/pmmp/BinaryUtils/tree/0.2.6" + "source": "https://github.com/pmmp/BinaryUtils/tree/0.2.7" }, - "time": "2024-03-04T15:04:17+00:00" + "time": "2025-12-24T04:20:35+00:00" }, { "name": "pocketmine/callback-validator", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/pmmp/CallbackValidator.git", - "reference": "64787469766bcaa7e5885242e85c23c25e8c55a2" + "reference": "143fa6e13254f1ab90c31b223982016f95635c37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/CallbackValidator/zipball/64787469766bcaa7e5885242e85c23c25e8c55a2", - "reference": "64787469766bcaa7e5885242e85c23c25e8c55a2", + "url": "https://api.github.com/repos/pmmp/CallbackValidator/zipball/143fa6e13254f1ab90c31b223982016f95635c37", + "reference": "143fa6e13254f1ab90c31b223982016f95635c37", "shasum": "" }, "require": { "ext-reflection": "*", - "php": "^7.1 || ^8.0" + "php": "^8.0" }, "replace": { "daverandom/callback-validator": "*" }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "0.12.59", - "phpstan/phpstan-strict-rules": "^0.12.4", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.0" + "phpstan/phpstan": "2.1.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0" }, "type": "library", "autoload": { @@ -488,9 +485,9 @@ "description": "Fork of daverandom/callback-validator - Tools for validating callback signatures", "support": { "issues": "https://github.com/pmmp/CallbackValidator/issues", - "source": "https://github.com/pmmp/CallbackValidator/tree/1.0.3" + "source": "https://github.com/pmmp/CallbackValidator/tree/1.0.4" }, - "time": "2020-12-11T01:45:37+00:00" + "time": "2025-12-24T01:25:05+00:00" }, { "name": "pocketmine/color", @@ -532,24 +529,24 @@ }, { "name": "pocketmine/errorhandler", - "version": "0.7.0", + "version": "0.7.1", "source": { "type": "git", "url": "https://github.com/pmmp/ErrorHandler.git", - "reference": "cae94884368a74ece5294b9ff7fef18732dcd921" + "reference": "84c9ec829163f21ced425d8f3b27d32f908e87fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/ErrorHandler/zipball/cae94884368a74ece5294b9ff7fef18732dcd921", - "reference": "cae94884368a74ece5294b9ff7fef18732dcd921", + "url": "https://api.github.com/repos/pmmp/ErrorHandler/zipball/84c9ec829163f21ced425d8f3b27d32f908e87fb", + "reference": "84c9ec829163f21ced425d8f3b27d32f908e87fb", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "~1.10.3", - "phpstan/phpstan-strict-rules": "^1.0", + "phpstan/phpstan": "2.1.33", + "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0" }, "type": "library", @@ -565,32 +562,9 @@ "description": "Utilities to handle nasty PHP E_* errors in a usable way", "support": { "issues": "https://github.com/pmmp/ErrorHandler/issues", - "source": "https://github.com/pmmp/ErrorHandler/tree/0.7.0" + "source": "https://github.com/pmmp/ErrorHandler/tree/0.7.1" }, - "time": "2024-04-02T18:29:54+00:00" - }, - { - "name": "pocketmine/locale-data", - "version": "2.24.2", - "source": { - "type": "git", - "url": "https://github.com/pmmp/Language.git", - "reference": "2a00c44c52bce98e7a43aa31517df78cbb2ba23b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmmp/Language/zipball/2a00c44c52bce98e7a43aa31517df78cbb2ba23b", - "reference": "2a00c44c52bce98e7a43aa31517df78cbb2ba23b", - "shasum": "" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "description": "Language resources used by PocketMine-MP", - "support": { - "issues": "https://github.com/pmmp/Language/issues", - "source": "https://github.com/pmmp/Language/tree/2.24.2" - }, - "time": "2025-04-03T01:23:27+00:00" + "time": "2025-12-24T02:26:52+00:00" }, { "name": "pocketmine/log", @@ -676,16 +650,16 @@ }, { "name": "pocketmine/nbt", - "version": "1.1.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/pmmp/NBT.git", - "reference": "c3c7b0a7295daeaf7873d90fed5c5d10381d12e1" + "reference": "51b8d6a97065fb93e0b4f660b65164b6e1ed2fff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/NBT/zipball/c3c7b0a7295daeaf7873d90fed5c5d10381d12e1", - "reference": "c3c7b0a7295daeaf7873d90fed5c5d10381d12e1", + "url": "https://api.github.com/repos/pmmp/NBT/zipball/51b8d6a97065fb93e0b4f660b65164b6e1ed2fff", + "reference": "51b8d6a97065fb93e0b4f660b65164b6e1ed2fff", "shasum": "" }, "require": { @@ -695,7 +669,8 @@ }, "require-dev": { "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "2.1.0", + "phpstan/phpstan": "2.1.27", + "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^9.5" }, @@ -712,22 +687,22 @@ "description": "PHP library for working with Named Binary Tags", "support": { "issues": "https://github.com/pmmp/NBT/issues", - "source": "https://github.com/pmmp/NBT/tree/1.1.1" + "source": "https://github.com/pmmp/NBT/tree/1.2.0" }, - "time": "2025-03-09T01:46:03+00:00" + "time": "2025-09-19T18:09:30+00:00" }, { "name": "pocketmine/pocketmine-mp", - "version": "5.28.2", + "version": "5.43.1", "source": { "type": "git", "url": "https://github.com/pmmp/PocketMine-MP.git", - "reference": "81d3017ad5e15e8f6ca846733826b47a5e90eba2" + "reference": "763354dfadf13e4df00b8485c93da0c9dc2965a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/PocketMine-MP/zipball/81d3017ad5e15e8f6ca846733826b47a5e90eba2", - "reference": "81d3017ad5e15e8f6ca846733826b47a5e90eba2", + "url": "https://api.github.com/repos/pmmp/PocketMine-MP/zipball/763354dfadf13e4df00b8485c93da0c9dc2965a0", + "reference": "763354dfadf13e4df00b8485c93da0c9dc2965a0", "shasum": "" }, "require": { @@ -738,6 +713,7 @@ "ext-ctype": "*", "ext-curl": "*", "ext-date": "*", + "ext-encoding": "~1.0.0", "ext-gmp": "*", "ext-hash": "*", "ext-igbinary": "^3.0.1", @@ -759,30 +735,29 @@ "netresearch/jsonmapper": "~v5.0.0", "php": "^8.1", "php-64bit": "*", - "pocketmine/bedrock-block-upgrade-schema": "~5.1.0+bedrock-1.21.60", - "pocketmine/bedrock-data": "~5.0.0+bedrock-1.21.80", - "pocketmine/bedrock-item-upgrade-schema": "~1.14.0+bedrock-1.21.50", - "pocketmine/bedrock-protocol": "~38.0.0+bedrock-1.21.80", + "pocketmine/bedrock-block-upgrade-schema": "~5.2.0+bedrock-1.21.110", + "pocketmine/bedrock-data": "~6.6.0+bedrock-1.26.20", + "pocketmine/bedrock-item-upgrade-schema": "~1.17.0+bedrock-1.26.20", + "pocketmine/bedrock-protocol": "~57.1.0+bedrock-1.26.20", "pocketmine/binaryutils": "^0.2.1", - "pocketmine/callback-validator": "^1.0.2", + "pocketmine/callback-validator": "~1.0.4", "pocketmine/color": "^0.3.0", "pocketmine/errorhandler": "^0.7.0", - "pocketmine/locale-data": "~2.24.0", "pocketmine/log": "^0.4.0", "pocketmine/math": "~1.0.0", - "pocketmine/nbt": "~1.1.0", - "pocketmine/raklib": "~1.1.2", + "pocketmine/nbt": "~1.2.0", + "pocketmine/raklib": "~1.2.0", "pocketmine/raklib-ipc": "~1.0.0", "pocketmine/snooze": "^0.5.0", - "ramsey/uuid": "~4.7.0", + "ramsey/uuid": "~4.9.0", "symfony/filesystem": "~6.4.0" }, - "provide": { + "replace": { "symfony/polyfill-ctype": "*", "symfony/polyfill-mbstring": "*" }, "require-dev": { - "phpstan/phpstan": "2.1.16", + "phpstan/phpstan": "2.1.46", "phpstan/phpstan-phpunit": "^2.0.0", "phpstan/phpstan-strict-rules": "^2.0.0", "phpunit/phpunit": "^10.5.24" @@ -793,7 +768,10 @@ "src/CoreConstants.php" ], "psr-4": { - "pocketmine\\": "src/" + "pocketmine\\": [ + "src/", + "generated/" + ] } }, "notification-url": "https://packagist.org/downloads/", @@ -804,7 +782,7 @@ "homepage": "https://pmmp.io", "support": { "issues": "https://github.com/pmmp/PocketMine-MP/issues", - "source": "https://github.com/pmmp/PocketMine-MP/tree/5.28.2" + "source": "https://github.com/pmmp/PocketMine-MP/tree/5.43.1" }, "funding": [ { @@ -816,20 +794,20 @@ "type": "patreon" } ], - "time": "2025-05-17T15:44:19+00:00" + "time": "2026-05-09T17:40:51+00:00" }, { "name": "pocketmine/raklib", - "version": "1.1.2", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/pmmp/RakLib.git", - "reference": "4145a31cd812fe8931c3c9c691fcd2ded2f47e7f" + "reference": "669eb4d1e644f91437323ef24ce3ee985182b829" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/RakLib/zipball/4145a31cd812fe8931c3c9c691fcd2ded2f47e7f", - "reference": "4145a31cd812fe8931c3c9c691fcd2ded2f47e7f", + "url": "https://api.github.com/repos/pmmp/RakLib/zipball/669eb4d1e644f91437323ef24ce3ee985182b829", + "reference": "669eb4d1e644f91437323ef24ce3ee985182b829", "shasum": "" }, "require": { @@ -841,7 +819,7 @@ "pocketmine/log": "^0.3.0 || ^0.4.0" }, "require-dev": { - "phpstan/phpstan": "2.1.0", + "phpstan/phpstan": "2.1.33", "phpstan/phpstan-strict-rules": "^2.0" }, "type": "library", @@ -857,9 +835,9 @@ "description": "A RakNet server implementation written in PHP", "support": { "issues": "https://github.com/pmmp/RakLib/issues", - "source": "https://github.com/pmmp/RakLib/tree/1.1.2" + "source": "https://github.com/pmmp/RakLib/tree/1.2.1" }, - "time": "2025-04-06T03:38:21+00:00" + "time": "2025-12-24T03:02:42+00:00" }, { "name": "pocketmine/raklib-ipc", @@ -1020,21 +998,20 @@ }, { "name": "ramsey/uuid", - "version": "4.7.6", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", - "ext-json": "*", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -1042,26 +1019,23 @@ "rhumsaa/uuid": "self.version" }, "require-dev": { - "captainhook/captainhook": "^5.10", + "captainhook/captainhook": "^5.25", "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.8", - "ergebnis/composer-normalize": "^2.15", - "mockery/mockery": "^1.3", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "ergebnis/composer-normalize": "^2.47", + "mockery/mockery": "^1.6", "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.2", - "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^8.5 || ^9", - "ramsey/composer-repl": "^1.4", - "slevomat/coding-standard": "^8.4", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.9" + "php-mock/php-mock": "^2.6", + "php-mock/php-mock-mockery": "^1.5", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "phpbench/phpbench": "^1.2.14", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6", + "slevomat/coding-standard": "^8.18", + "squizlabs/php_codesniffer": "^3.13" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", @@ -1096,32 +1070,22 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.6" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", - "type": "tidelift" - } - ], - "time": "2024-04-27T21:32:50+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.13", + "version": "v6.4.37", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3" + "reference": "29f792d7dc30cc670fc4cdd50d7c6653d067ce7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3", - "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/29f792d7dc30cc670fc4cdd50d7c6653d067ce7b", + "reference": "29f792d7dc30cc670fc4cdd50d7c6653d067ce7b", "shasum": "" }, "require": { @@ -1158,7 +1122,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.13" + "source": "https://github.com/symfony/filesystem/tree/v6.4.37" }, "funding": [ { @@ -1169,12 +1133,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-25T15:07:50+00:00" + "time": "2026-04-13T15:27:04+00:00" } ], "aliases": [], @@ -1184,9 +1152,9 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": {}, "platform-dev": { "php": "^8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.9.0" } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/BabyAnimalFeedAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/BabyAnimalFeedAnimation.php index 61e262e..642046d 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/BabyAnimalFeedAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/BabyAnimalFeedAnimation.php @@ -35,7 +35,7 @@ public function __construct(private Animal $animal){} public function encode() : array{ return [ - ActorEventPacket::create($this->animal->getId(), ActorEvent::BABY_ANIMAL_FEED, 0) + ActorEventPacket::create($this->animal->getId(), ActorEvent::BABY_ANIMAL_FEED, 0, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/BreedingAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/BreedingAnimation.php index 08efe47..5389410 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/BreedingAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/BreedingAnimation.php @@ -35,7 +35,7 @@ public function __construct(private Animal $animal){} public function encode() : array{ return [ - ActorEventPacket::create($this->animal->getId(), ActorEvent::LOVE_PARTICLES, 0) + ActorEventPacket::create($this->animal->getId(), ActorEvent::LOVE_PARTICLES, 0, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/ConsumingItemAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/ConsumingItemAnimation.php index 2be8cc2..8c8df42 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/ConsumingItemAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/ConsumingItemAnimation.php @@ -41,7 +41,7 @@ public function encode() : array{ [$netId, $netData] = TypeConverter::getInstance()->getItemTranslator()->toNetworkId($this->item); return [ //TODO: need to check the data values - ActorEventPacket::create($this->entity->getId(), ActorEvent::EATING_ITEM, ($netId << 16) | $netData) + ActorEventPacket::create($this->entity->getId(), ActorEvent::EATING_ITEM, ($netId << 16) | $netData, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/EatBlockAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/EatBlockAnimation.php index f2682f3..82cec9d 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/EatBlockAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/EatBlockAnimation.php @@ -35,7 +35,7 @@ public function __construct(private Animal $animal){} public function encode() : array{ return [ - ActorEventPacket::create($this->animal->getId(), ActorEvent::EAT_GRASS_ANIMATION, 0) + ActorEventPacket::create($this->animal->getId(), ActorEvent::EAT_GRASS_ANIMATION, 0, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/OfferFlowerAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/OfferFlowerAnimation.php index 882f1ea..ccb06ed 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/OfferFlowerAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/OfferFlowerAnimation.php @@ -35,7 +35,7 @@ public function __construct(private IronGolem $golem, private int $durationTicks public function encode() : array{ return [ - ActorEventPacket::create($this->golem->getId(), ActorEvent::IRON_GOLEM_OFFER_FLOWER, $this->durationTicks) + ActorEventPacket::create($this->golem->getId(), ActorEvent::IRON_GOLEM_OFFER_FLOWER, $this->durationTicks, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/entity/animation/WithdrawFlowerAnimation.php b/src/IvanCraft623/MobPlugin/entity/animation/WithdrawFlowerAnimation.php index dd18766..2ca4c33 100644 --- a/src/IvanCraft623/MobPlugin/entity/animation/WithdrawFlowerAnimation.php +++ b/src/IvanCraft623/MobPlugin/entity/animation/WithdrawFlowerAnimation.php @@ -35,7 +35,7 @@ public function __construct(private IronGolem $golem){} public function encode() : array{ return [ - ActorEventPacket::create($this->golem->getId(), ActorEvent::IRON_GOLEM_WITHDRAW_FLOWER, 0) + ActorEventPacket::create($this->golem->getId(), ActorEvent::IRON_GOLEM_WITHDRAW_FLOWER, 0, null) ]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/EntityPlopSound.php b/src/IvanCraft623/MobPlugin/sound/EntityPlopSound.php index e439a96..d50d7c8 100644 --- a/src/IvanCraft623/MobPlugin/sound/EntityPlopSound.php +++ b/src/IvanCraft623/MobPlugin/sound/EntityPlopSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, //TODO: does isBaby have any relevance here? false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/EntityShootSound.php b/src/IvanCraft623/MobPlugin/sound/EntityShootSound.php index 443927f..a83c985 100644 --- a/src/IvanCraft623/MobPlugin/sound/EntityShootSound.php +++ b/src/IvanCraft623/MobPlugin/sound/EntityShootSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, //TODO: does isBaby have any relevance here? false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/EntityStareSound.php b/src/IvanCraft623/MobPlugin/sound/EntityStareSound.php index a33a9ae..f0c3cb8 100644 --- a/src/IvanCraft623/MobPlugin/sound/EntityStareSound.php +++ b/src/IvanCraft623/MobPlugin/sound/EntityStareSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, //TODO: does isBaby have any relevance here? false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/IronGolemCrackSound.php b/src/IvanCraft623/MobPlugin/sound/IronGolemCrackSound.php index 0d8040e..ea357e3 100644 --- a/src/IvanCraft623/MobPlugin/sound/IronGolemCrackSound.php +++ b/src/IvanCraft623/MobPlugin/sound/IronGolemCrackSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/IronGolemRepairSound.php b/src/IvanCraft623/MobPlugin/sound/IronGolemRepairSound.php index 0aa1c0f..f60e427 100644 --- a/src/IvanCraft623/MobPlugin/sound/IronGolemRepairSound.php +++ b/src/IvanCraft623/MobPlugin/sound/IronGolemRepairSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/MobWarningSound.php b/src/IvanCraft623/MobPlugin/sound/MobWarningSound.php index 84a46eb..43be058 100644 --- a/src/IvanCraft623/MobPlugin/sound/MobWarningSound.php +++ b/src/IvanCraft623/MobPlugin/sound/MobWarningSound.php @@ -43,7 +43,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), $isBaby, false, - $this->entity->getId() + $this->entity->getId(), + null )]; } } diff --git a/src/IvanCraft623/MobPlugin/sound/ThrowSound.php b/src/IvanCraft623/MobPlugin/sound/ThrowSound.php index 1f03201..32b959f 100644 --- a/src/IvanCraft623/MobPlugin/sound/ThrowSound.php +++ b/src/IvanCraft623/MobPlugin/sound/ThrowSound.php @@ -41,7 +41,8 @@ public function encode(Vector3 $pos) : array{ $this->entity::getNetworkTypeId(), false, false, - $this->entity->getId() + $this->entity->getId(), + null )]; } }