-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fluix Mana Pool to infusion recipes in XEI (#42)
- Loading branch information
Showing
8 changed files
with
94 additions
and
3 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
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,15 @@ | ||
package appbot.integration.emi; | ||
|
||
import appbot.ABItems; | ||
import dev.emi.emi.api.EmiPlugin; | ||
import dev.emi.emi.api.EmiRegistry; | ||
import dev.emi.emi.api.stack.EmiStack; | ||
import vazkii.botania.fabric.integration.emi.BotaniaEmiPlugin; | ||
|
||
public class ABEMIPlugin implements EmiPlugin { | ||
|
||
@Override | ||
public void register(EmiRegistry registry) { | ||
registry.addWorkstation(BotaniaEmiPlugin.MANA_INFUSION, EmiStack.of(ABItems.FLUIX_MANA_POOL)); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...in/java/appbot/ae2/ABTooltipProvider.java → ...egration/igtooltip/ABTooltipProvider.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
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,27 @@ | ||
package appbot.integration.jei; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.minecraft.resources.ResourceLocation; | ||
import net.minecraft.world.item.ItemStack; | ||
|
||
import appbot.ABItems; | ||
import appbot.AppliedBotanics; | ||
import mezz.jei.api.IModPlugin; | ||
import mezz.jei.api.JeiPlugin; | ||
import mezz.jei.api.registration.IRecipeCatalystRegistration; | ||
import vazkii.botania.client.integration.jei.ManaPoolRecipeCategory; | ||
|
||
@JeiPlugin | ||
public class ABJEIPlugin implements IModPlugin { | ||
|
||
@Override | ||
public void registerRecipeCatalysts(IRecipeCatalystRegistration registration) { | ||
registration.addRecipeCatalyst(new ItemStack(ABItems.FLUIX_MANA_POOL), ManaPoolRecipeCategory.TYPE); | ||
} | ||
|
||
@Override | ||
public @NotNull ResourceLocation getPluginUid() { | ||
return AppliedBotanics.id("main"); | ||
} | ||
} |
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,20 @@ | ||
package appbot.integration.rei; | ||
|
||
import appbot.ABItems; | ||
import me.shedaniel.rei.api.client.plugins.REIClientPlugin; | ||
import me.shedaniel.rei.api.client.registry.category.CategoryRegistry; | ||
import me.shedaniel.rei.api.common.util.EntryStacks; | ||
import vazkii.botania.fabric.integration.rei.BotaniaREICategoryIdentifiers; | ||
|
||
public class ABREIPlugin implements REIClientPlugin { | ||
|
||
@Override | ||
public void registerCategories(CategoryRegistry registry) { | ||
registry.addWorkstations(BotaniaREICategoryIdentifiers.MANA_INFUSION, EntryStacks.of(ABItems.FLUIX_MANA_POOL)); | ||
} | ||
|
||
@Override | ||
public String getPluginProviderName() { | ||
return "Applied Botanics"; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/META-INF/services/appeng.api.integrations.igtooltip.TooltipProvider
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 +1 @@ | ||
appbot.ae2.ABTooltipProvider | ||
appbot.integration.igtooltip.ABTooltipProvider |
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