Skip to content

Commit

Permalink
new Guidebook jar with fix for recipes so that background is drawn be…
Browse files Browse the repository at this point in the history
…hind

fix GCTRecipeProvider
  • Loading branch information
lirelent committed Jul 7, 2019
1 parent ac9ff8a commit 961fe1a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ dependencies {
//deobfCompile "com.enderio.core:EnderCore:1.12.2-0.5.58"

// modified guidebook, note "lirelent" package
deobfCompile "gigaherz.lirelent.guidebook:Guidebook-1.12.2:2.9.1.s4"
embed "gigaherz.lirelent.guidebook:Guidebook-1.12.2:2.9.1.s4"
deobfCompile "gigaherz.lirelent.guidebook:Guidebook-1.12.2:2.9.1.s5"
embed "gigaherz.lirelent.guidebook:Guidebook-1.12.2:2.9.1.s5"

compileOnly 'thaumcraft:Thaumcraft:1.12.2:6.1.BETA26'

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
import java.util.ArrayList;

public class GCTRecipeProvider extends RecipeProvider {
public static final ResourceLocation BACKGROUND = new ResourceLocation(ArcaneArchives.MODID, "textures/gui/jei/gem_cutters_table.png");
public static final ResourceLocation BACKGROUND = new ResourceLocation(ArcaneArchives.MODID, "gui/jei/gem_cutters_table");

@Nullable
@Override
public ProvidedComponents provideRecipeComponents (@Nonnull ItemStack targetOutput, int recipeIndex) {
return null;
return provideRecipeComponents(targetOutput.getItem().getRegistryName());
}

@Nullable
Expand Down
13 changes: 6 additions & 7 deletions src/main/resources/assets/arcanearchives/xml/tome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -554,13 +554,12 @@
<p>
<stack item="arcanearchives:gemcutters_table" /> Radiant Troves can be crafted on a <link ref="GemCuttersTable">Gem Cutter's Table</link>.
</p>
<p>
<recipe type="arcanearchives:gct_recipe">
<recipe.result>
<stack item="arcanearchives:radiant_trove"/>
</recipe.result>
</recipe>
</p>
<section-break />
<recipe type="arcanearchives:gct_recipe">
<recipe.result>
<stack item="arcanearchives:radiant_trove"/>
</recipe.result>
</recipe>
</section>
</chapter>

Expand Down

0 comments on commit 961fe1a

Please sign in to comment.