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

Method Explode

src/Entities/TNTEntity.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43void cTNTEntity::Explode(void)
44{
45 m_FuseTicks = 0;
46 Destroy(true);
47 LOGD("BOOM at {%f,%f,%f}", GetPosX(), GetPosY(), GetPosZ());
48 m_World->DoExplosionAt(4.0, GetPosX() + 0.49, GetPosY() + 0.49, GetPosZ() + 0.49, true, esPrimedTNT, this);
49}
50
51
52

Callers

nothing calls this directly

Calls 1

DoExplosionAtMethod · 0.45

Tested by

no test coverage detected