Tile - YEnergy - Get Other Connected Entity – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Get other connected entity to Ylands:Tile - YEnergy - Get Other Connected Entity: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Other Connected Entity(Entity, Port, Connected, No connection) == | |||
[[File:YlandsTile-768.png]] | |||
<pre>static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== port ==== | |||
==== connected ==== | |||
==== noConnection ==== | |||
=== Description === | |||
Returns whether there is another '''entity''' connected to the target energy '''port''' and allows for additional instructions based on the outcome. | |||
Line 7: | Line 27: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:52, 8 July 2021
Get Other Connected Entity(Entity, Port, Connected, No connection)
static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;
Parameters
entity
port
connected
noConnection
Description
Returns whether there is another entity connected to the target energy port and allows for additional instructions based on the outcome.