
XP Crafting Table
This modification introduces only one unique item to the game - a Crafting Table that operates using experience points. It's important to note that this table doesn't have a default crafting recipe and doesn't add its own recipes by default. The mod is primarily designed for modpack developers who can configure it according to their needs.
Working Features
The modification uses two types of recipes: xpcraftingtable:shaped
and xpcraftingtable:shapeless
. They are completely identical to standard vanilla recipes, but with one important addition - the xp parameter, which determines the experience point cost.
The xp parameter specifies how many experience points will be deducted from the player for each completed craft. If the player doesn't have enough XP to create an item, the item will be displayed in the result slot, but cannot be taken.
Recipe Example
Here's an example of transforming one iron ingot into a golden ingot with a cost of 5 experience points:
{ "type": "xpcraftingtable:shapeless", "ingredients": [ { "item": "minecraft:iron_ingot" } ], "xp": 5, "result": { "item": "minecraft:gold_ingot" } }
The mod is compatible with Roughly Enough Items (REI), allowing convenient viewing of all available recipes.