Name | Type | Deprecated | Secure | Description |
---|---|---|---|---|
Command.Dimension.Layout.Pickup | function | Pick up the specified dimension item from the world to your inventory. | ||
Command.Dimension.Layout.Place | function | Places the item (dimension or inventory) in your current dimension and modifies the details speci... | ||
Command.Dimension.Layout.Select | function | Selects or deselects the specified dimension item. | ||
Event.Dimension.Layout.Add | Signals that a dimension item has been added. | |||
Event.Dimension.Layout.Remove | Signals that a dimension item has been removed. | |||
Event.Dimension.Layout.Update | Signals that a dimension item has been updated. | |||
Inspect.Dimension.Layout.Detail | function | Returns details about the specified dimension item. | ||
Inspect.Dimension.Layout.List | function | Returns a list of dimension items in the dimension you're currently in, and whether or not they a... |
Pick up the specified dimension item from the world to your inventory.
Command.Dimension.Layout.Pickup(dimensionItem) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
dimensionItem | parameter | dimensionitem | The ID of the dimension item to operate on. |
Places the item (dimension or inventory) in your current dimension and modifies the details specified by the values parameter.
Command.Dimension.Layout.Place(item, values) | |||
Command.Dimension.Layout.Place(dimensionItem, values) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
dimensionItem | parameter | dimensionitem | The ID of the dimension item to operate on. |
item | parameter | item | The inventory item to operate on. |
values | parameter | table | Table containing data to set on the dimension item. All parameters are optional and will default to current or default values. coordX: The X coordinate of the item. coordY: The Y coordinate of the item. coordZ: The Z coordinate of the item. pitch: The pitch rotation of the item. roll: The roll rotation of the item. scale: The scale of the item. yaw: The yaw rotation of the item. |
Selects or deselects the specified dimension item.
Command.Dimension.Layout.Select(dimensionItem, selected) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
dimensionItem | parameter | dimensionitem | The ID of the dimension item to operate on. |
selected | parameter | boolean | Indicates if the dimension item should be selected or deselected. |
Signals that a dimension item has been added.
Event.Dimension.Layout.Add(addedItem) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
addedItem | parameter | variant | The dimension item that has been added. |
Signals that a dimension item has been removed.
Event.Dimension.Layout.Remove(removedItem) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
removedItem | parameter | variant | The dimension item that has been removed. |
Signals that a dimension item has been updated.
Event.Dimension.Layout.Update(updatedItem) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
updatedItem | parameter | variant | The dimension item that has been updated. |
Returns details about the specified dimension item.
detail = Inspect.Dimension.Layout.Details(dimensionitem) | |||
details = Inspect.Dimension.Layout.Details(dimensionitems) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
dimensionitem | parameter | dimensionitem | The identifier of the dimension item to retrieve detail for. |
dimensionitems | parameter | table | A table of identifiers of dimension items to retrieve detail for. |
detail | result | table | Table of details about the dimension item specified. |
details | result | table | Detail table for all requsted dimension items. The key is the dimension item ID, the value is the dimension item's detail table. |
coordX | The X coordinate of the item. |
---|---|
coordY | The Y coordinate of the item. |
coordZ | The Z coordinate of the item. |
crated | Indicates that the item is crated. |
icon | Resource filename of the item's icon. |
id | The item's id. |
name | The name of the item. |
pitch | The pitch of the item. |
roll | The roll of the item. |
scale | The scale of the item. |
selected | Indicates that the item is selected. |
type | The type of the item. |
yaw | The yaw of the item. |
Returns a list of dimension items in the dimension you're currently in, and whether or not they are crated.
list = Inspect.Dimension.Layout.List() | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
list | result | table | The list of detail results. |