Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ IsPlaceable
Method
IsPlaceable
src/Items/ItemHandler.cpp:479–483 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
477
478
479
bool cItemHandler::IsPlaceable(void)
480
{
481
// We can place any block that has a corresponding E_BLOCK_TYPE:
482
return (m_ItemType >= 1) && (m_ItemType <= E_BLOCK_MAX_TYPE_ID);
483
}
484
485
486
Callers
1
HandleRightClick
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected