Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ Clear
Method
Clear
src/ItemGrid.cpp:203–210 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
201
202
203
void cItemGrid::Clear(void)
204
{
205
for (int i = 0; i < m_NumSlots; i++)
206
{
207
m_Slots[i].Empty();
208
TriggerListeners(i);
209
}
210
}
211
212
213
Callers
1
FromJson
Method · 0.45
Calls
1
Empty
Method · 0.80
Tested by
no test coverage detected