ValkyrieLib Wiki › Guides › ValkyrieLib Mechanics & Recipe System
ValkyrieLib Mechanics & Recipe System
ValkyrieLib introduces a specialized datapack convention that allows modpack developers and players to highly customize mod behavior.
Datapack Recipe Types
The mod uses a unique syntax for defining items and fluids within its JSON recipes to ensure compatibility and flexibility.
- Item Type: Defined using the
raw:itemkey.json "input": { "raw:item": "minecraft:iron_ingot" } - Fluid Type: Defined using the
raw:fluidkey, allowing for precise fluid amounts in machine recipes.json "input": { "raw:fluid": "minecraft:water", "amount": 1000 }
Overriding Recipes
Players can override or disable any recipe that utilizes the ValkyrieLib system by placing a JSON file with the same name in their world's datapack folder. Setting the result count to 0 or omitting the result entirely will effectively disable the recipe.