feat: Add debug UI for block types

This commit is contained in:
Linnea Gräf
2025-03-08 16:00:39 +01:00
parent 7070b0794c
commit 222da0dd8e
3 changed files with 98 additions and 0 deletions

View File

@@ -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>