Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
BlockInfo.cpp File Reference
#include "Globals.h"
#include "BlockInfo.h"
#include "BlockType.h"
Include dependency graph for BlockInfo.cpp:

Go to the source code of this file.

Functions

bool IsBlockFence (BLOCKTYPE a_BlockType)
 
bool IsBlockIce (BLOCKTYPE a_BlockType)
 
bool IsBlockLava (BLOCKTYPE a_BlockType)
 
bool IsBlockLiquid (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialGourd (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialIron (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialLeaves (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialPlants (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialRock (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialVine (BLOCKTYPE a_BlockType)
 
bool IsBlockMaterialWood (BLOCKTYPE a_BlockType)
 
bool IsBlockRail (BLOCKTYPE a_BlockType)
 
bool IsBlockShulkerBox (BLOCKTYPE a_BlockType)
 
bool IsBlockTypeOfDirt (BLOCKTYPE a_BlockType)
 
bool IsBlockWater (BLOCKTYPE a_BlockType)
 
bool IsBlockWaterOrIce (BLOCKTYPE a_BlockType)
 

Function Documentation

◆ IsBlockFence()

bool IsBlockFence ( BLOCKTYPE  a_BlockType)

Definition at line 105 of file BlockInfo.cpp.

◆ IsBlockIce()

bool IsBlockIce ( BLOCKTYPE  a_BlockType)

Definition at line 19 of file BlockInfo.cpp.

◆ IsBlockLava()

bool IsBlockLava ( BLOCKTYPE  a_BlockType)

Definition at line 49 of file BlockInfo.cpp.

◆ IsBlockLiquid()

bool IsBlockLiquid ( BLOCKTYPE  a_BlockType)

Definition at line 58 of file BlockInfo.cpp.

◆ IsBlockMaterialGourd()

bool IsBlockMaterialGourd ( BLOCKTYPE  a_BlockType)

Definition at line 311 of file BlockInfo.cpp.

◆ IsBlockMaterialIron()

bool IsBlockMaterialIron ( BLOCKTYPE  a_BlockType)

Definition at line 266 of file BlockInfo.cpp.

◆ IsBlockMaterialLeaves()

bool IsBlockMaterialLeaves ( BLOCKTYPE  a_BlockType)

Definition at line 302 of file BlockInfo.cpp.

◆ IsBlockMaterialPlants()

bool IsBlockMaterialPlants ( BLOCKTYPE  a_BlockType)

Definition at line 209 of file BlockInfo.cpp.

◆ IsBlockMaterialRock()

bool IsBlockMaterialRock ( BLOCKTYPE  a_BlockType)

Definition at line 332 of file BlockInfo.cpp.

◆ IsBlockMaterialVine()

bool IsBlockMaterialVine ( BLOCKTYPE  a_BlockType)

Definition at line 244 of file BlockInfo.cpp.

◆ IsBlockMaterialWood()

bool IsBlockMaterialWood ( BLOCKTYPE  a_BlockType)

Definition at line 146 of file BlockInfo.cpp.

◆ IsBlockRail()

bool IsBlockRail ( BLOCKTYPE  a_BlockType)

Definition at line 67 of file BlockInfo.cpp.

◆ IsBlockShulkerBox()

bool IsBlockShulkerBox ( BLOCKTYPE  a_BlockType)

Definition at line 137 of file BlockInfo.cpp.

◆ IsBlockTypeOfDirt()

bool IsBlockTypeOfDirt ( BLOCKTYPE  a_BlockType)

Definition at line 86 of file BlockInfo.cpp.

◆ IsBlockWater()

bool IsBlockWater ( BLOCKTYPE  a_BlockType)

Definition at line 10 of file BlockInfo.cpp.

◆ IsBlockWaterOrIce()

bool IsBlockWaterOrIce ( BLOCKTYPE  a_BlockType)

Definition at line 40 of file BlockInfo.cpp.