Skip to content

Bedrock 1.26.10#342

Merged
dktapps merged 2 commits into
masterfrom
bedrock-1.26.10
Mar 25, 2026
Merged

Bedrock 1.26.10#342
dktapps merged 2 commits into
masterfrom
bedrock-1.26.10

Conversation

@dries-c
Copy link
Copy Markdown
Member

@dries-c dries-c commented Mar 25, 2026

No description provided.

@dries-c dries-c requested a review from a team as a code owner March 25, 2026 01:14
pmmp-admin-bot[bot]
pmmp-admin-bot Bot previously approved these changes Mar 25, 2026
$cache = array_flip(self::EASE_TYPE_NAMES);
}

return $cache[$name] ?? throw new \InvalidArgumentException("Invalid raw value \"$name\" for EaseType.");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use PacketDecodeException

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I may be wrong on this one. Depends if it's used during a decode handler or not. If it is, we don't want to be throwing random exceptions since it'll crash

Comment thread src/types/AttributeValueColorArray.php Outdated
$value = [];
for($i = 0; $i < 4; ++$i){
$value[] = LE::readUnsignedInt($in);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to just read these as separate vars - better for serialize/deserialize symmetry analysis that way


class ClientboundDataDrivenUICloseAllScreensPacket extends DataPacket implements ClientboundPacket{
public const NETWORK_ID = ProtocolInfo::CLIENTBOUND_DATA_DRIVEN_UI_CLOSE_ALL_SCREENS_PACKET;
class ResourcePacksReadyForValidationPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this clientbound or serverbound?

use pmmp\encoding\LE;
use pocketmine\network\mcpe\protocol\serializer\CommonTypes;

class ServerboundDataDrivenScreenClosedPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should implement ServerboundPacket

Comment thread src/SyncWorldClocksPacket.php Outdated
use pocketmine\network\mcpe\protocol\types\SyncWorldClocksRemoveTimeMarker;
use pocketmine\network\mcpe\protocol\types\SyncWorldClocksSyncState;

class SyncWorldClocksPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing clientbound/serverbound interface

use pocketmine\network\mcpe\protocol\types\AttributeUpdateLayers;
use pocketmine\network\mcpe\protocol\types\AttributeUpdateLayerSettings;

class ClientboundAttributeLayerSyncPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should implement ClientboundPacket

Comment thread src/LocatorBarPacket.php Outdated
use pocketmine\network\mcpe\protocol\types\LocatorBarWaypointPayload;
use function count;

class LocatorBarPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing clientbound/serverbound

Comment thread src/PartyChangedPacket.php Outdated
use pmmp\encoding\ByteBufferWriter;
use pocketmine\network\mcpe\protocol\serializer\CommonTypes;

class PartyChangedPacket extends DataPacket{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing clientbound/serverbound

@dktapps dktapps merged commit 4a47408 into master Mar 25, 2026
15 checks passed
@dktapps dktapps deleted the bedrock-1.26.10 branch March 25, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants