Property | Type | Description | |
---|---|---|---|
_CACHE_ENABLED | bool | ||
_DEBUG | bool |
Method | Description | |
---|---|---|
AddEntity ( Entity e ) : void | ||
BeginTransaction ( ) : void | ||
ChunkModified ( long x, long y ) : void | ||
ClearInventory ( ) : void | ||
CommitTransaction ( ) : void | ||
CompressData ( byte &data, int x, int y, int z, byte b ) : void | ||
CompressLight ( byte &lightdata, bool sky, int x, int y, int z, byte val ) : void | ||
CullChunk ( long X, long Z ) : void | ||
CullUnchanged ( ) : void | ||
DecompressData ( byte data, int x, int y, int z ) : byte | ||
DecompressLight ( byte lightdata, int x, int y, int z ) : int |
Decompress lighting data from the tiny array that is used for lighting.
|
|
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 Z, double &min, double &max ) : bool | ||
GetArmor ( ArmorType Armor, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
GetBlockAt ( int px, int y, int pz ) : byte | ||
GetBlockIn ( long CX, long CZ, |
||
GetBlockLightAt ( int px, int y, int pz ) : byte | ||
GetChunk ( |
||
GetChunk ( int x, int z, bool GenerateNewChunkIfNeeded ) : Chunk | ||
GetChunk ( long x, long y ) : Chunk | ||
GetChunkHeightmap ( int X, int Z ) : ].double[ | ||
GetDataAt ( int px, int y, int pz ) : byte | ||
GetDimensions ( ) : IEnumerable |
||
GetHeightAt ( int px, int py ) : int | ||
GetInventory ( int slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
GetLightAt ( int px, int y, int pz, byte &skyLight, byte &blockLight ) : void | ||
GetMousePos ( |
||
GetOverview ( int CX, int CY, |
||
GetSkyLightAt ( int px, int y, int pz ) : byte | ||
Global2Local ( |
||
Global2Local ( |
||
IsMyFiletype ( string f ) : bool | ||
Load ( ) : void | ||
Load ( string filename ) : void | ||
LoadChunk ( long X, long Y ) : void | ||
Local2Global ( int CX, int CZ, |
||
Local2Global ( int CX, int CZ, |
||
NewChunk ( long X, long Y ) : Chunk | ||
Populate ( int X, int Z ) : void | ||
RegenerateLighting ( long x, long z ) : bool |
Adapted from MineServer map.cpp
|
|
RemoveEntity ( Entity e ) : void | ||
RemoveTileEntity ( |
||
Repair ( ) : void | ||
ReplaceBlocksIn ( long X, long Z, byte>.Dictionary |
||
Save ( ) : bool | ||
Save ( string filename ) : bool | ||
SaveAll ( bool cullheightmaps = true ) : void | ||
SaveChunk ( Chunk cnk ) : void | ||
SetArmor ( ArmorType Armor, short itemID, int Damage, int Count ) : bool | ||
SetBlockAt ( |
||
SetBlockAt ( int px, int y, int pz, byte val ) : void | ||
SetBlockIn ( long CX, long CZ, |
||
SetBlockLightAt ( int px, int y, int pz, byte val ) : void | ||
SetChunk ( Chunk cnk ) : void | ||
SetChunk ( long X, long Y, Chunk c ) : void | ||
SetChunkHeightmap ( int X, int Z, double cnk ) : void | ||
SetDataAt ( int px, int y, int pz, byte p ) : void | ||
SetDimension ( int ID ) : void | ||
SetEntity ( Entity e ) : void | ||
SetHeightAt ( int x, int z, int h, byte mat ) : void | ||
SetInventory ( int slot, short itemID, int Damage, int Count ) : bool | ||
SetSkyLightAt ( int px, int y, int pz, byte val ) : void | ||
SetTileEntity ( |
||
UnloadChunks ( ) : void |
Method | Description | |
---|---|---|
NewNBTChunk ( long X, long Z ) : NbtCompound |
Method | Description | |
---|---|---|
AddLightSourceAt ( int _x, int _y, int _z, int strength ) : void | ||
AssertBottomBarrierIntegrity ( byte b, string message ) : void | ||
Check ( long x, long min, long max ) : bool | ||
CompressDatamap ( byte blocks ) : byte[] | ||
CompressLightmap ( byte blocks, bool sky ) : byte[] | ||
DecompressBlocks ( byte p ) : byte[,,] | ||
DecompressDatamap ( byte databuffer ) : byte[,,] | ||
DecompressLightmap ( byte databuffer ) : byte[,,] | ||
ExpandFluids ( long X, long Z, byte fluidID, bool CompleteRegen ) : int | ||
GetBlockIndex ( int x, int y, int z ) : int | ||
GetBlockNumbers ( byte b ) : int>.Dictionary |
||
GetChunkFilename ( int x, int z ) : string | ||
GetChunkHandle ( int x, int z ) : OpenMinecraft.Vector2i | ||
GetPrelimHeightAt ( int px, int py ) : double | ||
LoadEnts ( Chunk &cnk, int CX, int CZ, NbtList ents ) : void | ||
LoadMapGenerator ( ) : void | ||
LoadTileEnts ( Chunk &cnk, int CX, int CZ, NbtList ents ) : void | ||
SaveChunk ( int x, int z ) : void | ||
SaveMapGenerator ( ) : void | ||
SetChunk ( int X, int Z, Chunk c ) : void | ||
SetPrelimHeightAt ( int px, int py, double val ) : void | ||
SpreadLight ( int x, int y, int z, int skylight, int blocklight, int recurselevel ) : bool | ||
_GetChunkCoordsFromFile ( string file ) : OpenMinecraft.Vector2i | ||
_LoadChunk ( int x, int z ) : Chunk |
public ChunkModified ( long x, long y ) : void | ||
x | long | |
y | long | |
return | void |
public CompressData ( byte &data, int x, int y, int z, byte b ) : void | ||
data | byte | |
x | int | |
y | int | |
z | int | |
b | byte | |
return | void |
public CompressLight ( byte &lightdata, bool sky, int x, int y, int z, byte val ) : void | ||
lightdata | byte | |
sky | bool | |
x | int | |
y | int | |
z | int | |
val | byte | |
return | void |
public DecompressData ( byte data, int x, int y, int z ) : byte | ||
data | byte | |
x | int | |
y | int | |
z | int | |
return | byte |
public DecompressLight ( byte lightdata, int x, int y, int z ) : int | ||
lightdata | byte | Compressed lighting bytearray (from /Level/{BlockLight,SkyLight}) |
x | int | XCoord |
y | int | YCoord |
z | int | ZCoord |
return | int |
public ExpandFluids ( byte fluidID, bool CompleteRegen, ForEachProgressHandler ph ) : int | ||
fluidID | byte | |
CompleteRegen | bool | |
ph | ForEachProgressHandler | |
return | int |
public ForEachCachedChunk ( CachedChunkDelegate cmd ) : void | ||
cmd | CachedChunkDelegate | |
return | void |
public ForEachChunk ( ChunkIteratorDelegate cmd ) : void | ||
cmd | ChunkIteratorDelegate | |
return | void |
public ForEachChunkFile ( int dimension, ChunkFileIteratorDelegate cmd ) : void | ||
dimension | int | |
cmd | ChunkFileIteratorDelegate | |
return | void |
public ForEachKnownChunk ( int dimension, ChunkIteratorDelegate cmd ) : void | ||
dimension | int | |
cmd | ChunkIteratorDelegate | |
return | void |
public Generate ( long X, long Z, double &min, double &max ) : bool | ||
X | long | |
Z | long | |
min | double | |
max | double | |
return | bool |
public GetArmor ( ArmorType Armor, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
Armor | ArmorType | |
itemID | short | |
Damage | short | |
Count | byte | |
failreason | string | |
return | bool |
public GetBlockAt ( int px, int y, int pz ) : byte | ||
px | int | |
y | int | |
pz | int | |
return | byte |
public GetBlockIn ( long CX, long CZ, |
||
CX | long | |
CZ | long | |
pos | ||
return | byte |
public GetBlockLightAt ( int px, int y, int pz ) : byte | ||
px | int | |
y | int | |
pz | int | |
return | byte |
public GetChunk ( |
||
chunkpos | ||
return | Chunk |
public GetChunk ( int x, int z, bool GenerateNewChunkIfNeeded ) : Chunk | ||
x | int | |
z | int | |
GenerateNewChunkIfNeeded | bool | |
return | Chunk |
public GetChunkHeightmap ( int X, int Z ) : ].double[ | ||
X | int | |
Z | int | |
return | ].double[ |
public GetDataAt ( int px, int y, int pz ) : byte | ||
px | int | |
y | int | |
pz | int | |
return | byte |
public GetInventory ( int slot, short &itemID, short &Damage, byte &Count, string &failreason ) : bool | ||
slot | int | |
itemID | short | |
Damage | short | |
Count | byte | |
failreason | string | |
return | bool |
public GetLightAt ( int px, int y, int pz, byte &skyLight, byte &blockLight ) : void | ||
px | int | |
y | int | |
pz | int | |
skyLight | byte | |
blockLight | byte | |
return | void |
public GetMousePos ( |
||
mp | ||
scale | int | |
angle | ViewAngle | |
return |
public GetOverview ( int CX, int CY, |
||
CX | int | |
CY | int | |
pos | ||
h | int | |
block | byte | |
waterdepth | int | |
return | void |
public GetSkyLightAt ( int px, int y, int pz ) : byte | ||
px | int | |
y | int | |
pz | int | |
return | byte |
public Global2Local ( |
||
global | ||
CX | int | |
CZ | int | |
return |
public Global2Local ( |
||
global | ||
CX | int | |
CZ | int | |
return |
public Local2Global ( int CX, int CZ, |
||
CX | int | |
CZ | int | |
local | ||
return |
public Local2Global ( int CX, int CZ, |
||
CX | int | |
CZ | int | |
local | ||
return |
protected NewNBTChunk ( long X, long Z ) : NbtCompound | ||
X | long | |
Z | long | |
return | NbtCompound |
public RegenerateLighting ( long x, long z ) : bool | ||
x | long | |
z | long | |
return | bool |
public RemoveTileEntity ( |
||
e | ||
return | void |
public ReplaceBlocksIn ( long X, long Z, byte>.Dictionary |
||
X | long | |
Z | long | |
Replacements | byte>.Dictionary | |
return | void |
public SaveAll ( bool cullheightmaps = true ) : void | ||
cullheightmaps | bool | |
return | void |
public SetArmor ( ArmorType Armor, short itemID, int Damage, int Count ) : bool | ||
Armor | ArmorType | |
itemID | short | |
Damage | int | |
Count | int | |
return | bool |
public SetBlockAt ( |
||
p | ||
id | byte | |
return | void |
public SetBlockAt ( int px, int y, int pz, byte val ) : void | ||
px | int | |
y | int | |
pz | int | |
val | byte | |
return | void |
public SetBlockIn ( long CX, long CZ, |
||
CX | long | |
CZ | long | |
pos | ||
type | byte | |
return | void |
public SetBlockLightAt ( int px, int y, int pz, byte val ) : void | ||
px | int | |
y | int | |
pz | int | |
val | byte | |
return | void |
public SetChunk ( long X, long Y, Chunk c ) : void | ||
X | long | |
Y | long | |
c | Chunk | |
return | void |
public SetChunkHeightmap ( int X, int Z, double cnk ) : void | ||
X | int | |
Z | int | |
cnk | double | |
return | void |
public SetDataAt ( int px, int y, int pz, byte p ) : void | ||
px | int | |
y | int | |
pz | int | |
p | byte | |
return | void |
public SetHeightAt ( int x, int z, int h, byte mat ) : void | ||
x | int | |
z | int | |
h | int | |
mat | byte | |
return | void |
public SetInventory ( int slot, short itemID, int Damage, int Count ) : bool | ||
slot | int | |
itemID | short | |
Damage | int | |
Count | int | |
return | bool |
public SetSkyLightAt ( int px, int y, int pz, byte val ) : void | ||
px | int | |
y | int | |
pz | int | |
val | byte | |
return | void |
public SetTileEntity ( |
||
e | ||
return | void |