This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed NEI integration, will re-add once available. Moved the achievement to a less crowded hole.
- Loading branch information
Showing
6 changed files
with
49 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
mod_version=1.5.0 | ||
minecraft_version=1.8.9 | ||
forge_version=11.15.1.1722 | ||
mappings=snapshot_20151212 | ||
mappings=snapshot_20151212 | ||
|
||
jei_version=2.26.0.154 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
src/main/java/com/renevo/pcb/integration/NeiIntegration.java
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
src/main/java/com/renevo/pcb/integration/PortableCraftBenchPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.renevo.pcb.integration; | ||
|
||
import com.renevo.pcb.ContainerPortableCraftBench; | ||
import com.renevo.pcb.GuiPortableCraftBench; | ||
|
||
import mezz.jei.api.*; | ||
import mezz.jei.api.recipe.VanillaRecipeCategoryUid; | ||
import mezz.jei.api.recipe.transfer.IRecipeTransferRegistry; | ||
|
||
@JEIPlugin | ||
public class PortableCraftBenchPlugin implements IModPlugin { | ||
|
||
|
||
@Override | ||
public void onJeiHelpersAvailable(IJeiHelpers jeiHelpers) { } | ||
|
||
@Override | ||
public void onItemRegistryAvailable(IItemRegistry itemRegistry) { } | ||
|
||
@Override | ||
@Deprecated | ||
public void onRecipeRegistryAvailable(IRecipeRegistry recipeRegistry) { } | ||
|
||
@Override | ||
public void onRuntimeAvailable(IJeiRuntime jeiRuntime) { } | ||
|
||
@Override | ||
public void register(IModRegistry registry) { | ||
registry.addRecipeClickArea(GuiPortableCraftBench.class, 88, 32, 28, 23, VanillaRecipeCategoryUid.CRAFTING); | ||
|
||
IRecipeTransferRegistry recipeTransferRegistry = registry.getRecipeTransferRegistry(); | ||
recipeTransferRegistry.addRecipeTransferHandler(ContainerPortableCraftBench.class, VanillaRecipeCategoryUid.CRAFTING, 1, 9, 10, 36); | ||
} | ||
} |