|
Phpcraft
|
Public Member Functions | |
| set (Point3D $pos, ?BlockState $blockState=null) | |
| getChunk (int $x, int $z) | |
| apply (Structure $structure, Point3D $origin) | |
Public Attributes | |
| $chunkGenerator | |
| $chunks = [] | |
| $changed_chunks = [] | |
| Phpcraft\World\World::getChunk | ( | int | $x, |
| int | $z | ||
| ) |
| Phpcraft\World\World::set | ( | Point3D | $pos, |
| ?BlockState | $blockState = null |
||
| ) |
Sets the block state at the given position.
| Point3D | $pos | |
| BlockState | null | $blockState |
| Phpcraft\World\World::$changed_chunks = [] |
| ChunkGenerator Phpcraft\World\World::$chunkGenerator |
| Phpcraft\World\World::$chunks = [] |
1.8.17