Add Upgrade Features to Interface, and add Buttons to Interface and Export Bus o alter crafting behavior.
This commit is contained in:
@@ -10,6 +10,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.api.config.Upgrades;
|
||||
import appeng.api.implementations.tiles.ISegmentedInventory;
|
||||
import appeng.api.implementations.tiles.ITileStorageMonitorable;
|
||||
import appeng.api.networking.IGridNode;
|
||||
@@ -255,4 +256,10 @@ public class TileInterface extends AENetworkInvTile implements IGridTickable, IS
|
||||
return duality.isBusy();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getInstalledUpgrades(Upgrades u)
|
||||
{
|
||||
return duality.getInstalledUpgrades( u );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user