Skip to content

Conversation

smartcmd
Copy link
Contributor

@smartcmd smartcmd commented Jun 25, 2025

Available shapes:

  • DebugLine
  • DebugBox
  • DebugSphere
  • DebugCircle
  • DebugText
  • DebugArrow

Basic code example in Python:

from endstone.debugshape import *

shape = DebugText()
shape.text = "some text you want"
shape.position = (0, 64, 0)
# Set the RGBA values of the text color
shape.color = [80, 100, 200, 255]
# Add player to this debug shape
shape.add_player(player1)
shape.add_player(player2)
# Changes will be sent to the players automatically
shape.position = (0, 128, 0)
shape.remove_player(player1)
# You can also using `remove_all()` method to remove all players who is viewing this debug shape
shape.remove_all()

@smartcmd smartcmd marked this pull request as ready for review June 25, 2025 17:18
@smartcmd
Copy link
Contributor Author

image

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.

3 participants