mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 06:42:55 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81ab446772 | ||
|
|
b6c46b17d9 |
No files matched your search
+3
-3
@@ -1,11 +1,11 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-754-GTNH:dev")
|
||||
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-762-GTNH:dev")
|
||||
|
||||
implementation("com.github.GTNewHorizons:Baubles-Expanded:2.2.4-GTNH:dev")
|
||||
compileOnly("curse.maven:cofh-core-69162:2388751")
|
||||
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.8.40-GTNH:dev")
|
||||
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.8.43-GTNH:dev")
|
||||
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.20-GTNH:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:EnderIO:2.10.8:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:EnderIO:2.10.10:dev") { transitive = false }
|
||||
}
|
||||
+3
-1
@@ -42,7 +42,9 @@ import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
+ '.' // revisionVersion
|
||||
+ net.minecraftforge.common.ForgeVersion.buildVersion
|
||||
+ ",);"
|
||||
+ "required-after:appliedenergistics2@[rv3-beta-328,);after:NotEnoughItems;")
|
||||
+ "required-after:"
|
||||
+ "appliedenergistics2@[rv3-beta-754,);after:"
|
||||
+ "NotEnoughItems;")
|
||||
public class WirelessCraftingTerminal {
|
||||
|
||||
private static LoaderState WCTState = LoaderState.NOINIT;
|
||||
|
||||
+1
-1
@@ -533,7 +533,7 @@ public class ContainerWirelessCraftingTerminal extends ContainerMEMonitorable
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrimaryGui getPrimaryGui() {
|
||||
public PrimaryGui createPrimaryGui() {
|
||||
ContainerOpenContext context = getOpenContext();
|
||||
return new WCTPrimaryGui(
|
||||
Reference.GUI_WCT,
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package net.p455w0rd.wirelesscraftingterminal.common.utils;
|
||||
|
||||
import static appeng.util.Platform.baublesSlotsOffset;
|
||||
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -120,7 +122,7 @@ public class RandomUtils {
|
||||
continue;
|
||||
}
|
||||
if (item.getItem() instanceof IWirelessCraftingTerminalItem) {
|
||||
wirelessTerm = new IntObjectImmutablePair<>(i + playerInv.getSizeInventory(), item);
|
||||
wirelessTerm = new IntObjectImmutablePair<>(i + baublesSlotsOffset, item);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user