-
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.
- Loading branch information
1 parent
311a7bb
commit 144ae89
Showing
14 changed files
with
76 additions
and
56 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
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
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
66 changes: 33 additions & 33 deletions
66
common/src/main/java/dev/ftb/mods/ftbfiltersystem/integration/jei/JEIIntegration.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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
package dev.ftb.mods.ftbfiltersystem.integration.jei; | ||
|
||
import dev.ftb.mods.ftbfiltersystem.api.FTBFilterSystemAPI; | ||
import dev.ftb.mods.ftbfiltersystem.client.gui.ComponentConfigScreen; | ||
import dev.ftb.mods.ftbfiltersystem.client.gui.ItemConfigScreen; | ||
import dev.ftb.mods.ftbfiltersystem.client.gui.ModConfigScreen; | ||
import mezz.jei.api.IModPlugin; | ||
import mezz.jei.api.JeiPlugin; | ||
import mezz.jei.api.registration.IGuiHandlerRegistration; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
@JeiPlugin | ||
public class JEIIntegration implements IModPlugin { | ||
private final ResourceLocation ID = FTBFilterSystemAPI.rl("default"); | ||
|
||
@Override | ||
public ResourceLocation getPluginUid() { | ||
return ID; | ||
} | ||
|
||
@Override | ||
public void registerGuiHandlers(IGuiHandlerRegistration registration) { | ||
registration.addGuiScreenHandler(ItemConfigScreen.class, new FFSScreenHandler<>()); | ||
registration.addGhostIngredientHandler(ItemConfigScreen.class, new FFSGhostHandler<>()); | ||
|
||
registration.addGuiScreenHandler(ComponentConfigScreen.class, new FFSScreenHandler<>()); | ||
// registration.addGhostIngredientHandler(NBTConfigScreen.class, new FFSGhostHandler<>(ItemStack::hasTag)); | ||
registration.addGhostIngredientHandler(ComponentConfigScreen.class, new FFSGhostHandler<>(s -> false)); | ||
|
||
registration.addGuiScreenHandler(ModConfigScreen.class, new FFSScreenHandler<>()); | ||
registration.addGhostIngredientHandler(ModConfigScreen.class, new FFSGhostHandler<>()); | ||
} | ||
} | ||
//package dev.ftb.mods.ftbfiltersystem.integration.jei; | ||
// | ||
//import dev.ftb.mods.ftbfiltersystem.api.FTBFilterSystemAPI; | ||
//import dev.ftb.mods.ftbfiltersystem.client.gui.ComponentConfigScreen; | ||
//import dev.ftb.mods.ftbfiltersystem.client.gui.ItemConfigScreen; | ||
//import dev.ftb.mods.ftbfiltersystem.client.gui.ModConfigScreen; | ||
//import mezz.jei.api.IModPlugin; | ||
//import mezz.jei.api.JeiPlugin; | ||
//import mezz.jei.api.registration.IGuiHandlerRegistration; | ||
//import net.minecraft.resources.ResourceLocation; | ||
// | ||
//@JeiPlugin | ||
//public class JEIIntegration implements IModPlugin { | ||
// private final ResourceLocation ID = FTBFilterSystemAPI.rl("default"); | ||
// | ||
// @Override | ||
// public ResourceLocation getPluginUid() { | ||
// return ID; | ||
// } | ||
// | ||
// @Override | ||
// public void registerGuiHandlers(IGuiHandlerRegistration registration) { | ||
// registration.addGuiScreenHandler(ItemConfigScreen.class, new FFSScreenHandler<>()); | ||
// registration.addGhostIngredientHandler(ItemConfigScreen.class, new FFSGhostHandler<>()); | ||
// | ||
// registration.addGuiScreenHandler(ComponentConfigScreen.class, new FFSScreenHandler<>()); | ||
//// registration.addGhostIngredientHandler(NBTConfigScreen.class, new FFSGhostHandler<>(ItemStack::hasTag)); | ||
// registration.addGhostIngredientHandler(ComponentConfigScreen.class, new FFSGhostHandler<>(s -> false)); | ||
// | ||
// registration.addGuiScreenHandler(ModConfigScreen.class, new FFSScreenHandler<>()); | ||
// registration.addGhostIngredientHandler(ModConfigScreen.class, new FFSGhostHandler<>()); | ||
// } | ||
//} |
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
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,22 +1,27 @@ | ||
org.gradle.jvmargs=-Xmx2048M | ||
|
||
minecraft_version=1.20.6 | ||
#enabled_platforms=fabric,forge,neoforge | ||
enabled_platforms=fabric,neoforge | ||
|
||
archives_base_name=ftb-filter-system | ||
mod_version=2.1.0 | ||
readable_name=FTB Filter System | ||
maven_group=dev.ftb.mods | ||
curseforge_id=943925 | ||
|
||
architectury_version=12.1.3 | ||
# TODO: Should we move this over to the neo format of 21.0.0 | ||
mod_version=3.0.0 | ||
|
||
minecraft_version=1.21 | ||
architectury_version=13.0.1 | ||
|
||
fabric_loader_version=0.15.10 | ||
fabric_api_version=0.97.8+1.20.6 | ||
fabric_loader_version=0.15.11 | ||
fabric_api_version=0.100.1+1.21 | ||
|
||
forge_version=49.0.31 | ||
#forge_version=49.0.31 | ||
|
||
neoforge_version=20.6.100-beta | ||
neoforge_loader_version=1 | ||
neoforge_version=21.0.10-beta | ||
# https://maven.neoforged.net/#/releases/net/neoforged/fancymodloader/loader | ||
neoforge_loader_version=4 | ||
|
||
jei_version=17.3.0.49 | ||
|
||
curseforge_id=943925 |
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