<gui title="§eTag" width="9" height="2">
<component type="item" material="IRON_BLOCK" name="§eBack">
<on-click type="action">[container:previous]</on-click>
</component>
<component type="item" x="8" material="DIAMOND_BLOCK" name="§eNext">
<on-click type="action">[container:next]</on-click>
</component>
<component type="paged" id="container" y="1" width="9" height="1" interactions="true"
pattern="0,1,2,3,4,5,6,7,8">
<fill-empty type="item" material="GLASS_PANE">
<on-click type="action">[message] Nothing here</on-click>
</fill-empty>
<page>
<component type="item" x="1" material="EMERALD_BLOCK" name="§ePage 1">
<on-click type="action">[message] Page 1</on-click>
</component>
</page>
<page>
<component type="item" x="7" material="REDSTONE_BLOCK" name="§ePage 2">
<on-click type="action">[message] Page 2</on-click>
</component>
</page>
</component>
</gui>