|
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
static bool CanBeTerraformed(BLOCKTYPE Block)
Can a finisher change it?
static bool IsSnowable(BLOCKTYPE Block)
static float GetBlockHeight(BLOCKTYPE Block)
Block's height.
bool IsBlockMaterialRock(BLOCKTYPE a_BlockType)
static bool FullyOccupiesVoxel(BLOCKTYPE Block)
Does this block fully occupy its voxel - is it a 'full' block?
bool IsBlockMaterialVine(BLOCKTYPE a_BlockType)
bool IsBlockMaterialIron(BLOCKTYPE a_BlockType)
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
static NIBBLETYPE GetSpreadLightFalloff(BLOCKTYPE Block)
How much light do the blocks consume?
static bool IsClickedThrough(BLOCKTYPE a_Block)
Does the client pretend the block doesn't exist when clicking? For example, digging a fire will hit t...
bool IsBlockIce(BLOCKTYPE a_BlockType)
bool IsBlockMaterialPlants(BLOCKTYPE a_BlockType)
bool IsBlockShulkerBox(BLOCKTYPE a_BlockType)
static bool IsSkylightDispersant(BLOCKTYPE Block)
Does this block disperse sky light? (only relevant for transparent blocks)
bool IsBlockWaterOrIce(BLOCKTYPE a_BlockType)
bool IsBlockRail(BLOCKTYPE a_BlockType)
bool IsBlockMaterialLeaves(BLOCKTYPE a_BlockType)
static NIBBLETYPE GetLightValue(BLOCKTYPE Block)
How much light do the blocks emit on their own?
static bool IsRainBlocker(BLOCKTYPE Block)
Does this block block the passage of rain?
unsigned char BLOCKTYPE
The datatype used by blockdata.
bool IsBlockLava(BLOCKTYPE a_BlockType)
static bool IsOneHitDig(BLOCKTYPE Block)
Is a block destroyed after a single hit? Warning: IsOneHitDig does not take into account enchantments...
bool IsBlockMaterialWood(BLOCKTYPE a_BlockType)
bool IsBlockLiquid(BLOCKTYPE a_BlockType)
static bool IsUseableBySpectator(BLOCKTYPE Block)
Can a spectator interact with this block?
bool IsBlockTypeOfDirt(BLOCKTYPE a_BlockType)
bool IsBlockMaterialGourd(BLOCKTYPE a_BlockType)
static bool IsSolid(BLOCKTYPE Block)
Is this block solid (player cannot walk through)?
static bool IsTransparent(BLOCKTYPE Block)
Is a block transparent? (https://minecraft.gamepedia.com/Opacity)
bool IsBlockFence(BLOCKTYPE a_BlockType)
static bool IsPistonBreakable(BLOCKTYPE Block)
Can a piston break this block?
static float GetHardness(BLOCKTYPE Block)
Block's hardness.
bool IsBlockWater(BLOCKTYPE a_BlockType)