Difference between revisions of "OpenCCSensors"
From ComputerCraft Wiki
| Line 145: | Line 145: | ||
|A3=paper |B3=paper |C3=paper | |A3=paper |B3=paper |C3=paper | ||
|Output=Sign Sensor Card | |Output=Sign Sensor Card | ||
| + | }} | ||
| + | </td></tr> | ||
| + | |||
| + | <tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;">Thaumcraft Sensor Card</td> | ||
| + | <td style="border-top: solid #C9C9C9 1px; padding: .4em;">The Thaumcraft Card can read XP levels from a "brain in a jar" and read aspect levels from crucibles and jars | ||
| + | |||
| + | {{Crafting grid | ||
| + | |A1=Redstone |B1=Goggles of Revealing|C1=Redstone | ||
| + | |A2=Redstone |B2=Redstone |C2=Redstone | ||
| + | |A3=paper |B3=paper |C3=paper | ||
| + | |Output=Thaumcraft Sensor Card | ||
| + | }} | ||
| + | </td></tr> | ||
| + | |||
| + | |||
| + | <tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;">Minecart Sensor Card</td> | ||
| + | <td style="border-top: solid #C9C9C9 1px; padding: .4em;">The Minecart Sensor Card can detect minecarts in the area and give basic information about them | ||
| + | |||
| + | {{Crafting grid | ||
| + | |A1=Redstone |B1=Minecart|C1=Redstone | ||
| + | |A2=Redstone |B2=Redstone |C2=Redstone | ||
| + | |A3=paper |B3=paper |C3=paper | ||
| + | |Output=Minecart Sensor Card | ||
}} | }} | ||
</td></tr> | </td></tr> | ||
Revision as of 01:24, 22 January 2013
| This page needs some serious TLC, stat! Please help us by cleaning it, fixing it up, or sparing it some love.
(Reason: I no dun with this, but 'tis a start! AfterLifeLochie 03:34, 25 December 2012 (MSK)) |
OpenCCSensors is a new, open-source, up to date replacement for CcSensors (outdated), allowing monitoring and gathering information from the Minecraft environment - including players, entities, proximity, world info, IndustrialCraft 2, BuildCraft 2, liquids, inventories - and more!
OpenCCSensors comes with its own API, and automatically installs a new program for you at /ocs/programs/sensorview. sensorview is a handy program for very quickly looking at the information gathered from your sensors.
http://www.youtube.com/watch?v=i8Bv7uKkIOM&feature=youtu.be
| Method Name | Description |
| sensor.wrap(side) | Returns the wrapped sensor on the side specified. |
| mySensor.getTargets() | Returns a a table of all the targets for mySensor, where the keys are used as a numerical index, and the values are each a table of basic details. |
| mySensor.getTargetDetails(key) | Returns a table of full details for that particular target from the sensor mySensor - where the the "key" is the key returned from getTargets() |
| Name | Description |
| Sensor Peripheral |
The Sensor Peripheral needs to be placed next to a computer and it has a single slot to insert a Sensor Card
|
| Name | Description |
| Inventory Sensor Card | The Inventory Sensor Card is capable of reading inventories of players and entities (as well as armour slots).
|
| Proximity Sensor Card | The Proximity Sensor Card is capable of detecting players and entities within it's range.
|
| Industrial Craft 2 Sensor Card | The IndustrialCraft Sensor Card is capable of interfacing and reading IC2 machine values (eg, EU in storage, etc).
|
| BuildCraft Sensor Card |
|
| Tank Sensor Card |
|
| World Sensor Card | The World Sensor Card is able to tell the time, weather, and more about the world.
|
| Dropped Item Sensor Card | The Dropped Item Sensor Card is able to locate and identify dropped items.
|
| Sign Sensor Card | The Sign Sensor Card is capable of reading signs within it's range.
|
| Thaumcraft Sensor Card | The Thaumcraft Card can read XP levels from a "brain in a jar" and read aspect levels from crucibles and jars
|
| Minecart Sensor Card | The Minecart Sensor Card can detect minecarts in the area and give basic information about them
|
Usage Examples
