A Function for Minetest Which Allows Mod Developers Create Block Changing Rules Easily