API
Functions and classes available in the Lua API
|
#include <0019.h>
Public Member Functions | |
cItemGrid & | GetContents (void) |
Returns the ItemGrid used for storing the contents. | |
const cItem & | GetSlot (int a_SlotNum) const |
const cItem & | GetSlot (int a_X, int a_Y) const |
void | SetSlot (int a_SlotNum, const cItem &a_Item) |
void | SetSlot (int a_X, int a_Y, const cItem &a_Item) |
![]() | |
BLOCKTYPE | GetBlockType (void) const |
int | GetChunkX (void) const |
int | GetChunkZ (void) const |
int | GetPosX (void) const |
int | GetPosY (void) const |
int | GetPosZ (void) const |
int | GetRelX (void) const |
int | GetRelZ (void) const |
cWorld * | GetWorld (void) const |
Additional Inherited Members | |
![]() | |
cBlockEntity (BLOCKTYPE a_BlockType, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld *a_World) |
|
inline |
Returns the ItemGrid used for storing the contents.
|
inline |
|
inline |
|
inline |
|
inline |