Datapack
Datapack support is one of the core features of AnvilCraft, allowing customization of various recipes and mechanics through JSON files. The following documentation will detail the structure, fields, and usage of each recipe type.
Recipes
These recipe types form the foundation of AnvilCraft's crafting system:
- InWorld Recipe - In-world recipe system, triggered by mechanisms like anvils
- Item Compress Recipe - Compress multiple items into more advanced items
- Block Compress Recipe - Compress multiple blocks into more advanced blocks
- Item Crush Recipe - Crush items into smaller items
- Block Crush Recipe - Crush blocks into smaller blocks or items
- Stamping Recipe - Transform items into other items on the stamping platform
- Bulging Recipe - Bulge items into other items using fluid in cauldrons
- Squeezing Recipe - Squeeze blocks into other blocks using fluid in cauldrons
- Item Inject Recipe - Inject fluid into items to create new items
- Cooking Recipe - Cook items into other items using heat sources
- Super Heating Recipe - Transform items using high-temperature fluid
- Time Warp Recipe - Transform items using time power and fluid
- Unpack Recipe - Unpack compressed items into original items
- Block Smear Recipe - Smear lower blocks using upper blocks
- Multiblock Recipe - Define complex multiblock structure recipes
- Mob Transform Recipe - Define transformation rules between mob entities
- Jewel Crafting Recipe - Craft various jewelry and decorative items
- Mineral Fountain Recipe - Define block transformation rules for mineral fountains
- Boiling Recipe - Process items with cauldron + lit campfire conditions
- Mesh Recipe - Filter/transform items through mesh scaffolding
- Mass Inject Recipe - Inject mass value into target items
- Stamping Unique Items Recipe - Stamping recipe with unique (non-duplicate) inputs
- Mob Transform With Item Recipe - Item-driven probabilistic special mob transformation
- Multiblock Conversion Recipe - Convert a matched structure into another structure
- Mineral Fountain Chance Recipe - Dimension-limited probability conversion for mineral fountain
- Charger Charging Recipe - Define charger/discharger processing behavior
- Multiple To One Smithing Recipe - 2/4/8-to-1 multi-input smithing recipes
- Neutron Irradiation Recipe - Process items with neutron irradiator conditions
- Permutation Recipe - Frost smithing permutation recipe type
- Deformation Recipe - Frost smithing deformation recipe type
- Energy Weapon Make Recipe - Multi-ingredient energy weapon assembly
- Anvil Collision Craft Recipe - Trigger conversions by anvil collision speed and targets
Usage Instructions
To use these recipes, you need to create corresponding JSON files in your datapack and place them in the correct directory structure. Each recipe type has its specific structure and field requirements - please refer to the corresponding documentation for detailed information.