[add] Orte Smellting
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+32
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
+14
@@ -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.item.crafting.*;
|
||||||
import net.minecraft.world.level.ItemLike;
|
import net.minecraft.world.level.ItemLike;
|
||||||
import net.neoforged.neoforge.common.conditions.IConditionBuilder;
|
import net.neoforged.neoforge.common.conditions.IConditionBuilder;
|
||||||
|
import ovh.glitchlabs.ichori.Block.ModBlocks;
|
||||||
import ovh.glitchlabs.ichori.Ichori;
|
import ovh.glitchlabs.ichori.Ichori;
|
||||||
|
import ovh.glitchlabs.ichori.Item.ModItems;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
@@ -19,6 +22,10 @@ public class ModRecipeProvider extends RecipeProvider implements IConditionBuild
|
|||||||
@Override
|
@Override
|
||||||
protected void buildRecipes(RecipeOutput recipeOutput) {
|
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,
|
List<ItemLike> BISMUTH_SMELTABLES = List.of(ModItems.RAW_BISMUTH,
|
||||||
ModBlocks.BISMUTH_ORE, ModBlocks.BISMUTH_DEEPSLATE_ORE);
|
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)
|
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.BISMUTH.get(), 9)
|
||||||
.requires(ModBlocks.BISMUTH_BLOCK)
|
.requires(ModBlocks.BISMUTH_BLOCK)
|
||||||
.unlockedBy("has_bismuth_block", has(ModBlocks.BISMUTH_BLOCK)).save(recipeOutput);
|
.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": {
|
"emitter_settings": {
|
||||||
"shape": {
|
"shape": {
|
||||||
"shape": "veil:point",
|
"shape": "veil:point",
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
1.0
|
1.0
|
||||||
],
|
],
|
||||||
"rotation": [
|
"rotation": [
|
||||||
0.0,
|
0.0,<
|
||||||
0.0,
|
0.0,
|
||||||
0.0
|
0.0
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user