[add] Orte Smellting

This commit is contained in:
2026-10-17 20:18:54 +02:00
parent f8dffb7401
commit 4312954bc0
5 changed files with 58 additions and 7 deletions
@@ -1 +1,3 @@
// 1.21.1 2026-10-16T12:47:44.582636587 Recipes
// 1.21.1 2026-10-17T20:18:36.222065476 Recipes
5aecd4dee850e8f2cf32cb53ef237be7170a881a data/ichori/advancement/recipes/misc/crystallized_titan_blood_from_smelting_crystallized_titan_blood_ore.json
de6b3e2870cd3e45f63ab2b8eb1a888e32d9aaa6 data/ichori/recipe/crystallized_titan_blood_from_smelting_crystallized_titan_blood_ore.json
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_crystallized_titan_blood_ore": {
"conditions": {
"items": [
{
"items": "ichori:crystallized_titan_blood_ore"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "ichori:crystallized_titan_blood_from_smelting_crystallized_titan_blood_ore"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_crystallized_titan_blood_ore"
]
],
"rewards": {
"recipes": [
"ichori:crystallized_titan_blood_from_smelting_crystallized_titan_blood_ore"
]
}
}
@@ -0,0 +1,14 @@
{
"type": "minecraft:smelting",
"category": "misc",
"cookingtime": 200,
"experience": 0.25,
"group": "crystallized_titan_blood",
"ingredient": {
"item": "ichori:crystallized_titan_blood_ore"
},
"result": {
"count": 1,
"id": "ichori:crystallized_titan_blood"
}
}
@@ -6,8 +6,11 @@ import net.minecraft.data.recipes.*;
import net.minecraft.world.item.crafting.*;
import net.minecraft.world.level.ItemLike;
import net.neoforged.neoforge.common.conditions.IConditionBuilder;
import ovh.glitchlabs.ichori.Block.ModBlocks;
import ovh.glitchlabs.ichori.Ichori;
import ovh.glitchlabs.ichori.Item.ModItems;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.CompletableFuture;
@@ -19,6 +22,10 @@ public class ModRecipeProvider extends RecipeProvider implements IConditionBuild
@Override
protected void buildRecipes(RecipeOutput recipeOutput) {
oreSmelting(recipeOutput, Collections.singletonList(ModBlocks.CRYSTALLIZED_TITAN_BLOOD_ORE), RecipeCategory.MISC, ModItems.CRYSTALLIZED_TITAN_BLOOD.get(), 0.25f, 200, "crystallized_titan_blood");
/*
List<ItemLike> BISMUTH_SMELTABLES = List.of(ModItems.RAW_BISMUTH,
ModBlocks.BISMUTH_ORE, ModBlocks.BISMUTH_DEEPSLATE_ORE);
@@ -33,10 +40,6 @@ public class ModRecipeProvider extends RecipeProvider implements IConditionBuild
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.BISMUTH.get(), 9)
.requires(ModBlocks.BISMUTH_BLOCK)
.unlockedBy("has_bismuth_block", has(ModBlocks.BISMUTH_BLOCK)).save(recipeOutput);
oreSmelting(recipeOutput, BISMUTH_SMELTABLES, RecipeCategory.MISC, ModItems.BISMUTH.get(), 0.25f, 200, "bismuth");
*/
}
@@ -1,5 +1,5 @@
{
"count": 3,
"count": 4,
"emitter_settings": {
"shape": {
"shape": "veil:point",
@@ -9,7 +9,7 @@
1.0
],
"rotation": [
0.0,
0.0,<
0.0,
0.0
],