Miscellaneous
endstone.ColorFormat
¶
All supported color and format codes.
Attributes:
endstone.GameMode
¶
GameMode(value: int)
endstone.Logger
¶
Logger class which can format and output varies levels of logs.
Classes:
Name | Description |
---|---|
Level |
Specifies the log level. |
Methods:
Name | Description |
---|---|
critical |
Log a message at the CRITICAL level. |
debug |
Log a message at the DEBUG level. |
error |
Log a message at the ERROR level. |
info |
Log a message at the INFO level. |
is_enabled_for |
Check if the Logger instance is enabled for the given log Level. |
set_level |
Set the logging level for this Logger instance. |
trace |
Log a message at the TRACE level. |
warning |
Log a message at the WARNING level. |
Attributes:
Name | Type | Description |
---|---|---|
CRITICAL |
Level
|
|
DEBUG |
Level
|
|
ERROR |
Level
|
|
INFO |
Level
|
|
TRACE |
Level
|
|
WARNING |
Level
|
|
name |
str
|
Get the name of this Logger instance. |
endstone.Skin
¶
Skin(
skin_id: str,
skin_data: ndarray[uint8],
cape_id: str | None = None,
cape_data: ndarray[uint8] | None = None,
)
endstone.util
¶
Classes:
Name | Description |
---|---|
SocketAddress |
Represents an IP Socket Address (hostname + port number). |
Vector |
Represents a 3-dimensional vector. |
SocketAddress
¶
Vector
¶
Represents a 3-dimensional vector.
Methods:
Name | Description |
---|---|
distance |
The distance between this Vector and another |
distance_squared |
The squared distance between this Vector and another |
Attributes:
Name | Type | Description |
---|---|---|
length |
float
|
The magnitude of the Vector |
length_squared |
float
|
The squared magnitude of the Vector |
x |
float
|
The X component of the vector |
y |
float
|
The Y component of the vector |
z |
float
|
The Z component of the vector |