Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.World.Generators.IWorldGenerator Interface Reference

An interface representing a world generator More...

Inheritance diagram for pluginbase.Objects.World.Generators.IWorldGenerator:
pluginbase.Objects.World.Generators.IBlockGenerator pluginbase.Objects.World.Generators.WorldGeneratorBase essentials.WorldGenerators.FlatWorld

Public Member Functions

Vector3d GetSpawn ()
 Gets a spawn point appropriate for the world More...
 
Vector3d GetOpenPointNear (int cx, int cy, int cz, int openSize=2, int maxSearch=50)
 Gets the open point near a coordinate More...
 
Vector3d GetGravity (int cx, int cy, int cz)
 Gets the gravity at a point More...
 
- Public Member Functions inherited from pluginbase.Objects.World.Generators.IBlockGenerator
IBlock GetBlock (int x, int y, int z)
 Gets a block at a given coordinate More...
 

Detailed Description

An interface representing a world generator

Member Function Documentation

Vector3d pluginbase.Objects.World.Generators.IWorldGenerator.GetGravity ( int  cx,
int  cy,
int  cz 
)

Gets the gravity at a point

Returns
The gravity.
Parameters
cxCx.
cyCy.
czCz.

Implemented in pluginbase.Objects.World.Generators.WorldGeneratorBase.

Vector3d pluginbase.Objects.World.Generators.IWorldGenerator.GetOpenPointNear ( int  cx,
int  cy,
int  cz,
int  openSize = 2,
int  maxSearch = 50 
)

Gets the open point near a coordinate

Returns
The open point near.
Parameters
cxCx.
cyCy.
czCz.
openSizeOpen size.
maxSearchMax search.

Implemented in pluginbase.Objects.World.Generators.WorldGeneratorBase.

Vector3d pluginbase.Objects.World.Generators.IWorldGenerator.GetSpawn ( )

Gets a spawn point appropriate for the world

Returns
The spawn point.

Implemented in pluginbase.Objects.World.Generators.WorldGeneratorBase.


The documentation for this interface was generated from the following file: