diff options
author | nea <nea@nea.moe> | 2023-10-28 03:36:11 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2023-11-12 09:35:33 +0100 |
commit | e15406e22ef65b4933274df791632b6c17f594be (patch) | |
tree | e1625c713bf95e9f0cb65dfe9a7c9b9ceaa46402 /src/main/resources/assets/firmament/gui | |
parent | 47fbb25ab280b6af9496780672780db78fe36f27 (diff) | |
download | firmament-e15406e22ef65b4933274df791632b6c17f594be.tar.gz firmament-e15406e22ef65b4933274df791632b6c17f594be.tar.bz2 firmament-e15406e22ef65b4933274df791632b6c17f594be.zip |
Add Inventory Buttons
Diffstat (limited to 'src/main/resources/assets/firmament/gui')
-rw-r--r-- | src/main/resources/assets/firmament/gui/button_editor_fragment.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/resources/assets/firmament/gui/button_editor_fragment.xml b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml new file mode 100644 index 0000000..2992825 --- /dev/null +++ b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + +SPDX-License-Identifier: GPL-3.0-or-later +--> + +<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd"> + <Panel> + <Column> + <Row> + <ItemStack value="@getItemIcon"/> + <Text text="Icon"/> + </Row> + <Hover lines="Put your display item in here.;Can be any SkyBlock item id."> + <TextField value="@icon" width="180"/> + </Hover> + <Text text="Command"/> + <Hover lines="Put the command in here.;The text box should not start with a /"> + <Row> + <Text text="/"/> + <TextField value="@command" width="180"/> + </Row> + </Hover> + <Button onClick="@delete"> + <Text text="Delete"/> + </Button> + </Column> + </Panel> +</Root> |