NBTRecipes

⭐ — (10 endorsements) 📥 1,394 downloads 📌 v1.2.1 📅 1/5/2023
⚪ Last updated 2023

By LoreSchaeffer · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 11/1/2023 📅 Created: 1/5/2023

🔍 Analysis

  • 👍 0.7% endorsement rate
  • 🏆 #1301 of 1560 bukkit mods in this game by downloads

📋 About This Mod

# NBTRecipes #### A very simple plugin to add recipes that use NBT data. ## Description Plugin designed to simplify creation of custom recipes, without the need writing any code or touching datapacks. You can attach common data (amount, name, lore) as well as NBT tags to items processed by the recipes. Format is very similar to the one used by datapacks. ## Usage You can place your recipes inside the `recipes` folder in the plugin folder. If you want to organize your recipes in subfolders you can do it, the plugin will search for recipes in every subfolder of the `recipes` folder. The plugin will automatically load all the recipes in the subfolders and add their relative path to the recipe namespaced key. To create a recipe just create a text file with the `.json` extension and put it in the `recipes` folder. Edit the file with your favorite text editor and put the recipe in it as shown in the examples below. ### Config In the config you can change the namespace of your recipes and all the messages of the plugin. The namespace can only contain the following characters: `a-z`, `0-9`, `_`, `-`, `/`. <br /> ### Commands * `/nbtrecipes reload` - Reloads the recipes and the config file. * `nbtr.command` Permission needed to use the command. * `/nbtrecipes list` - Lists all the recipes added by this plugin. * `nbtr.command` Permission needed to use the command. <br /> ## Examples Examples and more detailed description of plugin components. <br /> ### Item This is an object that represents an item in the recipes, it can be used as an ingredient or as a result. Majority of fields are optional, in fact, the only one needed is the `material`. When only `material` field is defined, and no other items within the choice requires any metadata (name, lore, nbt), items in the recipe are matched by material. *See below examples for more details.* <br /> ### Discover Trigger Recipe trigger can make any recipe to be discoverable by players, by picking up an item. Field `discover` is optional and if not specified, recipe will be discovered and visible by default. *See below examples for more details.* <br /> ### Shaped Recipe Shaped recipe applies to crafting table and inventory crafting. <details> <summary><b>Click here to expand/collapse JSON example.</b></summary> ```json5 { "type": "crafting_shaped", // Crafting pattern. Array must consist of either: // - two, two-character elements reflecting an inventory crafting grid. // - three, three-character elements reflecting a crafting table grid. "pattern": , // Key to the pattern. "key": { "S": , // "D": { "material": "diamond" } }, // Recipe result. "result": { "material": "diamond_sword", "amount": 1, "name": "Diagonally Crafted Diamond Sword", "lore": , "nbt": "{CustomModelData: 2}" }, // Recipe discover trigger. Optional. "discover": { // Items to be picked-up before this recipe is "discovered" by the player. "items": } } ``` Field `discover` is optional. </details> <br /> ### Shapeless Recipe Shapeless recipe applies to crafting table and inventory crafting. <details> <summary><b>Click here to expand/collapse JSON example.</b></summary> ```json5 { "type": "crafting_shapeless", // Crafting ingredients. "ingredients": , { "material": "flint_and_steel" } ], // Recipe result. "result": { "material": "charcoal" }, // Recipe discover trigger. Optional. "discover": { // Items to be picked-up before this recipe is "discovered" by the player. "items": } } ``` Field `discover` is optional. </details> <br /> ### Smelting Recipes Smelting recipes can be applied to regular furnace, blast furnace, smoker or campfire. <details> <summary><b>Click here to expand/collapse JSON example.</b></summary> ```json5 { // Recipe type. For furnace recipes you can u

# NBTRecipes

#### A very simple plugin to add recipes that use NBT data.

## Description

Plugin designed to simplify creation of custom recipes, without the need writing any code or touching datapacks. You can attach common data (amount, name, lore) as well as NBT tags to items processed by the recipes. Format is very similar to the one used by datapacks.

## Usage You can place your recipes inside the `recipes` folder in the plugin folder. If you want to organize your recipes in subfolders you can do it, the plugin will search for recipes in every subfolder of the `recipes` folder. The plugin will automatically load all the recipes in the subfolders and add their relative path to the recipe namespaced key.

To create a recipe just create a text file with the `.json` extension and put it in the `recipes` folder. Edit the file with your favorite text editor and put the recipe in it as shown in the examples below.

### Config In the config you can change the namespace of your recipes and all the messages of the plugin. The namespace can only contain the following characters: `a-z`, `0-9`, `_`, `-`, `/`.

### Commands `/nbtrecipes reload` - Reloads the recipes and the config file. `nbtr.command` Permission needed to use the command. `/nbtrecipes list` - Lists all the recipes added by this plugin. `nbtr.command` Permission needed to use the command.

## Examples Examples and more detailed description of plugin components.

### Item This is an object that represents an item in the recipes, it can be used as an ingredient or as a result. Majority of fields are optional, in fact, the only one needed is the `material`.

When only `material` field is defined, and no other items within the choice requires any metadata (name, lore, nbt), items in the recipe are matched by material.

See below examples for more details.

### Discover Trigger Recipe trigger can make any recipe to be discoverable by players, by picking up an item. Field `discover` is optional and if not specified, recipe will be discovered and visible by default.

See below examples for more details.

### Shaped Recipe Shaped recipe applies to crafting table and inventory crafting.

Click here to expand/collapse JSON example.

```json5 { "type": "crafting_shaped", // Crafting pattern. Array must consist of either: // - two, two-character elements reflecting an inventory crafting grid. // - three, three-character elements reflecting a crafting table grid. "pattern": [ " D", " D ", "S " ], // Key to the pattern. "key": { "S": [ // Multiple item choices can be specified for one ingredient. // In case metadata (name/lore/nbt) is attached to an item, all choices are matched as EXACT. { "material": "stick" }, { "material": "blaze_rod" } ], // "D": { "material": "diamond" } }, // Recipe result. "result": { "material": "diamond_sword", "amount": 1, "name": "Diagonally Crafted Diamond Sword", "lore": [ "As the name suggests..." ], "nbt": "{CustomModelData: 2}" }, // Recipe discover trigger. Optional. "discover": { // Items to be picked-up before this recipe is "discovered" by the player. "items": [ { "material": "diamond" } ] } } ```

Field `discover` is optional.

### Shapeless Recipe Shapeless recipe applies to crafting table and inventory crafting.

Click here to expand/collapse JSON example.

```json5 { "type": "crafting_shapeless", // Crafting ingredients. "ingredients": [ // Multiple item choices can be specified for one ingredient. // In case metadata (name/lore/nbt) is attached to an item, all choices are matched as EXACT. [ { "material": "oak_log" }, { "material": "spruce_log" }, { "material": "birch_log" }, { "material": "jungle_log" }, { "material": "acacia_log" }, { "material": "dark_oak_log" }, { "material": "mangrove_log" }, { "material": "cherry_log" } ], { "material": "flint_and_steel" } ], // Recipe result. "result": { "material": "charcoal" }, // Recipe discover trigger. Optional. "discover": { // Items to be picked-up before this recipe is "discovered" by the player. "items": [ { "material": "oak_log" }, { "material": "spruce_log" }, { "material": "birch_log" }, { "material": "jungle_log" }, { "material": "acacia_log" }, { "material": "dark_oak_log" }, { "material": "mangrove_log" }, { "material": "cherry_log" } ] } } ```

Field `discover` is optional.

### Smelting Recipes Smelting recipes can be applied to regular furnace, blast furnace, smoker or campfire.

Click here to expand/collapse JSON example.

```json5 { // Recipe type. For furnace recipes you can u

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
LoreSchaeffer
Version
1.2.1
Downloads
1,394
Endorsements
10
Category
bukkit
Created
1/5/2023
Updated
11/1/2023
Game Versions
1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5
Tags
game-mechanics, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does NBTRecipes support?

The author lists 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.17. Other versions may work but are untested by the author.

What is the latest version of NBTRecipes?

Version 1.2.1, published 2023-11-01 with 1,394 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by LoreSchaeffer 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods