Added registerTileEntities and registerRecipes functions