cBlockInfo


Index:
Articles
Classes
Hooks

Quick navigation:
cArrowEntity
cBeaconEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEntity
cEntityEffect
cExpBottleEntity
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLineBlockTracer
cLuaWindow
cMap
cMapManager
cMobHeadEntity
cMobSpawnerEntity
cMojangAPI
cMonster
cNetwork
cNoteEntity
cObjective
cPainting
cPawn
cPickup
cPlayer
cPlugin
cPluginLua
cPluginManager
cProjectileEntity
cRankManager
cRoot
cScoreboard
cServer
cServerHandle
cSignEntity
cSplashPotionEntity
cStatManager
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cTracer
cUDPEndpoint
cUrlClient
cUrlParser
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
sqlite3
TakeDamageInfo
tolua
Vector3d
Vector3f
Vector3i
Globals

Contents


cBlockInfo class

This class is used to query and register block properties.


Member variables

NameTypeNotes
m_BlockHeight (undocumented)
m_CanBeTerraformed bool Is this block suited to be terraformed?
m_FullyOccupiesVoxel bool Does this block fully occupy its voxel - is it a 'full' block?
m_IsSnowable bool Can this block hold snow atop?
m_IsSolid bool Is this block solid (player cannot walk through)?
m_LightValue number How much light do the blocks emit on their own?
m_OneHitDig bool Is a block destroyed after a single hit?
m_PistonBreakable bool Can a piston break this block?
m_PlaceSound string The name of the sound that is placed when a block is placed.
m_SpreadLightFalloff number How much light do the blocks consume?
m_Transparent bool Is a block completely transparent? (light doesn't get decreased(?))

Functions

NameParametersReturn valueNotes
CanBeTerraformed Type bool (STATIC) Returns true if the block is suitable to be changed by a generator
FullyOccupiesVoxel Type bool (STATIC) Returns whether the specified block fully occupies its voxel.
Get Type cBlockInfo (STATIC) Returns the cBlockInfo structure for the specified type.
GetBlockHeight Type number (STATIC) Returns the block's hitbox height.
GetLightValue Type number (STATIC) Returns how much light the specified block emits on its own.
GetPlaceSound Type (STATIC) Returns the name of the sound that is played when placing the block.
GetSpreadLightFalloff Type number (STATIC) Returns how much light the specified block consumes.
IsOneHitDig Type bool (STATIC) Returns whether the specified block will be destroyed after a single hit.
IsPistonBreakable Type bool (STATIC) Returns whether a piston can break the specified block.
IsSnowable Type bool (STATIC) Returns whether the specified block can hold snow atop.
IsSolid Type bool (STATIC) Returns whether the specified block is solid.
IsTransparent Type bool (STATIC) Returns whether the specified block is transparent.
Generated on 2016-08-22 23:53:06, Build ID Unknown, Commit approx: 2ed4af74edd14ae17e1c6c64d44caa7b7fc30d5a