跳到正文

EveryExport

作者:qaptivator

exports item and recipe data as json.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

EveryExport (everyexport)

exports item and recipe data as json.

made for enthusiasts, who want to work with actual item data, instead of spending a while trying to find it online.

made for fabric 1.20.1, newer versions or forge will probably not get supported anytime soon.
fun fact: this is my first fabric mod. (and i realized that writing in java is so goddamn painful)

NEEDS FABRIC API!!!!!

usage

/everyexport <type>, where type can be all, items and recipes.
_note: in future, more export options would get added. if you really need one RIGHT NOW, then feel free to contribute to this project and code it yourself! it’s not as hard as you think it is._

it saves every type into its own json file located inside .minecraft/config/everyexport/<type>.json (or wherever your minecraft instance is).
to see the formats used for them, look below.

more information is in the github repository at README.md

exported data formats

EveryExport generates structured JSON files inside your game directory at config/everyexport/. Below is the documentation for the structure of these exports.

1. Items (items.json)

The exported items file is a dictionary where every key is the item’s unique Minecraft ID (namespace).

Properties per Item:

  • id (String): The full item identifier (e.g., “minecraft:apple”).
  • namespace (String): The mod identifier (e.g., “minecraft”).
  • path (String): The system name of the item (e.g., “apple”).
  • translation_key (String): The game’s internal translation key.
  • display_name (String): The clean, in-game name of the item.
  • max_stack_size (Integer): How many of this item can fit in one inventory slot.
  • max_durability (Integer): Maximum durability (returns 0 if it is not damageable).
  • is_damageable (Boolean): Whether the item can take damage (like tools/armor).
  • is_fireproof (Boolean): Whether the item resists burning in lava/fire (like Netherite).
  • recipe_remainder (String, Optional): The item left behind in the grid after crafting (e.g., an empty bottle). Only appears if applicable.
  • food (Object or Boolean): If the item is edible, this contains its nutritional stats. Otherwise, it is simply set to false.
  • food_hunger (Integer): Hunger points restored (1 point = half a drumstick).
  • food_saturation (Float): Saturation modifier value.
  • can_always_eat (Boolean): True if you can eat it even when your hunger bar is full.
  • fast_to_eat (Boolean): True if it is consumed quickly (like dried kelp).

Example items.json

{
  "minecraft:honey_bottle": {
    "id": "minecraft:honey_bottle",
    "namespace": "minecraft",
    "path": "honey_bottle",
    "translation_key": "item.minecraft.honey_bottle",
    "display_name": "Honey Bottle",
    "max_stack_size": 16,
    "max_durability": 0,
    "is_damageable": false,
    "is_fireproof": false,
    "recipe_remainder": "minecraft:glass_bottle",
    "food": {
      "food_hunger": 6,
      "food_saturation": 0.6,
      "can_always_eat": true,
      "fast_to_eat": false
    }
  },
  "minecraft:diamond_sword": {
    "id": "minecraft:diamond_sword",
    "namespace": "minecraft",
    "path": "diamond_sword",
    "translation_key": "item.minecraft.diamond_sword",
    "display_name": "Diamond Sword",
    "max_stack_size": 1,
    "max_durability": 1561,
    "is_damageable": true,
    "is_fireproof": false,
    "food": false
  }
}

2. Recipes (recipes.json)

The recipes file exports all active recipes in the registry. The file structure adapts dynamically to fit different recipe formats (shaped grid crafting, shapeless crafting, or furnace cooking).

Shared Properties:

  • id (String): Unique recipe ID.
  • type (String): The system recipe type (e.g., “minecraft:crafting_shaped”).
  • group (String): The creative menu recipe group, if any.
  • output (Object): The result of the recipe. Contains:
  • item (String): The resulting item ID.
  • count (Integer): Quantity produced.
  • cook (Object or Boolean): Cooking-specific properties (for furnaces/smelters/smokers). If the recipe isn’t a cooking recipe, this is false.
  • time (Integer): Cooking time in ticks.
  • experience (Float): Experience points awarded to the player.

Recipe Layouts:

  • If shaped is true (Shaped Grid Recipes):
  • width & height (Integer): Dimensions of the crafting grid used.
  • pattern (Array of Strings): Visual representation of the crafting grid rows.
  • key (Object): Map linking the symbols in the pattern to actual item IDs.
  • If shaped is false (Shapeless/Cooking Recipes):
  • ingredients (Array of Arrays): A list of ingredients where each ingredient is represented by a list of valid items that can satisfy that slot.

Example recipes.json

{
  "minecraft:diamond_pickaxe": {
    "id": "minecraft:diamond_pickaxe",
    "type": "minecraft:crafting_shaped",
    "group": "",
    "output": {
      "item": "minecraft:diamond_pickaxe",
      "count": 1
    },
    "cook": false,
    "shaped": true,
    "width": 3,
    "height": 3,
    "pattern": [
      "###",
      " A ",
      " A "
    ],
    "key": {
      "#": { "item": "minecraft:diamond" },
      "A": { "item": "minecraft:stick" }
    }
  },
  "minecraft:pumpkin_pie": {
    "id": "minecraft:pumpkin_pie",
    "type": "minecraft:crafting_shapeless",
    "group": "",
    "output": {
      "item": "minecraft:pumpkin_pie",
      "count": 1
    },
    "cook": false,
    "shaped": false,
    "ingredients": [
      ["minecraft:pumpkin"],
      ["minecraft:sugar"],
      ["minecraft:egg"]
    ]
  },
  "minecraft:baked_potato": {
    "id": "minecraft:baked_potato",
    "type": "minecraft:smelting",
    "group": "misc",
    "output": {
      "item": "minecraft:baked_potato",
      "count": 1
    },
    "cook": {
      "time": 200,
      "experience": 0.35
    },
    "shaped": false,
    "ingredients": [
      ["minecraft:potato"]
    ]
  }
}

license

All rights reserved.

although you’re completely free to use this mod in modpacks, just credit me somewhere (but you probably wont because this mod is really technical and mostly for one time use)

常见问题

EveryExport 支持哪些 Minecraft 版本?

EveryExport 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

EveryExport 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

qaptivator 的其他作品

查看全部 →