diff --git a/.gitignore b/.gitignore index 2e6d260..452a89c 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ $RECYCLE.BIN/ .TemporaryItems .Trashes .VolumeIcon.icns +*.iml # Directories potentially created on remote AFP share .AppleDB @@ -47,4 +48,7 @@ Temporary Items .apdisk build/ bin/ -.gradle/ \ No newline at end of file +.gradle/ +.idea +run/ +out/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 5fe6a22..639d38c 100644 --- a/build.gradle +++ b/build.gradle @@ -69,7 +69,7 @@ repositories { } dependencies { - deobfCompile "mezz.jei:jei_1.12.2:4.8.5.133" + deobfCompile "mezz.jei:jei_1.12.2:4.9.1.169" deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.0.9.289" } diff --git a/src/main/java/primal_tech/jei/JEIPluginWorkStump.java b/src/main/java/primal_tech/jei/JEIPluginWorkStump.java new file mode 100644 index 0000000..ba677cf --- /dev/null +++ b/src/main/java/primal_tech/jei/JEIPluginWorkStump.java @@ -0,0 +1,20 @@ +package primal_tech.jei; + +import mezz.jei.api.IModPlugin; +import mezz.jei.api.IModRegistry; +import mezz.jei.api.JEIPlugin; +import mezz.jei.api.recipe.VanillaRecipeCategoryUid; +import net.minecraft.item.ItemStack; +import primal_tech.ModBlocks; + +@JEIPlugin +public class JEIPluginWorkStump + implements IModPlugin { + + @Override + public void register(IModRegistry registry) { + + registry.addRecipeCatalyst(new ItemStack(ModBlocks.WORK_STUMP), VanillaRecipeCategoryUid.CRAFTING); + registry.addRecipeCatalyst(new ItemStack(ModBlocks.WORK_STUMP_II), VanillaRecipeCategoryUid.CRAFTING); + } +}