This component is provided by the geolyzer block.
Component name: geolyzer
.
Callbacks:
scan(x:number, z:number[, y:number, w:number, d:number, h:number][, ignoreReplaceable:boolean|options:table]):table
analyze(side:number[, options:table]):table
minecraft:dirt
, metadata, hardness and some more information). Note that a single call to this consumes the same amount of energy a call to scan
does!misc.allowItemStackInspection
setting in the config.store(side:number, dbAddress:string, dbSlot:number):boolean
detect(side:number):boolean, string
robot.detect
(from the robot component). Detects the block on the given side, relative to the robot, and returns whether or not the robot can move into the block, as well as a general description of the block.true
if the robot if whatever is in front of the robot would prevent him from moving forward (a block or an entity) (Note: Drones return true
even if the block is passable
), false
otherwise. The second parameter describes what is in front in general and is one of either entity
, solid
, replaceable
, liquid
, passable
or air
.canSeeSky():boolean
Returns whether there is a clear line of sight to the sky directly above. Transparent blocks, e.g. glass don't affect the line of sight.isSunVisible():boolean
Returns whether the sun is currently visible directly above. The result is affected by possible blocks blocking the line of sight directly above (which can be checked with canSeeSky()
) and whether it's night or day.Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
---|---|---|
Others | Component Access - Signals | |
Cross-Mod Integration | Applied Energistics |