Skip to content

Commands and Permissions

The main command for EmakiCooking is /ecooking, alias /ec. Commands are used for help, reloading, inspecting held items or target blocks, rebuilding the station index, and debugging.

Command list

CommandPermissionDescription
/ec helpemakicooking.useShow help.
/ec reloademakicooking.reload or emakicooking.adminReload config, language, stations, recipes, GUI, and item adjustments.
/ec inspect handemakicooking.inspect, emakicooking.use, or emakicooking.adminInspect the held item source and cooking match status.
/ec inspect blockemakicooking.inspect, emakicooking.use, or emakicooking.adminInspect the target block within 6 blocks for station type, block state, TileState, PDC/YAML backend, and index status.
/ec station reindexemakicooking.adminRebuild the station coordinate index from legacy YAML and currently loaded PDC stations.
/ec debugemakicooking.debug or emakicooking.adminOutput runtime debug information.

Nutrition commands

/ec nutrition queries and manages player nutrition values. See Nutrition System for the gameplay.

CommandPermissionDescription
/ec nutrition get [player] [type]emakicooking.nutrition.use, emakicooking.nutrition.admin, or emakicooking.adminQuery nutrition values. Without a type it lists value / max for all types; with a type it returns the current value. The player can be omitted (defaults to self; the console must specify one).
/ec nutrition set <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminSet a player's nutrition value for a type.
/ec nutrition add <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminAdd to a player's nutrition value for a type.
/ec nutrition remove <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminSubtract from a player's nutrition value for a type.
  • set, add, and remove require all four arguments, the target player must be online, and the written value is clamped to the type's min~max.
  • When the nutrition system is disabled, nutrition commands report that it is disabled.

Base permissions

PermissionDefaultDescription
emakicooking.usetrueBasic usage permission.
emakicooking.reloadopReload configuration.
emakicooking.inspectopInspect items or stations.
emakicooking.adminopAdmin permission.
emakicooking.debugopDebug permission.

Station permissions

PermissionDefaultDescription
emakicooking.station.chopping_board.usetrueUse the chopping board.
emakicooking.station.chopping_board.cuttruePerform cutting.
emakicooking.station.wok.usetrueUse the wok.
emakicooking.station.wok.stirtrueStir fry.
emakicooking.station.wok.servetrueServe from wok.
emakicooking.station.grinder.usetrueUse the grinder.
emakicooking.station.steamer.usetrueUse the steamer.
emakicooking.station.steamer.fueltrueAdd fuel to steamer.
emakicooking.station.steamer.moisturetrueAdd moisture to steamer.
emakicooking.station.oven.usetrueUse the oven.
emakicooking.station.oven.fueltrueAdd fuel to oven.
emakicooking.station.juicer.usetrueUse the juicer.
emakicooking.station.juicer.presstruePress ingredients.
emakicooking.station.juicer.collecttrueCollect juice.
emakicooking.station.fermentation_barrel.usetrueUse the fermentation barrel.
emakicooking.station.fermentation_barrel.starttrueStart fermentation.
emakicooking.station.fermentation_barrel.collecttrueCollect fermentation result.

Nutrition permissions

PermissionDefaultDescription
emakicooking.nutrition.usetrueQuery your own nutrition values (/ec nutrition get).
emakicooking.nutrition.adminopSet, add, or remove any player's nutrition values.

emakicooking.admin overrides all nutrition operations.

Common operations

Inspect held item

text
/ec inspect hand

Use this to confirm whether the held item is recognized as a recipe input, container, fuel, tool, or station block.

Inspect target station block

text
/ec inspect block

Use this to inspect the target block within 6 blocks for station type, item source, block_state, tile_state, storage_backend, pdc_state, indexed, index_backend, and legacy_yaml. On servers with many stations, this confirms whether the anchor uses BLOCK_PDC and avoids standalone YAML-file IO.

Rebuild station coordinate index

text
/ec station reindex

Use this to scan legacy YAML states and currently loaded PDC stations, rebuilding data/stations/index/<world>.idx. Run it after migrating old data, replacing block entities, or seeing stations fail to restore on ChunkLoad.

Reload cooking configuration

text
/ec reload

After reloading, check console output. If new station blocks, GUI, or recipe directories were added, verify state persistence and interaction flow on a test server first.

Debug runtime state

text
/ec debug

Useful for troubleshooting station listeners, display entities, recipe matching, and persistence state.

Troubleshooting

  • Station not working: check block source, station permissions, and interaction type.
  • Station state/backend unclear: run /ec inspect block and check tile_state, storage_backend, pdc_state, indexed, and legacy_yaml.
  • Station missing after restart or chunk load: run /ec station reindex, then check console for lost_block_entity_replaced or mismatch reports.
  • Materials cannot be placed: check input_rules.only_recipe_items, recipe directory, and item source.
  • Juicer cannot collect: check fluid capacity vs container serving_ml, and confirm emakicooking.station.juicer.collect permission.
  • Fermentation barrel cannot start: check input matches recipe, sealed requirement, and start permission.
  • Oven not progressing: check heat is within recipe range and fuel is effective.