Level
endstone.level
¶
Classes:
Chunk
¶
Represents a chunk of blocks.
Attributes:
Dimension
¶
Represents a dimension within a Level.
Classes:
Name | Description |
---|---|
Type |
Represents various dimension types. |
Methods:
Name | Description |
---|---|
get_block_at |
|
Attributes:
Level
¶
Location
¶
Location(
dimension: Dimension,
x: float,
y: float,
z: float,
pitch: float = 0.0,
yaw: float = 0.0,
)
Position
¶
Bases: Vector
Represents a 3-dimensional position in a dimension within a level.
Attributes:
Name | Type | Description |
---|---|---|
block_x |
int
|
Gets the floored value of the X component, indicating the block that this location is contained with. |
block_y |
int
|
Gets the floored value of the Y component, indicating the block that this location is contained with. |
block_z |
int
|
Gets the floored value of the Z component, indicating the block that this location is contained with. |
dimension |
Dimension
|
The Dimension that contains this position |
block_x
property
¶
block_x: int
Gets the floored value of the X component, indicating the block that this location is contained with.
block_y
property
¶
block_y: int
Gets the floored value of the Y component, indicating the block that this location is contained with.