HomeJavaModsPush To Craft
Push To Craft

Usage

This mod adds a new data type called push_to_craft. Put the files into a push_to_craft directory in your datapack or data folder of your mod (beneath the recipes or tags directories).

A valid json file is built like this:

Example

This allows you to use blackstone in favor of cobblestone everywhere:

{
    "additions": [
        "minecraft:blackstone"
    ],
    "targets": [
        "minecraft:cobblestone"
    ],
    "recipes": {}
}

This allows you to use emeralds and all kinds of planks as alternatives to diamonds and iron ores in crafting and smelting recipes:

{
	"additions": [
		"minecraft:emerald",
		"#minecraft:planks"
	],
	"targets": [
		"minecraft:diamond",
		"minecraft:iron_ore"
	],
	"recipes": {
		"types": [
			"crafting_shaped",
			"crafting_shapeless",
			"blasting"
		],
		"ids": [
			"minecraft:/.*/"
		]
	}
}

Modders

If you're a modder and like to use this in your projects you can do so using my maven:

repositories {
    maven {
        name "Siphalor's Maven"
        url "https://maven.siphalor.de"
    }
}

dependencies {
    modCompile "de.siphalor:pushtocraft-1.15:+"
    // Optionally you can include this mod into your jar
    include "de.siphalor:pushtocraft-1.15:+"
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more