update patchouli and add it as a maven dep

This commit is contained in:
Ellpeck 2018-11-10 23:25:53 +01:00
parent 696c92ce59
commit 0fee6082ef
3 changed files with 7 additions and 5 deletions

View file

@ -22,18 +22,20 @@ compileJava {
repositories {
maven {
url "http://dvs1.progwml6.com/files/maven"
url = "http://dvs1.progwml6.com/files/maven"
}
maven {
url = "http://maven.thiakil.com"
}
maven {
url = "https://maven.blamejared.com"
}
}
dependencies {
deobfCompile "mezz.jei:jei_1.12.2:4.13.1.220"
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"
compile files("/lib/Patchouli.jar")
compile "vazkii.patchouli:Patchouli:1.0-6.8"
}

View file

@ -12,7 +12,7 @@ public class ProcessorAltar implements IComponentProcessor {
private AltarRecipe recipe;
@Override
public void setup(IVariableProvider provider) {
public void setup(IVariableProvider<String> provider) {
ResourceLocation res = new ResourceLocation(provider.get("recipe"));
this.recipe = AltarRecipe.RECIPES.get(res);
}

View file

@ -11,7 +11,7 @@ public class ProcessorTreeRitual implements IComponentProcessor {
private TreeRitualRecipe recipe;
@Override
public void setup(IVariableProvider provider) {
public void setup(IVariableProvider<String> provider) {
ResourceLocation res = new ResourceLocation(provider.get("recipe"));
this.recipe = TreeRitualRecipe.RECIPES.get(res);
}