From d7cda5bb2c01f84c3cc37abeaa076a200cd6d4e5 Mon Sep 17 00:00:00 2001 From: Vincent Date: Sun, 23 Feb 2025 18:33:28 +0000 Subject: [PATCH] chore: update python binding stubs --- endstone/_internal/endstone_python.pyi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/endstone/_internal/endstone_python.pyi b/endstone/_internal/endstone_python.pyi index ba9129b84..f607b7a2c 100644 --- a/endstone/_internal/endstone_python.pyi +++ b/endstone/_internal/endstone_python.pyi @@ -179,6 +179,11 @@ class Actor(CommandSender): Returns true if the actor is supported by a block, i.e. on ground. """ @property + def is_valid(self) -> bool: + """ + Returns false if the entity has died, been despawned for some other reason, or has not been added to the level. + """ + @property def level(self) -> Level: """ Gets the current Level this actor resides in.