Push To Craft
Allows you to add alternative items to existing recipes in bulk
Обновлён 14 ноября 2022 г. · опубликован 11 августа 2022 г.
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
#.
- 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 choosetypes: 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:.*/
- Exact recipe ids à la
- Entries are Strings that are either of these:
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:+"
}
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.0.6+mc1.19.2 | Релиз | 1.19.2 | fabric | 14 ноября 2022 г. | Скачать (21 КБ) |
| 1.0.6+mc1.18.2 | Релиз | 1.18.2 | fabric | 14 ноября 2022 г. | Скачать (21 КБ) |
| 1.0.6+mc1.17.1 | Релиз | 1.17, 1.17.1 | fabric | 14 ноября 2022 г. | Скачать (19 КБ) |
| 1.0.6+mc1.16.4 | Релиз | 1.16.2, 1.16.3, 1.16.4, 1.16.5 | fabric | 14 ноября 2022 г. | Скачать (19 КБ) |
| 1.0.6+mc1.15.2 | Релиз | 1.15, 1.15.1, 1.15.2 | fabric | 14 ноября 2022 г. | Скачать (19 КБ) |
| 1.0.5+mc1.19.2 | Релиз | 1.19.2 | fabric | 18 сентября 2022 г. | Скачать (21 КБ) |
| 1.0.5+mc1.18.2 | Релиз | 1.18.2 | fabric | 18 сентября 2022 г. | Скачать (21 КБ) |
| 1.0.5+mc1.17.1 | Релиз | 1.17, 1.17.1 | fabric | 11 августа 2022 г. | Скачать (18 КБ) |
| 1.0.5+mc1.16.4 | Релиз | 1.16.2, 1.16.3, 1.16.4, 1.16.5 | fabric | 11 августа 2022 г. | Скачать (18 КБ) |
| 1.0.5+mc1.15.2 | Релиз | 1.15, 1.15.1, 1.15.2 | fabric | 11 августа 2022 г. | Скачать (18 КБ) |
Ченджлог
1.0.6+mc1.19.2Релиз1.19.2 · 14 ноября 2022 г.
Version 1.0.6
- Fix various compatibility issues, especially with deserialization_hooks (dependency of e.g. Create)
Release by Siphalor
1.0.6+mc1.18.2Релиз1.18.2 · 14 ноября 2022 г.
Version 1.0.6
- Fix various compatibility issues, especially with deserialization_hooks (dependency of e.g. Create)
Release by Siphalor
1.0.6+mc1.17.1Релиз1.17, 1.17.1 · 14 ноября 2022 г.
Version 1.0.6
- Fix various compatibility issues, especially with deserialization_hooks (dependency of e.g. Create)
Release by Siphalor
1.0.6+mc1.16.4Релиз1.16.3, 1.16.4, 1.16.5 · 14 ноября 2022 г.
Version 1.0.6
- Fix various compatibility issues, especially with deserialization_hooks (dependency of e.g. Create)
Release by Siphalor
1.0.6+mc1.15.2Релиз1.15, 1.15.1, 1.15.2 · 14 ноября 2022 г.
Version 1.0.6
- Fix various compatibility issues, especially with deserialization_hooks (dependency of e.g. Create)
Release by Siphalor
1.0.5+mc1.19.2Релиз1.19.2 · 18 сентября 2022 г.
Version 1.0.5
Release by Siphalor
1.0.5+mc1.18.2Релиз1.18.2 · 18 сентября 2022 г.
Version 1.0.5
Release by Siphalor
1.0.5+mc1.17.1Релиз1.17, 1.17.1 · 11 августа 2022 г.
Version 1.0.5
Release by Siphalor
Комментарии
Загружаем…