Back to mods
Open Computers Refined Storage Driver project artwork

CurseForge · Minecraft mod

Open Computers Refined Storage Driver

OpenComputers + Refined Storage = <3

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Open Computers Refined Storage Driver release should I use?

Updated 9 years ago
Latest stable file ocrsdriver-1.0.2.jar
Game version 1.10.2
Loader Not required

Open Computers Refined Storage Driver ocrsdriver-1.0.2.jar targets 1.10.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Open Computers Refined Storage Driver required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Open Computers Refined Storage Driver ocrsdriver-1.0.2.jar need?

ocrsdriver-1.0.2.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Open Computers Refined Storage Driver without breaking your instance.

Built for Open Computers Refined Storage Driver ocrsdriver-1.0.2.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ocrsdriver-1.0.2.jar. It targets 1.10.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ocrsdriver-1.0.2.jar. It opens that exact file at the source.

About this project

What does Open Computers Refined Storage Driver add?

ocrsdriver

OpenComputers + Refined Storage = ❤️

Allows OpenComputers to access Refined Storage grid nodes via Adapters. This is for Minecraft 1.10.2. Refined Storage for 1.11.2 has this functionality included by default.

Known Issues

  • This is currently unrestricted, i.e. you can export items and fluids using just a cable - and fast.

Available Commands

Method Description
isConnected() Returns whether the grid node is connected to a network
getEnergyUsage() Returns the energy usage of the whole network in RS/tick
getItems() Returns a list of all itemstacks stored in the network
getItem(itemstack, cmpMeta, cmpNbt, cmpOre) Returns a stack in the network matching the given itemstack
extractItem(itemstack, amount, side) Extracts the given amount of itemstack to the specified side and returns the number of transfered items.
getFluids() Returns a list of all fluid stacks stored in the network
getFluid(fluidstack) Returns a stack in the network matching the given fluidstack
extractFluid(fluidstack, amount, side) Extracts the given amount of fluid to the specified side and returns the amount of millibuckets transfered.
getTasks() Returns a list of crafting tasks the system has currently queued
getPatterns() Returns a list of all crafting patterns in the network
hasPattern(itemstack) Returns true if the system has a pattern for the given itemstack
getMissingItems(itemstack, amount) Returns a list of all items missing to craft the given itemstack in the given amount
craftItem(itemstack, amount) Requests crafting of the specified item in the specified quantity
cancelCrafting(itemstack) Cancels all crafting operations for the given itemstack and returns the number of cancelled tasks

Examples

Drop all items you got more than 8192 of

Place a Trash Can below an interface connected to an OpenComputers Adapter.

local component = require("component")
local sides = require("sides")

local rs = component.block_refinedstorage_interface

local limit = 8192
local side  = sides.down

for i,stack in ipairs(rs.getItems()) do
	while(stack.size > limit) do
		local dropped = rs.extractItem(stack, stack.size - limit, side)
		stack.size = stack.size - dropped
		if(dropped < 1) then
			break
		end
	end
end

Keep 64 torches and levers in your crafting system

Don't forget to teach a crafter the recipe for torches and levers

local component = require("component")
local sides = require("sides")

local rs = component.block_refinedstorage_interface

local targetAmount = 64
local items = {
    {name = "minecraft:torch"},
    {name = "minecraft:lever"}
}

while(true) do
    for i,stack in ipairs(items) do
        if(rs.hasPattern(stack)) then
            local rsStack = rs.getItem(stack)

            local toCraft = targetAmount;
            if(rsStack ~= nil) then
                toCraft = toCraft - rsStack.size
            end

            if(toCraft > 0) then
                rs.craftItem(stack, toCraft)
            end
        else
            print("Missing pattern for: " .. stack.name)
        end
    end

    os.sleep(5)
end

Project description from CurseForge.

Pick your setup

Open Computers Refined Storage Driver by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Open Computers Refined Storage Driver versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.