Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ Clear
Method
Clear
src/CraftingRecipes.cpp:121–127 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
120
121
void cCraftingGrid::Clear(void)
122
{
123
for (int y = 0; y < m_Height; y++) for (int x = 0; x < m_Width; x++)
124
{
125
m_Items[x + m_Width * y].Empty();
126
}
127
}
128
129
130
Callers
2
ConsumeGrid
Method · 0.45
GetRecipe
Method · 0.45
Calls
1
Empty
Method · 0.80
Tested by
no test coverage detected