Page 1 of 1

How i can remove blocks?

PostPosted: Fri Nov 04, 2011 22:14
by Krisi
I currently try to program dynamite, so something like TNT in Minecraft. But i dont now how i can remove Blocks about the source code.

Have someone an idea where is a function in the code to remove a block or sent a command to the server he shall remove a block?

thx and sorry for my bad english

PostPosted: Fri Nov 04, 2011 23:16
by celeron55
Do it on the server side. Look at the fireball code in content_sao.cpp (or something like that).

See this if you wish your work to be included: http://c55.me/minetest/wiki/doku.php?id=contrib&#how_to_get_your_code_into_minetest-c55