Skip to content

Tutorial: Adding Menu Items (For modpack authors)

Chakyl edited this page Jul 7, 2026 · 4 revisions

Introduction & Prerequisites

Cozy Cafe is data-driven, and each shop is created with Json files! This is best used for Modpack developers who want to add lots of different menu items for their packs.

Before you ready the rest of this tutorial, you should have a basic understand of these things:

Cozy Cafe comes with some mod support by default, which can be found here: https://github.com/Chakyl/Cozy-Cafe/tree/main/src/main/resources/data/cozycafe/menu. This is also a good plac3e to find examples!

Defining a menu item

Before anything else, you must define the menu item in the directory cozy_cafe\menu.

Inside of yourfooditem.json, add the following:

{
	"item": "yourmod:yourfooditem",
	"category": "main",
	"price": 1,
	"flavors": ["vegan", "hot", "light"],
	"themes": ["casual"]
}
  • item - Id of the menu item
  • category("drink","main", "dessert") - What category the menu item is
  • price - How much the dish sells for. Tips are based off this value
  • themes - Array of themes the menu item has. Can use any single word description, all lowercase. Currently unimplemented.
  • flavors - Array of flavors the menu item has. Can use any single word description, all lowercase. Currently unimplemented.

Clone this wiki locally