MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetWidth

Method GetWidth

src/Entities/Entity.h:178–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 double GetSpeedY (void) const { return m_Speed.y; }
177 double GetSpeedZ (void) const { return m_Speed.z; }
178 double GetWidth (void) const { return m_Width; }
179
180 int GetChunkX(void) const {return (int)floor(m_Pos.x / cChunkDef::Width); }
181 int GetChunkZ(void) const {return (int)floor(m_Pos.z / cChunkDef::Width); }

Callers 4

ItemMethod · 0.45
ItemMethod · 0.45
ItemMethod · 0.45
SaveMapToNBTMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected