mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 09:34:42 +00:00
Add the dual P2P interface (#139)
* Add the dual P2P interface - Can be disabled in the config - Updated dependencies - We now require a hard inheritance dependency on beta-238+. - CANNOT BE ATTUNED. * Dependency cleanup (don't use pre) * Fix dual interface background * Fix null icon for p2p dual interface BetterP2P needs this to properly display the icon. * spotlessApply --------- Co-authored-by: GitHub GTNH Actions <unknown>
This commit is contained in:
1 parent
e8f069375f
commit
c94876b02e
12 files changed
+609
-4
No files matched your search
@@ -21,6 +21,7 @@ import com.glodblock.github.common.storage.CellType;
|
||||
import com.glodblock.github.loader.recipe.WirelessTerminalRecipe;
|
||||
import com.glodblock.github.util.ModAndClassUtil;
|
||||
|
||||
import appeng.api.AEApi;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import extracells.registries.ItemEnum;
|
||||
|
||||
@@ -102,6 +103,7 @@ public class RecipeLoader implements Runnable {
|
||||
54);
|
||||
public static final ItemStack AE2_WIRELESS_TERMINAL = GameRegistry
|
||||
.findItemStack("appliedenergistics2", "item.ToolWirelessTerminal", 1);
|
||||
public static final ItemStack AE2_P2P_ME = AEApi.instance().definitions().parts().p2PTunnelME().maybeStack(1).get();
|
||||
public static final ItemStack AE2_ME_CHEST = GameRegistry
|
||||
.findItemStack("appliedenergistics2", "tile.BlockChest", 1);
|
||||
public static final ItemStack AE2_ENERGY_CELL = GameRegistry
|
||||
@@ -146,6 +148,10 @@ public class RecipeLoader implements Runnable {
|
||||
'E',
|
||||
AE2_INTERFACE));
|
||||
GameRegistry.addShapelessRecipe(FLUID_INTERFACE.stack(), INTERFACE.stack());
|
||||
if (Config.fluidP2PInterface) {
|
||||
GameRegistry.addShapelessRecipe(FLUID_INTERFACE_P2P.stack(), AE2_P2P_ME, INTERFACE.stack());
|
||||
GameRegistry.addShapelessRecipe(FLUID_INTERFACE_P2P.stack(), AE2_P2P_ME, FLUID_INTERFACE.stack());
|
||||
}
|
||||
GameRegistry.addShapelessRecipe(INTERFACE.stack(), FLUID_INTERFACE.stack());
|
||||
GameRegistry.addShapelessRecipe(WIRELESS_FLUID_TERM.stack(), AE2_WIRELESS_TERMINAL, BUCKET);
|
||||
GameRegistry.addShapelessRecipe(WIRELESS_PATTERN_TERM.stack(), WIRELESS_FLUID_TERM, FLUID_TERMINAL);
|
||||
|
||||
Reference in new issue
Block a user