Added IE Cloche recipes for AA Crops.

This commit is contained in:
Flanks255 2024-10-24 16:06:42 -05:00
parent eb4a1b9998
commit e63376b018
10 changed files with 168 additions and 2 deletions

View file

@ -99,6 +99,11 @@ dependencies {
localRuntime "curse.maven:jade-324717:5803666"
localRuntime "curse.maven:mekanism-268560:5680395"
// Immersive Engineering, mainly for compat datagen
implementation "curse.maven:ie-231951:5828000"
implementation "blusunrize.immersiveengineering:ImmersiveEngineering:1.21.1-12.0.0-182.77:datagen"
implementation "blusunrize.immersiveengineering:ImmersiveEngineering:1.21.1-12.0.0-182.77:api"
implementation "top.theillusivec4.curios:curios-neoforge:${curios_version}"
}

View file

@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
# Actually Additions
mod_version=1.3.6
mod_version=1.3.7
# Forge
game_version=1.21.1

View file

@ -1,3 +1,7 @@
// 1.21.1 2024-08-11T19:30:01.8123206 Misc Recipes
// 1.21.1 2024-10-24T15:58:31.7869255 Misc Recipes
426ef39628bee0e5fa5478e8490b9661a302bc5b data/actuallyadditions/recipe/compat/cloche_canola.json
86384eda7472a193965aec7c58a1e97178bd901b data/actuallyadditions/recipe/compat/cloche_coffee.json
f60e89093717ab73b5ec4760a4a2a2502ad92b21 data/actuallyadditions/recipe/compat/cloche_flax.json
c2a9c355543d601b810a4ffc581bdeaf00077358 data/actuallyadditions/recipe/compat/cloche_rice.json
11e0dd08e85ab0f073a06a447be5e57949849180 data/actuallyadditions/recipe/fermenting/refined_canola.json
3b226a682d7de7ffff4b91818057c740b4e7bcd7 data/actuallyadditions/recipe/pressing/canola.json

View file

@ -0,0 +1,25 @@
{
"type": "immersiveengineering:cloche",
"input": {
"item": "actuallyadditions:canola_seeds"
},
"render": {
"type": "immersiveengineering:crop",
"block": "actuallyadditions:canola"
},
"results": [
{
"basePredicate": {
"item": "actuallyadditions:canola"
},
"count": 2
},
{
"item": "actuallyadditions:canola_seeds"
}
],
"soil": {
"tag": "minecraft:dirt"
},
"time": 800
}

View file

@ -0,0 +1,25 @@
{
"type": "immersiveengineering:cloche",
"input": {
"item": "actuallyadditions:coffee_beans"
},
"render": {
"type": "immersiveengineering:crop",
"block": "actuallyadditions:coffee"
},
"results": [
{
"basePredicate": {
"item": "actuallyadditions:coffee_beans"
},
"count": 2
},
{
"item": "actuallyadditions:coffee_beans"
}
],
"soil": {
"tag": "minecraft:dirt"
},
"time": 800
}

View file

@ -0,0 +1,25 @@
{
"type": "immersiveengineering:cloche",
"input": {
"item": "actuallyadditions:flax_seeds"
},
"render": {
"type": "immersiveengineering:crop",
"block": "actuallyadditions:flax"
},
"results": [
{
"basePredicate": {
"item": "minecraft:string"
},
"count": 2
},
{
"item": "actuallyadditions:flax_seeds"
}
],
"soil": {
"tag": "minecraft:dirt"
},
"time": 800
}

View file

@ -0,0 +1,25 @@
{
"type": "immersiveengineering:cloche",
"input": {
"item": "actuallyadditions:rice_seeds"
},
"render": {
"type": "immersiveengineering:crop",
"block": "actuallyadditions:rice"
},
"results": [
{
"basePredicate": {
"item": "actuallyadditions:rice"
},
"count": 2
},
{
"item": "actuallyadditions:rice_seeds"
}
],
"soil": {
"tag": "minecraft:dirt"
},
"time": 800
}

View file

@ -1,5 +1,6 @@
package de.ellpeck.actuallyadditions.data;
import de.ellpeck.actuallyadditions.data.compat.ClocheRecipes;
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
import de.ellpeck.actuallyadditions.mod.crafting.FermentingRecipe;
import de.ellpeck.actuallyadditions.mod.crafting.PressingRecipe;
@ -36,6 +37,8 @@ public class MiscMachineRecipeGenerator extends RecipeProvider {
recipeOutput.accept(folderRecipe("fermenting", "refined_canola"), new FermentingRecipe(
new FluidStack(InitFluids.CANOLA_OIL.get(), 80), new FluidStack(InitFluids.REFINED_CANOLA_OIL.get(), 80), 100), null);
ClocheRecipes.buildRecipes(recipeOutput);
}
// private String getItemName(ItemLike item) {

View file

@ -0,0 +1,51 @@
package de.ellpeck.actuallyadditions.data.compat;
import blusunrize.immersiveengineering.client.utils.ClocheRenderFunctions;
import blusunrize.immersiveengineering.data.recipes.builder.ClocheRecipeBuilder;
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
import de.ellpeck.actuallyadditions.mod.blocks.ActuallyBlocks;
import de.ellpeck.actuallyadditions.mod.items.ActuallyItems;
import net.minecraft.data.recipes.RecipeOutput;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
import net.minecraft.world.item.Items;
public class ClocheRecipes {
public static void buildRecipes(RecipeOutput output) {
ClocheRecipeBuilder.builder()
.output(ActuallyItems.CANOLA, 2)
.output(ActuallyItems.CANOLA_SEEDS)
.seed(ActuallyItems.CANOLA_SEEDS)
.soil(ItemTags.DIRT)
.setTime(800)
.setRender(new ClocheRenderFunctions.RenderFunctionCrop(ActuallyBlocks.CANOLA.get()))
.build(output, ResourceLocation.fromNamespaceAndPath(ActuallyAdditions.MODID, "compat/cloche_canola"));
ClocheRecipeBuilder.builder()
.output(Items.STRING, 2)
.output(ActuallyItems.FLAX_SEEDS)
.seed(ActuallyItems.FLAX_SEEDS)
.soil(ItemTags.DIRT)
.setTime(800)
.setRender(new ClocheRenderFunctions.RenderFunctionCrop(ActuallyBlocks.FLAX.get()))
.build(output, ResourceLocation.fromNamespaceAndPath(ActuallyAdditions.MODID, "compat/cloche_flax"));
ClocheRecipeBuilder.builder()
.output(ActuallyItems.COFFEE_BEANS, 2)
.output(ActuallyItems.COFFEE_BEANS)
.seed(ActuallyItems.COFFEE_BEANS)
.soil(ItemTags.DIRT)
.setTime(800)
.setRender(new ClocheRenderFunctions.RenderFunctionCrop(ActuallyBlocks.COFFEE.get()))
.build(output, ResourceLocation.fromNamespaceAndPath(ActuallyAdditions.MODID, "compat/cloche_coffee"));
ClocheRecipeBuilder.builder()
.output(ActuallyItems.RICE, 2)
.output(ActuallyItems.RICE_SEEDS)
.seed(ActuallyItems.RICE_SEEDS)
.soil(ItemTags.DIRT)
.setTime(800)
.setRender(new ClocheRenderFunctions.RenderFunctionCrop(ActuallyBlocks.RICE.get()))
.build(output, ResourceLocation.fromNamespaceAndPath(ActuallyAdditions.MODID, "compat/cloche_rice"));
}
}

View file

@ -1,3 +1,6 @@
# 1.3.6+mc1.21.1
* Added recipes for AA crops in the IE cloche.
# 1.3.6+mc1.21.1
* Add the ability to open the Crafting Table On A Stick while inside a Curios slot
* Add missing XP Solidifier recipe