OC Sensors Mod (1.12.2) – Automate Base Machinery with Real Data
OC Sensors Mod adds a sensor block for OpenComputers that lets computers scan nearby blocks and mobs. Similar to the classic OpenCCSensors mod, this addon gives your computers three scanning methods to inspect block states, search for matching blocks, and check areas for mobs. You can read stored energy, monitor Extra Utilities 2 generators for redstone automation, or check MooFluid cows near your base. It requires OpenComputers to work in your world.

Requires:
Features:
- Adds a sensor block for OpenComputers that lets computers scan nearby blocks and mobs, similar to the classic OpenCCSensors mod.
- Reads data from blocks around the sensor, including block labels, stored energy, max energy capacity, item slots, and fluid tank contents.
- Filters nearby blocks by name, metadata, data section (such as
energyorextrautils2), and search range. - Checks Extra Utilities 2 generators for active process time, item levels, and fluid levels so your computer can control redstone output when every generator is ready.
- Scans a defined 3D region for mobs and reads mod-specific data, such as checking neutral MooFluid cows to list their fluid types like lava or water.
Available Sensor Methods:
scan(x:number, y:number, z:number, [side:number]): Scans a block at coordinates relative to the sensor and returns its info and data.search([name:string=""], [meta:number=-1], [section:string=""], [range:number=]): Searches within a given range for blocks that match your name, metadata, or section criteria.searchEntities(x1:number, y1:number, z1:number, x2:number, y2:number, z3:number): Scans a 3D region relative to the sensor to find mobs inside that area.
How to Use:
- Load the OpenComputers component API in your Lua script using
local component = require('component')and access the sensor withlocal sensor = component.sensor. - Search for nearby blocks by calling
sensor.search(name, meta, section, range); for example, runsensor.search("", -1, "energy")to get the positions of nearby energy blocks orsensor.search("", -1, "extrautils2")to find Extra Utilities 2 generators. - Inspect any found block by calling
sensor.scan(pos.x, pos.y, pos.z)to read its details, such asinfo.block.label,info.data.energy.energyStored,info.data.energy.maxEnergyStored,info.data.items, andinfo.data.fluid. - Pair the sensor with
component.redstoneandrequire("sides")to automate machines; for example, check each Extra Utilities 2 generator’sprocessTime, items, and fluid tanks, then runredstone.setOutput(sides.back, 15)when all are ready or0if any generator is missing supplies. - Scan an area around the sensor for mobs with
sensor.searchEntities(-range, -range, -range, range, range, range); for example, setrange = 5and checkentity.type == "neutral"andentity.moofluidsto print the fluid names of nearby MooFluid cows.
Screenshots:

How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
OC Sensors Mod Download Links
For Minecraft 1.12.2
Forge version: Download from Server 1 – Download from Server 2
For Minecraft 1.10.2
Forge version: Download from Server 1
What is your stance on mods that feel 'overpowered' or break vanilla balance?
20 responses · See the full results →
0























This post has no comments yet. Be the first — your comment will appear here.