File tree Expand file tree Collapse file tree
generated/resources/data/expandedae
advancements/recipes/misc/crafting
main/java/lu/kolja/expandedae/datagen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "parent" : " minecraft:recipes/root" ,
3+ "criteria" : {
4+ "has_certus_quartz_crystal_charged" : {
5+ "conditions" : {
6+ "items" : [
7+ {
8+ "items" : [
9+ " ae2:charged_certus_quartz_crystal"
10+ ]
11+ }
12+ ]
13+ },
14+ "trigger" : " minecraft:inventory_changed"
15+ },
16+ "has_fluix_crystal" : {
17+ "conditions" : {
18+ "items" : [
19+ {
20+ "items" : [
21+ " ae2:fluix_crystal"
22+ ]
23+ }
24+ ]
25+ },
26+ "trigger" : " minecraft:inventory_changed"
27+ },
28+ "has_memory_card" : {
29+ "conditions" : {
30+ "items" : [
31+ {
32+ "items" : [
33+ " ae2:memory_card"
34+ ]
35+ }
36+ ]
37+ },
38+ "trigger" : " minecraft:inventory_changed"
39+ },
40+ "has_the_recipe" : {
41+ "conditions" : {
42+ "recipe" : " expandedae:crafting/priority_card"
43+ },
44+ "trigger" : " minecraft:recipe_unlocked"
45+ }
46+ },
47+ "requirements" : [
48+ [
49+ " has_memory_card" ,
50+ " has_certus_quartz_crystal_charged" ,
51+ " has_fluix_crystal" ,
52+ " has_the_recipe"
53+ ]
54+ ],
55+ "rewards" : {
56+ "recipes" : [
57+ " expandedae:crafting/priority_card"
58+ ]
59+ },
60+ "sends_telemetry_event" : false
61+ }
Original file line number Diff line number Diff line change 1+ {
2+ "type" : " minecraft:crafting_shapeless" ,
3+ "category" : " misc" ,
4+ "ingredients" : [
5+ {
6+ "item" : " ae2:memory_card"
7+ },
8+ {
9+ "item" : " ae2:charged_certus_quartz_crystal"
10+ },
11+ {
12+ "item" : " ae2:fluix_crystal"
13+ }
14+ ],
15+ "result" : {
16+ "item" : " expandedae:priority_card"
17+ }
18+ }
Original file line number Diff line number Diff line change 22
33import appeng .api .util .AEColor ;
44import appeng .core .definitions .AEBlocks ;
5+ import appeng .core .definitions .AEItems ;
56import appeng .core .definitions .AEParts ;
67import com .glodblock .github .extendedae .common .EPPItemAndBlock ;
78import gripe ._90 .megacells .definition .MEGABlocks ;
@@ -186,6 +187,16 @@ protected void buildRecipes(@NotNull Consumer<FinishedRecipe> out) {
186187 .unlockedBy ("has_mega_fluid_cell_housing" , has (MEGAItems .MEGA_FLUID_CELL_HOUSING ))
187188 ::save )
188189 .build (out , craftingId ("exp_dual_storage_cell_mega_housing" ));
190+
191+ ShapelessRecipeBuilder .shapeless (MISC , PRIORITY_CARD )
192+ .requires (MEMORY_CARD )
193+ .requires (CERTUS_QUARTZ_CRYSTAL_CHARGED )
194+ .requires (FLUIX_CRYSTAL )
195+ .unlockedBy ("has_memory_card" , has (MEMORY_CARD ))
196+ .unlockedBy ("has_certus_quartz_crystal_charged" , has (CERTUS_QUARTZ_CRYSTAL_CHARGED ))
197+ .unlockedBy ("has_fluix_crystal" , has (FLUIX_CRYSTAL ))
198+ .save (out , craftingId ("priority_card" ));
199+
189200 for (var cell : ExpItems .getCells ().entrySet ()) {
190201 ShapelessRecipeBuilder .shapeless (MISC , cell .getKey ())
191202 .requires (cell .getKey ().asItem ().coreItem )
You can’t perform that action at this time.
0 commit comments