Page 1 of 1

[Solved] Grass-Nodes

PostPosted: Tue Mar 19, 2013 18:48
by BlockMen
Hi,

can someone tell me where I can find the procedure that turns "dirt_with_grass" into "dirt", when a solid block (with sun_propagate=false) is placed on it?

I couldn't find an abm at default/ini.lua, so it must be somewhere else.

PostPosted: Tue Mar 19, 2013 19:13
by PilzAdam
Its in content_abm.cpp There is also the sapling growing ABM.
Its pretty understandable even if you dont know c++.

PostPosted: Tue Mar 19, 2013 19:16
by Likwid H-Craft
I made a way you can craft dirt to, get Just Dirt and it won't change to Grass..,If that you trying say.

PostPosted: Tue Mar 19, 2013 19:23
by BlockMen
PilzAdam wrote:Its in content_abm.cpp There is also the sapling growing ABM.
Its pretty understandable even if you dont know c++.


Thanks, from my side the topic is solved. I thought it would be Lua and I can just add.

Then I will register my own abm for that.