Skip to content

Commit

Permalink
chore: update python binding stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Feb 23, 2025
1 parent c0bc949 commit d7cda5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions endstone/_internal/endstone_python.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d7cda5b

Please sign in to comment.