Skip to content

Commit

Permalink
Re-add forgotten ME Source Jar recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Oct 21, 2024
1 parent 1deb0e3 commit 93b7462
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
import net.minecraft.data.CachedOutput;
import net.minecraft.data.DataGenerator;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.crafting.Ingredient;

import appeng.core.definitions.AEBlocks;
import appeng.core.definitions.AEItems;
import appeng.datagen.providers.tags.ConventionTags;

import gripe._90.arseng.definition.ArsEngBlocks;
import gripe._90.arseng.definition.ArsEngItems;
Expand All @@ -35,14 +37,12 @@ public void addEntries() {
.withPedestalItem(4, Items.GOLD_BLOCK)
.withSourceCost(10000)
.build());
/*
addRecipe(builder()
.withResult(ArsEngBlocks.ME_SOURCE_JAR)
.withReagent(BlockRegistry.SOURCE_JAR)
.withPedestalItem(ItemsRegistry.MANIPULATION_ESSENCE)
.withPedestalItem(Ingredient.of(ConventionTags.INTERFACE))
.build());
*/
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// 1.21.1 2024-10-14T21:07:58.035271436 vanilla/Apparatus Recipes
// 1.21.1 2024-10-21T15:33:51.937293932 vanilla/Apparatus Recipes
fc785ff012d67a4eb91cec476c966a36f78f4615 data/arseng/recipes/me_source_jar.json
75effbf505756d4af95e92f686dace152900cfe2 data/arseng/recipes/source_acceptor.json
7e89534007a82652e543005ebabaddc1129367ae data/arseng/recipes/source_cell_housing.json
20 changes: 20 additions & 0 deletions src/generated/resources/data/arseng/recipes/me_source_jar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "ars_nouveau:enchanting_apparatus",
"keepNbtOfReagent": false,
"pedestalItems": [
{
"item": "ars_nouveau:manipulation_essence"
},
{
"tag": "ae2:interface"
}
],
"reagent": {
"item": "ars_nouveau:source_jar"
},
"result": {
"count": 1,
"id": "arseng:me_source_jar"
},
"sourceCost": 0
}
3 changes: 1 addition & 2 deletions src/main/java/gripe/_90/arseng/part/SourceConverterPart.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public SourceConverterPart(IPartItem<?> partItem) {
}

public static void registerCapability(RegisterPartCapabilitiesEvent event) {
event.register(
CapabilityRegistry.SOURCE_CAPABILITY, (part, context) -> part.adaptor, SourceConverterPart.class);
event.register(CapabilityRegistry.SOURCE_CAPABILITY, (part, ctx) -> part.adaptor, SourceConverterPart.class);
}

@Override
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/arseng.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"minVersion": "0.8.5",
"required": true,
"package": "gripe._90.arseng.mixin",
"refmap": "arseng.refmap.json",
"compatibilityLevel": "JAVA_17",
"mixins": ["ConfigInventoryMixin"],
"client": [],
"injectors": {
"defaultRequire": 1
}
Expand Down

0 comments on commit 93b7462

Please sign in to comment.