Свойство | Type | Description | |
---|---|---|---|
AllBlocks | List |
Méthode | Description | |
---|---|---|
Block ( ) : System | ||
FinalizeBlock ( ) : |
||
GenerateBlocks ( ) : void | ||
GetBlock ( short blockID ) : |
||
GetBlockBoundBox ( int X, int Y ) : |
||
GetBlockHardness ( ) : int | ||
GetBlockHide ( ) : bool | ||
GetBlockID ( ) : short | ||
GetBlockLightLevel ( ) : int | ||
GetBlockName ( ) : string | ||
GetBlockNumConnectionsAllowed ( ) : int | ||
GetBlockOpaque ( ) : bool | ||
GetBlockRenderColor ( ) : Color | ||
GetBlockRenderSpecial ( ) : bool | ||
GetBlockWalkThrough ( ) : bool | ||
GetItemDrop ( int x, int y ) : byte | ||
GetItemDropNum ( int x, int y ) : int | ||
OnBlockPlaced ( int x, int y, bool notify ) : void | ||
OnBlockRemoved ( int x, int y ) : void | ||
OnBlockTouched ( int X, int Y, int side, Entities toucher ) : void | ||
OnBlockUpdate ( int x, int y ) : int | ||
OnBlockUsed ( int x, int y ) : void | ||
RenderBlock ( int x, int y, |
||
SetBlockColor ( Color c ) : |
||
SetBlockColorRGBA ( int r, int g, int b, int a = 255 ) : |
||
SetBlockHardness ( int hardness ) : |
||
SetBlockHide ( bool hide ) : |
||
SetBlockID ( short id ) : Block | ||
SetBlockLightLevel ( int l ) : Block | ||
SetBlockName ( string name ) : Block | ||
SetBlockOpaque ( bool opaque ) : Block | ||
SetBlockRenderSpecial ( bool special ) : Block | ||
SetBlockWalkThrough ( bool b ) : Block | ||
ToString ( ) : string |
Méthode | Description | |
---|---|---|
BlockPlaced ( int x, int y, bool notify = true ) : void | ||
BlockRemoved ( int x, int y ) : void |
public static GetBlock ( short blockID ) : |
||
blockID | short | |
Résultat |
public GetBlockBoundBox ( int X, int Y ) : |
||
X | int | |
Y | int | |
Résultat |
public GetBlockNumConnectionsAllowed ( ) : int | ||
Résultat | int |
public GetItemDropNum ( int x, int y ) : int | ||
x | int | |
y | int | |
Résultat | int |
public OnBlockPlaced ( int x, int y, bool notify ) : void | ||
x | int | |
y | int | |
notify | bool | |
Résultat | void |
public OnBlockRemoved ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public OnBlockTouched ( int X, int Y, int side, Entities toucher ) : void | ||
X | int | |
Y | int | |
side | int | |
toucher | Entities | |
Résultat | void |
public RenderBlock ( int x, int y, |
||
x | int | |
y | int | |
sb | ||
Résultat |
public SetBlockColorRGBA ( int r, int g, int b, int a = 255 ) : |
||
r | int | |
g | int | |
b | int | |
a | int | |
Résultat |
public SetBlockHardness ( int hardness ) : |
||
hardness | int | |
Résultat |
public SetBlockLightLevel ( int l ) : Block | ||
l | int | |
Résultat | Block |
public SetBlockName ( string name ) : Block | ||
name | string | |
Résultat | Block |
public SetBlockOpaque ( bool opaque ) : Block | ||
opaque | bool | |
Résultat | Block |
public SetBlockRenderSpecial ( bool special ) : Block | ||
special | bool | |
Résultat | Block |
public SetBlockWalkThrough ( bool b ) : Block | ||
b | bool | |
Résultat | Block |