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

Method SetPosition

src/Entities/Entity.cpp:1483–1487  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////// Set position

Source from the content-addressed store, hash-verified

1481//////////////////////////////////////////////////////////////////////////
1482// Set position
1483void cEntity::SetPosition(double a_PosX, double a_PosY, double a_PosZ)
1484{
1485 m_Pos.Set(a_PosX, a_PosY, a_PosZ);
1486 m_bDirtyPosition = true;
1487}
1488
1489
1490

Callers 2

LoadHangingFromNBTMethod · 0.45
LoadEntityBaseFromNBTMethod · 0.45

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected