Piston Upgrade: Difference between revisions

From OpenComputers: Rebooted
Jump to navigation Jump to search
imported>OCDoc Import
Imported from legacy OpenComputers documentation at ocdoc.cil.li
 
Unify item and component API pages
Line 2: Line 2:


[[File:upgradepiston.png|128px|upgradepiston.png]]
[[File:upgradepiston.png|128px|upgradepiston.png]]
Provides the [[Component/piston|piston component]].


The piston upgrade can be used to push blocks in the world, in a pretty much identical manner to the way vanilla pistons push blocks.
The piston upgrade can be used to push blocks in the world, in a pretty much identical manner to the way vanilla pistons push blocks.
Line 17: Line 15:
[[File:piston.png|200px]]
[[File:piston.png|200px]]


== Contents ==
= Component API =
Component name: <code>piston</code>. Callbacks:
{{APICallback|name=push|signature=(side:number):boolean|description=
Tries to push the block in front of the container of the upgrade.
}}
 
= Contents =


{{:Item/contents}}
{{:Item/contents}}

Revision as of 20:51, 15 September 2026

Piston Upgrade

upgradepiston.png

The piston upgrade can be used to push blocks in the world, in a pretty much identical manner to the way vanilla pistons push blocks.

The Piston Upgrade is crafted using the following recipe:

Component API

Component name: piston. Callbacks:

push

push(side:number):boolean

Tries to push the block in front of the container of the upgrade.

Contents

Items
Components Data Card - Debug Card - Graphics Card - Internet Card - Linked Card - Network Card - Redstone Card - Wireless Network Card
Storage Devices Floppy Disk - EEPROM - Hard Disk Drive - Memory
Upgrades Angel Upgrade - Battery Upgrade - Chunkloader Upgrade - Database Upgrade - Experience Upgrade - Generator Upgrade - Hover Upgrade - Inventory Controller Upgrade - Inventory Upgrade - Leash Upgrade - Navigation Upgrade - Piston Upgrade - Sign I/O Upgrade - Solar Generator Upgrade - Tank Upgrade - Tank Controller Upgrade - Tractor Beam Upgrade
Containers Card Container - Upgrade Container - Disk Drive
Others Analyzer - Texture Picker - Component Bus - CPU - APU - Drone Case - Manual - Microcontroller Case - Nanomachines - Remote Terminal - Terminal Server - Server - Tablet Case - Tablet - Crafting Materials - Ink Cartridge - Scrench - Hover Boots - Grog - Loot Disks