Skip to content

Components

Tobero edited this page Jun 10, 2023 · 19 revisions

Embedded

Example with every attribute:

<component type="embedded" 
           id="embedded" 
           x="0" 
           y="0" 
           width="9"
           height="1" 
           priority="NORMAL" 
           target-gui="separator"
           copy-air="true" 
           interactions="true"
           hidden="false"/>

id: The id of the component. Defaults to random id x: The x position of the component. Defaults to 0 y: The y position of the component Defaults to 0 width: The width the embedded gui will receive for rendering. If smaller than target, then the items will get cut off. Required height: The height the embedded gui will receive for rendering. If smaller than target, then the items will get cut off. Required priority: The priority the component will have for events and rendering. Defaults to NORMAL target-gui: The gui you want to render within the gui. Required copy-air: Determines if the air slots from the other gui will get copied or not. Defaults to true interactins: Allow / Disallow interactions with the slots in the gui. Defaults to true hidden: Hide / Show the component. Defaults to false

Clone this wiki locally