Push To Craft

Push To Craft

Allows you to add alternative items to existing recipes in bulk

by
1.4K Downloads
fabriclibrarymanagement
Rent Server with this Mod

About this Mod

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:

  • additions: Array - Defines all items or tags that you want to add to the targets
    • Entries are item ids as Strings. You can use tags by prepending a #.
  • targets: Array or String - Defines which items and tags to target in the recipes
    • Entries are item ids or tags as Strings.
  • recipes: Object - Gives conditions for which items to choose
    • types: Array - optional - Defines which recipe serializers to target
      • Entries are recipe serializer ids as Strings
    • ids: Array - optional - Defines which recipes to target
      • Entries are Strings that are either of these:
        • Exact recipe ids à la minecraft:anvil
        • Namespace specific regular expression that only mark the last part of the id as regex à la minecraft:.*
        • A complete regular expression beginning and ending with a forward slash à la /.*craft:.*/

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:+"
}

Available Versions

[1.19.2] 1.0.6release
MC 1.19.2fabric
November 14, 2022
[1.18+] 1.0.6release
MC 1.18.2fabric
November 14, 2022
[1.17.x] 1.0.6release
MC 1.17, 1.17.1fabric
November 14, 2022
[1.16.x] 1.0.6release
MC 1.16.2, 1.16.3, 1.16.4, 1.16.5fabric
November 14, 2022
[1.15.x] 1.0.6release
MC 1.15, 1.15.1, 1.15.2fabric
November 14, 2022

How to Install Push To Craft on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Push To Craft". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.19.2, 1.18.2, 1.17.1 (+8 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Push To Craft server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.

Is Push To Craft compatible with fabric?

Push To Craft officially supports fabric for Minecraft 1.19.2, 1.18.2, 1.17.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Push To Craft – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Push To Craft consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Push To Craft with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.19.21.18.21.17.11.171.16.51.16.41.16.31.16.21.15.21.15.1+1 more