mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Add Automatic Feeder recipe back
This commit is contained in:
parent
cef510c8d7
commit
7c7a095cc3
3 changed files with 42 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
// 1.20.4 2024-03-11T17:51:04.4103588 Recipes
|
||||
// 1.20.4 2024-03-12T16:39:18.4273951 Recipes
|
||||
4d3128b37a7153882a9324cda49b5069207561c5 data/actuallyadditions/recipes/atomic_reconstructor.json
|
||||
b0367f5012651764931e8b8fd0c5bcca4e8614c0 data/actuallyadditions/recipes/battery_box.json
|
||||
7e05cd54092b998dfdbd2221235dd52576ec79eb data/actuallyadditions/recipes/black_quartz_block.json
|
||||
|
@ -35,6 +35,7 @@ b056eb52c2e1dc6bdb2118c1dd20147822aff982 data/actuallyadditions/recipes/ethetic_
|
|||
961311957c0bee25afbc84dded2cb6869e6baaf7 data/actuallyadditions/recipes/ethetic_white_stairs.json
|
||||
17800d8fb71d48976d98c8fa1bd14370b4bdc960 data/actuallyadditions/recipes/ethetic_white_wall.json
|
||||
318124e5a7f4d94f95eb3497b56a5dcdf575b257 data/actuallyadditions/recipes/farmer.json
|
||||
910167dadf4b41e21971dd62207d3cf4160963d0 data/actuallyadditions/recipes/feeder.json
|
||||
e2f9ec08306500d981cad22bc2cf7925712d08de data/actuallyadditions/recipes/fermenting_barrel.json
|
||||
9c1e45adf3ad5ef64044ac111ef1ac2a57a498d0 data/actuallyadditions/recipes/firework_box.json
|
||||
2391a543a2e43ff5b87234a71d9bd339f9fa3e9c data/actuallyadditions/recipes/fluid_collector.json
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"key": {
|
||||
"B": {
|
||||
"item": "actuallyadditions:basic_coil"
|
||||
},
|
||||
"C": {
|
||||
"item": "actuallyadditions:wood_casing"
|
||||
},
|
||||
"G": {
|
||||
"item": "minecraft:golden_carrot"
|
||||
},
|
||||
"P": {
|
||||
"tag": "minecraft:planks"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
"PGP",
|
||||
"BCB",
|
||||
"PGP"
|
||||
],
|
||||
"result": {
|
||||
"item": "actuallyadditions:feeder"
|
||||
}
|
||||
}
|
|
@ -5,7 +5,11 @@ import de.ellpeck.actuallyadditions.mod.blocks.ActuallyBlocks;
|
|||
import de.ellpeck.actuallyadditions.mod.items.ActuallyItems;
|
||||
import de.ellpeck.actuallyadditions.mod.util.NoAdvRecipeOutput;
|
||||
import net.minecraft.data.PackOutput;
|
||||
import net.minecraft.data.recipes.*;
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.data.recipes.RecipeOutput;
|
||||
import net.minecraft.data.recipes.RecipeProvider;
|
||||
import net.minecraft.data.recipes.ShapedRecipeBuilder;
|
||||
import net.minecraft.data.recipes.ShapelessRecipeBuilder;
|
||||
import net.minecraft.tags.ItemTags;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.world.level.ItemLike;
|
||||
|
@ -448,6 +452,15 @@ public class BlockRecipeGenerator extends RecipeProvider {
|
|||
.define('R', ActuallyItems.RESTONIA_CRYSTAL)
|
||||
.define('C', ActuallyBlocks.ENDER_CASING.getItem())
|
||||
.save(recipeOutput);
|
||||
|
||||
// Automatic Feeder
|
||||
Recipe.shaped(ActuallyBlocks.FEEDER.getItem())
|
||||
.pattern("PGP", "BCB", "PGP")
|
||||
.define('P', ItemTags.PLANKS)
|
||||
.define('G', Items.GOLDEN_CARROT)
|
||||
.define('B', ActuallyItems.BASIC_COIL)
|
||||
.define('C', ActuallyBlocks.WOOD_CASING.getItem())
|
||||
.save(recipeOutput);
|
||||
}
|
||||
|
||||
public static class Recipe {
|
||||
|
|
Loading…
Reference in a new issue