aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-03-08 16:00:39 +0100
committerLinnea Gräf <nea@nea.moe>2025-03-08 16:01:00 +0100
commit222da0dd8eb57d531b38a3a7eee110ded173d09f (patch)
tree714c15f8cfd868505c59cf3b7459aebee95f5bf2 /src/main/resources
parent7070b0794c8dbedd03763c718729daada60d7952 (diff)
downloadFirmament-222da0dd8eb57d531b38a3a7eee110ded173d09f.tar.gz
Firmament-222da0dd8eb57d531b38a3a7eee110ded173d09f.tar.bz2
Firmament-222da0dd8eb57d531b38a3a7eee110ded173d09f.zip
feat: Add debug UI for block types
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/firmament/gui/mining_block_info/index.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/resources/assets/firmament/gui/mining_block_info/index.xml b/src/main/resources/assets/firmament/gui/mining_block_info/index.xml
new file mode 100644
index 0000000..6404995
--- /dev/null
+++ b/src/main/resources/assets/firmament/gui/mining_block_info/index.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Root xmlns="http://notenoughupdates.org/moulconfig"
+ xmlns:firm="http://firmament.nea.moe/moulconfig"
+>
+ <Gui>
+ <Column>
+ <Row>
+ <Text text="Search: "/>
+ <TextField value="@search"/>
+ </Row>
+ <ScrollPanel width="200" height="150">
+ <Array data="@ores">
+ <Column>
+ <Text text="@oreName"/>
+ <Array data="@blocks">
+ <Row>
+ <When condition="@isSelected">
+ <Center>
+ <Text text="§a+" textAlign="CENTER" width="10"/>
+ </Center>
+ <Spacer width="10" height="0"/>
+ </When>
+ <firm:Hover lines="@restrictions">
+ <Row>
+ <ItemStack value="@item"/>
+ <Align horizontal="LEFT" vertical="CENTER">
+ <Text text="@itemName"/>
+ </Align>
+ </Row>
+ </firm:Hover>
+ </Row>
+ </Array>
+ </Column>
+ </Array>
+ </ScrollPanel>
+ </Column>
+ </Gui>
+</Root>