Empeld
Empeld plugin documentation.
|
Add some basic functionality on top of an IGenerator More...
Public Member Functions | |
Vector3d | GetOpenPointNear (int cx, int cy, int cz, int openSize=2, int maxSearch=50) |
Search an area in the world generator for an open space near a coordinate More... | |
virtual Vector3d | GetSpawn () |
Default spawn point near 0,0,0 More... | |
virtual Vector3d | GetGravity (int cx, int cy, int cz) |
Gets the direction of the gravity at a given point More... | |
abstract IBlock | GetBlock (int x, int y, int z) |
Gets the type of block at a given coordinate The main engine of the world generator More... | |
Properties | |
string | Name [get] |
Get name of the generator as defined in the attribute More... | |
Add some basic functionality on top of an IGenerator
|
pure virtual |
Gets the type of block at a given coordinate The main engine of the world generator
x | The x coordinate. |
y | The y coordinate. |
z | The z coordinate. |
Implements pluginbase.Objects.World.Generators.IBlockGenerator.
Implemented in essentials.WorldGenerators.FlatWorld.
|
virtual |
Gets the direction of the gravity at a given point
cx | Cx. |
cy | Cy. |
cz | Cz. |
Implements pluginbase.Objects.World.Generators.IWorldGenerator.
Vector3d pluginbase.Objects.World.Generators.WorldGeneratorBase.GetOpenPointNear | ( | int | cx, |
int | cy, | ||
int | cz, | ||
int | openSize = 2 , |
||
int | maxSearch = 50 |
||
) |
Search an area in the world generator for an open space near a coordinate
cx | Cx. |
cy | Cy. |
cz | Cz. |
openSize | Open size. |
maxSearch | Max search. |
Implements pluginbase.Objects.World.Generators.IWorldGenerator.
|
virtual |
Default spawn point near 0,0,0
Implements pluginbase.Objects.World.Generators.IWorldGenerator.
|
get |
Get name of the generator as defined in the attribute