From a634108e266d7176c3d38c241ca81d65a0fbd104 Mon Sep 17 00:00:00 2001 From: IvanCraft623 Date: Tue, 6 Aug 2024 10:34:07 -0500 Subject: [PATCH 1/2] Update EntityMetadataProperties.php --- src/types/entity/EntityMetadataProperties.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/entity/EntityMetadataProperties.php b/src/types/entity/EntityMetadataProperties.php index 4b3a1c3c..5a42ebb8 100644 --- a/src/types/entity/EntityMetadataProperties.php +++ b/src/types/entity/EntityMetadataProperties.php @@ -160,4 +160,5 @@ private function __construct(){ public const PLAYER_DEATH_DIMENSION = 128; //int public const PLAYER_HAS_DIED = 129; //byte public const COLLISION_BOX = 130; //compound + public const VISIBLE_MOB_EFFECTS = 131; //int64 (bytes array of effect ids) } From b472b7be8c130da9619662fcfe4a1338b6d1486e Mon Sep 17 00:00:00 2001 From: IvanCraft623 Date: Wed, 7 Aug 2024 17:55:38 -0500 Subject: [PATCH 2/2] Update VISIBLE_MOB_EFFECTS doc --- src/types/entity/EntityMetadataProperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/entity/EntityMetadataProperties.php b/src/types/entity/EntityMetadataProperties.php index 5a42ebb8..40e837a0 100644 --- a/src/types/entity/EntityMetadataProperties.php +++ b/src/types/entity/EntityMetadataProperties.php @@ -160,5 +160,5 @@ private function __construct(){ public const PLAYER_DEATH_DIMENSION = 128; //int public const PLAYER_HAS_DIED = 129; //byte public const COLLISION_BOX = 130; //compound - public const VISIBLE_MOB_EFFECTS = 131; //int64 (bytes array of effect ids) + public const VISIBLE_MOB_EFFECTS = 131; //long (first 8 visible effects packed, 6 bits for effectId + 1 bit for ambient indicator) }