Update to loom 1.1

This commit is contained in:
modmuss50 2023-02-01 21:09:48 +00:00
parent 0f8d3a8ccc
commit acccaaa84c
7 changed files with 2 additions and 216 deletions

View file

@ -12,7 +12,7 @@ plugins {
id 'eclipse'
id 'maven-publish'
id 'com.diffplug.spotless' version '6.12.0'
id 'fabric-loom' version '1.0-SNAPSHOT'
id 'fabric-loom' version '1.1-SNAPSHOT'
id 'com.matthewprenger.cursegradle' version '1.4.0'
id 'de.undercouch.download' version '4.1.1'
}

View file

@ -1,5 +1,6 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx2G
fabric.loom.multiProjectOptimisation=true
# Mod properties
mod_version=5.5.0

View file

@ -1,43 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:alloy_smelter/brass_ingot"
]
},
"criteria": {
"has_copper": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:copper_ingot"]
}
]
}
},
"has_zinc": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:zinc_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:alloy_smelter/brass_ingot"
}
}
},
"requirements": [
[
"has_copper",
"has_zinc",
"has_the_recipe"
]
]
}

View file

@ -1,43 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:alloy_smelter/bronze_ingot"
]
},
"criteria": {
"has_copper": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:copper_ingot"]
}
]
}
},
"has_tin": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:tin_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:alloy_smelter/bronze_ingot"
}
}
},
"requirements": [
[
"has_copper",
"has_tin",
"has_the_recipe"
]
]
}

View file

@ -1,43 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:alloy_smelter/electrum_ingot"
]
},
"criteria": {
"has_gold": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:gold_ingot"]
}
]
}
},
"has_silver": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:silver_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:alloy_smelter/electrum_ingot"
}
}
},
"requirements": [
[
"has_gold",
"has_silver",
"has_the_recipe"
]
]
}

View file

@ -1,43 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:alloy_smelter/invar_ingot"
]
},
"criteria": {
"has_iron": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:iron_ingot"]
}
]
}
},
"has_nickel": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:nickel_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:alloy_smelter/invar_ingot"
}
}
},
"requirements": [
[
"has_iron",
"has_nickel",
"has_the_recipe"
]
]
}

View file

@ -1,43 +0,0 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:alloy_smelter/netherite_ingot"
]
},
"criteria": {
"has_gold": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:gold_ingot"]
}
]
}
},
"has_scrap": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:netherite_scrap"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:alloy_smelter/netherite_ingot"
}
}
},
"requirements": [
[
"has_gold",
"has_scrap",
"has_the_recipe"
]
]
}