Свойство | Type | Description | |
---|---|---|---|
Difficulty | Difficulty | ||
GameMode | GameMode | ||
Name | string | ||
Regions | Region>.Dictionary | ||
Seed | long | ||
SpawnPoint | Vector3 | ||
WorldGenerator | IWorldGenerator |
Méthode | Description | |
---|---|---|
GetBlock ( Vector3 position ) : Craft.Net.Server.Blocks.Block | ||
GetChunk ( Vector3 position ) : Craft.Net.Server.Worlds.Chunk |
Returns the chunk at the specific position
|
|
SetBlock ( Vector3 position, Block value ) : void | ||
SetChunk ( Vector3 position, Chunk chunk ) : void |
Sets the chunk at the given position to the chunk provided.
|
|
World ( IWorldGenerator WorldGenerator ) : System | ||
World ( IWorldGenerator WorldGenerator, long Seed ) : System |
Méthode | Description | |
---|---|---|
FindBlockPosition ( Vector3 position, Craft.Net.Server.Worlds.Chunk &chunk ) : Vector3 |
public GetBlock ( Vector3 position ) : Craft.Net.Server.Blocks.Block | ||
position | Vector3 | |
Résultat | Craft.Net.Server.Blocks.Block |
public GetChunk ( Vector3 position ) : Craft.Net.Server.Worlds.Chunk | ||
position | Vector3 | Position in chunk coordinates |
Résultat | Craft.Net.Server.Worlds.Chunk |
public SetBlock ( Vector3 position, Block value ) : void | ||
position | Vector3 | |
value | Block | |
Résultat | void |
public SetChunk ( Vector3 position, Chunk chunk ) : void | ||
position | Vector3 | Position in chunk coordinates |
chunk | Chunk | |
Résultat | void |
public World ( IWorldGenerator WorldGenerator ) : System | ||
WorldGenerator | IWorldGenerator | |
Résultat | System |
public World ( IWorldGenerator WorldGenerator, long Seed ) : System | ||
WorldGenerator | IWorldGenerator | |
Seed | long | |
Résultat | System |