Skip to content

Commit

Permalink
style(neo/1.20.4): 添加齿轮、无尽之泪配方
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlimiter committed Feb 11, 2024
1 parent 101d7b0 commit 222c6e1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ curios_version=7.0.0-beta.3+1.20.4
mod_id=avaritia
mod_name=Re-Avaritia-forged
mod_license=MIT
mod_version=1.3.5.1
mod_version=1.3.5.2
mod_group_id=committee.nova.mods
mod_authors=cnlimiter, Asek3, MikhailTapio
mod_description=Are you the type of modded Minecraft player that makes a beeline for the designated \"end game\" and then gives up on ever playing again once you get there? Do you wish there was a way to make the process take significantly longer? Do you love GregTech, but wish it weren't so short? Do you sit down on your chest full of Galgadorian Drills and wish there was a mod that didn't just hand things to you on a silver platter?\n\n \n\nThis might be the mod for you!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import net.minecraft.core.HolderLookup;
import net.minecraft.data.DataGenerator;
import net.minecraft.data.recipes.*;
import net.minecraft.nbt.Tag;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
Expand Down Expand Up @@ -82,6 +83,22 @@ protected void buildRecipes(@NotNull RecipeOutput consumer) {
.define('e', ModItems.infinity_ingot.get())
.unlockedBy("has_item", has(Items.DRAGON_EGG)).save(consumer);

ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.neutron_gear.get())
.pattern(" n ")
.pattern("ncn")
.pattern(" n ")
.define('n', ModItems.neutron_ingot.get())
.define('c', ModItems.crystal_matrix_ingot.get())
.unlockedBy("has_item", has(ModItems.neutron_ingot.get())).save(consumer);

ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.star_fuel.get())
.pattern("ccc")
.pattern("cxc")
.pattern("ccc")
.define('c', Tags.Items.ORES_COAL)
.define('x', ModItems.infinity_catalyst.get())
.unlockedBy("has_item", has(ModItems.infinity_catalyst.get())).save(consumer);

ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModBlocks.dense_neutron_collector.get())
.pattern("aaa")
.pattern("aga")
Expand All @@ -98,14 +115,14 @@ protected void buildRecipes(@NotNull RecipeOutput consumer) {
.define('g', ModItems.neutron_gear.get())
.unlockedBy("has_item", has(ModItems.neutron_gear.get())).save(consumer);


ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.record_fragment.get(), 4)
.requires(ItemTags.MUSIC_DISCS)
.unlockedBy("has_item", has(ModItems.record_fragment.get()))
.save(consumer);



ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.infinity_nugget.get(), 9)
.requires(ModItems.infinity_ingot.asItem())
.unlockedBy("has_item", has(ModItems.infinity_ingot.get())).save(consumer);

ModShapelessRecipeBuilder.shapeless(RecipeCategory.TOOLS, ModItems.cosmic_meatballs.get())
.requires(Items.PORKCHOP)
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/assets/avaritia/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"item.avaritia.record_fragment": "唱片碎片",
"item.avaritia.singularity": "奇点-%s",
"item.avaritia.star_fuel": "恒星燃料",
"item.avaritia.infinity_nugget": "无尽液滴",
"item.avaritia.infinity_nugget": "无尽之泪",
"item.avaritia.neutron_gear": "中子齿轮",
"tooltip.crystal_matrix_ingot.desc": "这甚至不是最终形态.",
"tooltip.neutron_pile.desc": "尽量不要去想它.",
Expand Down Expand Up @@ -75,7 +75,7 @@
"block.avaritia.compressed_crafting_table": "压缩工作台",
"block.avaritia.double_compressed_crafting_table": "二重压缩工作台",
"block.avaritia.extreme_crafting_table": "终极工作台",
"block.avaritia.endless_cake": "无尽蛋糕",
"block.avaritia.endless_cake": "贪婪蛋糕",
"container.compressor": "中子态素压缩机",
"container.neutron_collector": "中子态素收集器",
"container.dense_neutron_collector": "致密中子态素收集器",
Expand Down

0 comments on commit 222c6e1

Please sign in to comment.