Thanks. It's called Minetest and it can be used as a standalone game (it's the reason why I wasn't sure about rules) but it is also basically a game engine (you can even delete built-in game assets and still play games based on it, so that is basically what I want to do for standalone package).
I can package it with my game because it's free under license that allows redistribution and modification, as I said in my first post