메소드 | 설명 | |
---|---|---|
AddEntity ( Entity e ) : void | ||
BeginTransaction ( ) : void | ||
CastRay ( |
Try to find a block in this direction.
|
|
ChunkModified ( long x, long y ) : void | ||
ClearInventory ( ) : void | ||
CommitTransaction ( ) : void | ||
Convolution ( double filter, double divisor, double offset, int X, int Z ) : void |
Convolution matrices!
|
|
CullChunk ( long X, long Y ) : void | ||
CullUnchanged ( ) : void | ||
DistanceToMaterial ( |
travel from cord along vec and return how far it was to a point of matidx the distance is returned in number of iterations. If the edge of the map is reached, then return the number of iterations as well. if invert == True, search for anything other than matidx
|
|
Erode ( double talus, int iterations, int X, int Z ) : void | ||
ErodeThermal ( double talus, int iterations, int X, int Z ) : void | ||
ExpandFluids ( byte fluidID, bool CompleteRegen, ForEachProgressHandler ph ) : int | ||
ForEachCachedChunk ( CachedChunkDelegate cmd ) : void | ||
ForEachChunk ( ChunkIteratorDelegate cmd ) : void | ||
ForEachChunkFile ( int Dimension, ChunkFileIteratorDelegate cmd ) : void | ||
ForEachKnownChunk ( int Dimension, ChunkIteratorDelegate cmd ) : void | ||
Generate ( long X, long Y, double &min, double &max ) : bool | ||
GetArmor ( ArmorType slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
GetBlockAt ( int x, int y, int z ) : byte | ||
GetBlockAt ( long x, long y, long z ) : byte | ||
GetBlockLightAt ( int px, int py, int z ) : byte | ||
GetChunk ( Vector3i ChunkPos ) : Chunk | ||
GetChunk ( long x, long y ) : Chunk | ||
GetChunkCoordsFromFile ( string file, bool fromMapCache = false ) : Vector2i | ||
GetChunkHeightmap ( int X, int Z ) : ].double[ | ||
GetDataAt ( int x, int y, int z ) : byte | ||
GetDimensions ( ) : IEnumerable |
||
GetHeightAt ( int x, int z ) : int | ||
GetInventory ( int slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
GetLightAt ( int _X, int _Y, int _Z, byte &skyLight, byte &blockLight ) : void | ||
GetMousePos ( Vector3i p, int scale, ViewAngle viewAngle ) : Vector3i | ||
GetOverview ( int CX, int CY, Vector3i pos, int &h, byte &block, int &waterdepth ) : void | ||
GetSkyLightAt ( int px, int py, int z ) : byte | ||
Global2Local ( Vector3d global, int &CX, int &CZ ) : Vector3d | ||
Global2Local ( Vector3i global, int &CX, int &CZ ) : Vector3i | ||
GrowTree ( Random rand, int x, int y, int z ) : void | ||
IsMyFiletype ( string FileName ) : bool | ||
Load ( ) : void | ||
Load ( string filename ) : void | ||
LoadChunk ( long X, long Y ) : void | ||
Local2Global ( int CX, int CZ, Vector3d local ) : Vector3d | ||
Local2Global ( int CX, int CZ, Vector3i vector3i ) : Vector3i | ||
NewChunk ( long X, long Y ) : Chunk | ||
Populate ( int X, int Z ) : void | ||
RegenerateLighting ( long X, long Z ) : bool | ||
RemoveEntity ( Entity e ) : void | ||
RemoveTileEntity ( TileEntity e ) : void | ||
Repair ( ) : void | ||
ReplaceBlocksIn ( long X, long Y, byte>.Dictionary |
||
Save ( ) : bool | ||
Save ( string filename ) : bool | ||
SaveAll ( bool cullheightmaps = true ) : void | ||
SaveChunk ( Chunk chunk ) : void | ||
SetArmor ( ArmorType slot, short itemID, int Damage, int Count ) : bool | ||
SetBlockAt ( int x, int y, int z, byte val ) : void | ||
SetBlockAt ( long x, long y, long z, byte b ) : void | ||
SetBlockLightAt ( int px, int py, int z, byte val ) : void | ||
SetBusy ( string message ) : void | ||
SetChunk ( Chunk c ) : void | ||
SetChunk ( long X, long Y, Chunk c ) : void | ||
SetChunkHeightmap ( int X, int Z, double cnk ) : void | ||
SetDataAt ( int x, int y, int z, byte p ) : void | ||
SetDimension ( int p ) : void | ||
SetEntity ( Entity e ) : void | ||
SetHeightAt ( int x, int z, int h, byte mat ) : void | ||
SetIdle ( ) : void | ||
SetInventory ( int slot, short itemID, int Damage, int Count ) : bool | ||
SetSkyLightAt ( int px, int py, int z, byte val ) : void | ||
SetTileEntity ( TileEntity e ) : void | ||
Silt ( double waterlevel, bool beaches, int X, int Z ) : void |
Smooths below-water surfaces and, optionally, adds beaches.
|
|
UnloadChunks ( ) : void |
메소드 | 설명 | |
---|---|---|
GetPrelimHeightAt ( int x, int z ) : double | ||
HeightmapToVoxelspace ( double hm, byte &b ) : void | ||
SetPrelimHeightAt ( int x, int z, double h ) : void | ||
_GetChunkCoordsFromFile ( string filename ) : Vector2i |
Returns chunk location from the chunk's own internal coordinate store. Slow.
|
public CastRay ( |
||
from | ||
direction | ||
matFilter | List |
|
invert | bool | |
iterations | int | |
리턴 | byte |
public abstract ChunkModified ( long x, long y ) : void | ||
x | long | |
y | long | |
리턴 | void |
public Convolution ( double filter, double divisor, double offset, int X, int Z ) : void | ||
filter | double | |
divisor | double | |
offset | double | |
X | int | |
Z | int | |
리턴 | void |
public DistanceToMaterial ( |
||
cord | ||
vec | ||
matidx | byte | |
invert | bool | |
리턴 | double |
public Erode ( double talus, int iterations, int X, int Z ) : void | ||
talus | double | |
iterations | int | |
X | int | |
Z | int | |
리턴 | void |
public ErodeThermal ( double talus, int iterations, int X, int Z ) : void | ||
talus | double | |
iterations | int | |
X | int | |
Z | int | |
리턴 | void |
public abstract ExpandFluids ( byte fluidID, bool CompleteRegen, ForEachProgressHandler ph ) : int | ||
fluidID | byte | |
CompleteRegen | bool | |
ph | ForEachProgressHandler | |
리턴 | int |
public abstract ForEachCachedChunk ( CachedChunkDelegate cmd ) : void | ||
cmd | CachedChunkDelegate | |
리턴 | void |
public abstract ForEachChunk ( ChunkIteratorDelegate cmd ) : void | ||
cmd | ChunkIteratorDelegate | |
리턴 | void |
public abstract ForEachChunkFile ( int Dimension, ChunkFileIteratorDelegate cmd ) : void | ||
Dimension | int | |
cmd | ChunkFileIteratorDelegate | |
리턴 | void |
public abstract ForEachKnownChunk ( int Dimension, ChunkIteratorDelegate cmd ) : void | ||
Dimension | int | |
cmd | ChunkIteratorDelegate | |
리턴 | void |
public abstract Generate ( long X, long Y, double &min, double &max ) : bool | ||
X | long | |
Y | long | |
min | double | |
max | double | |
리턴 | bool |
public abstract GetArmor ( ArmorType slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
slot | ArmorType | |
itemID | short | |
Damage | short | |
Count | byte | |
failreason | string | |
리턴 | bool |
public abstract GetBlockAt ( int x, int y, int z ) : byte | ||
x | int | |
y | int | |
z | int | |
리턴 | byte |
public GetBlockAt ( long x, long y, long z ) : byte | ||
x | long | |
y | long | |
z | long | |
리턴 | byte |
public abstract GetBlockLightAt ( int px, int py, int z ) : byte | ||
px | int | |
py | int | |
z | int | |
리턴 | byte |
public abstract GetChunk ( Vector3i ChunkPos ) : Chunk | ||
ChunkPos | Vector3i | |
리턴 | Chunk |
public GetChunkCoordsFromFile ( string file, bool fromMapCache = false ) : Vector2i | ||
file | string | |
fromMapCache | bool | |
리턴 | Vector2i |
public abstract GetChunkHeightmap ( int X, int Z ) : ].double[ | ||
X | int | |
Z | int | |
리턴 | ].double[ |
public abstract GetDataAt ( int x, int y, int z ) : byte | ||
x | int | |
y | int | |
z | int | |
리턴 | byte |
public abstract GetInventory ( int slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
slot | int | |
itemID | short | |
Damage | short | |
Count | byte | |
failreason | string | |
리턴 | bool |
public abstract GetLightAt ( int _X, int _Y, int _Z, byte &skyLight, byte &blockLight ) : void | ||
_X | int | |
_Y | int | |
_Z | int | |
skyLight | byte | |
blockLight | byte | |
리턴 | void |
public abstract GetMousePos ( Vector3i p, int scale, ViewAngle viewAngle ) : Vector3i | ||
p | Vector3i | |
scale | int | |
viewAngle | ViewAngle | |
리턴 | Vector3i |
public abstract GetOverview ( int CX, int CY, Vector3i pos, int &h, byte &block, int &waterdepth ) : void | ||
CX | int | |
CY | int | |
pos | Vector3i | |
h | int | |
block | byte | |
waterdepth | int | |
리턴 | void |
public abstract GetSkyLightAt ( int px, int py, int z ) : byte | ||
px | int | |
py | int | |
z | int | |
리턴 | byte |
public abstract Global2Local ( Vector3d global, int &CX, int &CZ ) : Vector3d | ||
global | Vector3d | |
CX | int | |
CZ | int | |
리턴 | Vector3d |
public abstract Global2Local ( Vector3i global, int &CX, int &CZ ) : Vector3i | ||
global | Vector3i | |
CX | int | |
CZ | int | |
리턴 | Vector3i |
public GrowTree ( Random rand, int x, int y, int z ) : void | ||
rand | Random | |
x | int | |
y | int | |
z | int | |
리턴 | void |
public abstract IsMyFiletype ( string FileName ) : bool | ||
FileName | string | |
리턴 | bool |
public abstract Local2Global ( int CX, int CZ, Vector3d local ) : Vector3d | ||
CX | int | |
CZ | int | |
local | Vector3d | |
리턴 | Vector3d |
public abstract Local2Global ( int CX, int CZ, Vector3i vector3i ) : Vector3i | ||
CX | int | |
CZ | int | |
vector3i | Vector3i | |
리턴 | Vector3i |
public abstract RegenerateLighting ( long X, long Z ) : bool | ||
X | long | |
Z | long | |
리턴 | bool |
public abstract RemoveTileEntity ( TileEntity e ) : void | ||
e | TileEntity | |
리턴 | void |
public abstract ReplaceBlocksIn ( long X, long Y, byte>.Dictionary |
||
X | long | |
Y | long | |
Replacements | byte>.Dictionary | |
리턴 | void |
public abstract SaveAll ( bool cullheightmaps = true ) : void | ||
cullheightmaps | bool | |
리턴 | void |
public abstract SetArmor ( ArmorType slot, short itemID, int Damage, int Count ) : bool | ||
slot | ArmorType | |
itemID | short | |
Damage | int | |
Count | int | |
리턴 | bool |
public abstract SetBlockAt ( int x, int y, int z, byte val ) : void | ||
x | int | |
y | int | |
z | int | |
val | byte | |
리턴 | void |
public SetBlockAt ( long x, long y, long z, byte b ) : void | ||
x | long | |
y | long | |
z | long | |
b | byte | |
리턴 | void |
public abstract SetBlockLightAt ( int px, int py, int z, byte val ) : void | ||
px | int | |
py | int | |
z | int | |
val | byte | |
리턴 | void |
public abstract SetChunk ( long X, long Y, Chunk c ) : void | ||
X | long | |
Y | long | |
c | Chunk | |
리턴 | void |
public abstract SetChunkHeightmap ( int X, int Z, double cnk ) : void | ||
X | int | |
Z | int | |
cnk | double | |
리턴 | void |
public abstract SetDataAt ( int x, int y, int z, byte p ) : void | ||
x | int | |
y | int | |
z | int | |
p | byte | |
리턴 | void |
public abstract SetHeightAt ( int x, int z, int h, byte mat ) : void | ||
x | int | |
z | int | |
h | int | |
mat | byte | |
리턴 | void |
public abstract SetInventory ( int slot, short itemID, int Damage, int Count ) : bool | ||
slot | int | |
itemID | short | |
Damage | int | |
Count | int | |
리턴 | bool |
public abstract SetSkyLightAt ( int px, int py, int z, byte val ) : void | ||
px | int | |
py | int | |
z | int | |
val | byte | |
리턴 | void |
public abstract SetTileEntity ( TileEntity e ) : void | ||
e | TileEntity | |
리턴 | void |
public Silt ( double waterlevel, bool beaches, int X, int Z ) : void | ||
waterlevel | double |
/// A |
beaches | bool |
/// A |
X | int | |
Z | int | |
리턴 | void |