Tile - YContainer - Get Container Items – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Container items to Ylands:Tile - YContainer - Get Container Items: 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 Container Items(Entity) == | |||
=Notes= | [[File:YlandsTile-1045.png]] | ||
* | |||
<pre>static getItems(target: YEntity): YEntity[];</pre> | |||
=== Parameters === | |||
==== target ==== | |||
Target container | |||
=== Returns === | |||
'''YEntity[]''' | |||
=== Description === | |||
Returns an '''array''' of items that are in the container inventory. | |||
=== Notes === | |||
* Works only with '''containers''' - chests, barrels etc. | |||
Line 12: | Line 31: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:52, 8 July 2021
Get Container Items(Entity)
static getItems(target: YEntity): YEntity[];
Parameters
target
Target container
Returns
YEntity[]
Description
Returns an array of items that are in the container inventory.
Notes
- Works only with containers - chests, barrels etc.