Property | Type | Description | |
---|---|---|---|
BlockSize | int | ||
DroppedItems | List |
||
GameMode | |||
GameProjectiles | MiningGameServer.Entities.ServerProjectile[] | ||
NetworkPlayers | List |
||
Random | |||
ScheduledUpdates | List |
||
ServerNetworkManager | |||
WorldBlocks | ].BlockData[ |
Method | Description | |
---|---|---|
AbsoluteToTile ( Vector2 tile ) : Vector2 | ||
CanWalkThrough ( byte id ) : bool | ||
DestroyBlockGib ( int x, int y ) : void |
Destroys a block. Will cause gibbing.
|
|
DropItem ( ItemStack stack, Vector2 position, Vector2 velocity = default(Vector2), |
||
GameServer ( int port ) : System | ||
GenerateCaves ( ) : void | ||
GenerateOreVein ( int x, int y, byte id, int startX, int startY ) : void | ||
GenerateOres ( ) : void | ||
GenerateTree ( int x, int y ) : void | ||
GenerateTrees ( ) : void | ||
GenerateWorld ( ) : void | ||
GetFreeDroppedItemIndex ( ) : short | ||
GetFreeProjectileSlot ( ) : int | ||
HandleGameEvent ( byte eventID, Packet p, |
||
HurtBlock ( int x, int y, byte damage ) : void |
"Hurts" a block. Will automatically gib if enough damage is done.
|
|
ScheduleUpdate ( int x, int y, int frames = 5 ) : void | ||
SendMessageToAll ( string message ) : void | ||
SetBlock ( |
||
SetBlock ( int x, int y, short blockID, bool notify = true, byte metaData ) : void | ||
SetBlockMetaData ( int x, int y, byte metadata ) : void | ||
UnscheduleUpdate ( int x, int y ) : void | ||
Update ( |
||
UpdateScheduled ( int x, int y ) : bool |
Method | Description | |
---|---|---|
GetBlockAt ( Vector2 location ) : BlockData | ||
GetBlockAt ( float x, float y ) : BlockData | ||
GetBlockAt ( int x, int y ) : BlockData |
public static AbsoluteToTile ( Vector2 tile ) : Vector2 | ||
tile | Vector2 | |
return | Vector2 |
public static CanWalkThrough ( byte id ) : bool | ||
id | byte | |
return | bool |
public static DestroyBlockGib ( int x, int y ) : void | ||
x | int | X Co-ordinate of the block |
y | int | Y Co-ordinate of the block |
return | void |
public static DropItem ( ItemStack stack, Vector2 position, Vector2 velocity = default(Vector2), |
||
stack | ItemStack | |
position | Vector2 | |
velocity | Vector2 | |
dropper | ||
return | void |
public static GenerateOreVein ( int x, int y, byte id, int startX, int startY ) : void | ||
x | int | |
y | int | |
id | byte | |
startX | int | |
startY | int | |
return | void |
public static GetFreeDroppedItemIndex ( ) : short | ||
return | short |
public static GetFreeProjectileSlot ( ) : int | ||
return | int |
public static HandleGameEvent ( byte eventID, Packet p, |
||
eventID | byte | |
p | Packet | |
player | ||
return | void |
public static HurtBlock ( int x, int y, byte damage ) : void | ||
x | int | |
y | int | |
damage | byte | |
return | void |
public static ScheduleUpdate ( int x, int y, int frames = 5 ) : void | ||
x | int | |
y | int | |
frames | int | |
return | void |
public static SendMessageToAll ( string message ) : void | ||
message | string | |
return | void |
public static SetBlock ( |
||
placer | ||
x | int | |
y | int | |
blockID | short | |
notify | bool | |
metaData | byte | |
return | void |
public static SetBlock ( int x, int y, short blockID, bool notify = true, byte metaData ) : void | ||
x | int | |
y | int | |
blockID | short | |
notify | bool | |
metaData | byte | |
return | void |
public static SetBlockMetaData ( int x, int y, byte metadata ) : void | ||
x | int | |
y | int | |
metadata | byte | |
return | void |
public static UnscheduleUpdate ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public Update ( |
||
time | ||
return | void |
public static UpdateScheduled ( int x, int y ) : bool | ||
x | int | |
y | int | |
return | bool |
public static ServerGameMode,MiningGameServer.GameModes GameMode | ||
return |
public static ServerProjectile[],MiningGameServer.Entities GameProjectiles | ||
return | MiningGameServer.Entities.ServerProjectile[] |
public static ServerNetworkManager,MiningGameServer ServerNetworkManager | ||
return |