feat: MoulConfig config gui

This commit is contained in:
Linnea Gräf
2024-11-12 17:02:08 +01:00
parent 9763a4caa4
commit b774daef5b
14 changed files with 691 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ import net.minecraft.Bootstrap
import net.minecraft.SharedConstants
import moe.nea.firmament.util.TimeMark
object FirmTestBootstrap {
object FirmTestBootstrap {
val loadStart = TimeMark.now()
init {

View File

@@ -0,0 +1,101 @@
{
color: "#FFAA00",
extra: [
{
color: "#55FF55",
hoverEvent: {
action: "show_text",
contents: {
color: "#55FF55",
extra: [
{
color: "#55FF55",
strikethrough: 0b,
text: " +1 "
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "Rotten Flesh"
},
{
color: "#555555",
strikethrough: 0b,
text: " (Combat Sack)"
},
{
strikethrough: 0b,
text: "
"
},
{
color: "#555555",
strikethrough: 0b,
text: "This message can be disabled in the settings."
}
],
strikethrough: 0b,
text: "Added items:
"
}
},
strikethrough: 0b,
text: "+1"
},
{
color: "#FFFF55",
hoverEvent: {
action: "show_text",
contents: {
color: "#55FF55",
extra: [
{
color: "#55FF55",
strikethrough: 0b,
text: " +1 "
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "Rotten Flesh"
},
{
color: "#555555",
strikethrough: 0b,
text: " (Combat Sack)"
},
{
strikethrough: 0b,
text: "
"
},
{
color: "#555555",
strikethrough: 0b,
text: "This message can be disabled in the settings."
}
],
strikethrough: 0b,
text: "Added items:
"
}
},
strikethrough: 0b,
text: " item"
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "."
},
{
color: "#555555",
strikethrough: 0b,
text: " (Last 5s.)"
}
],
strikethrough: 0b,
text: "[Sacks] "
}

View File

@@ -0,0 +1,101 @@
{
color: "#FFAA00",
extra: [
{
color: "#55FF55",
hoverEvent: {
action: "show_text",
contents: {
color: "#55FF55",
extra: [
{
color: "#55FF55",
strikethrough: 0b,
text: " +1 "
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "Rotten Flesh"
},
{
color: "#555555",
strikethrough: 0b,
text: " (Combat Sack)"
},
{
strikethrough: 0b,
text: "
"
},
{
color: "#555555",
strikethrough: 0b,
text: "This message can be disabled in the settings."
}
],
strikethrough: 0b,
text: "Added items:
"
}
},
strikethrough: 0b,
text: "+1"
},
{
color: "#FFFF55",
hoverEvent: {
action: "show_text",
contents: {
color: "#55FF55",
extra: [
{
color: "#55FF55",
strikethrough: 0b,
text: " +1 "
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "Rotten Flesh"
},
{
color: "#555555",
strikethrough: 0b,
text: " (Combat Sack)"
},
{
strikethrough: 0b,
text: "
"
},
{
color: "#555555",
strikethrough: 0b,
text: "This message can be disabled in the settings."
}
],
strikethrough: 0b,
text: "Added items:
"
}
},
strikethrough: 0b,
text: " item"
},
{
color: "#FFFF55",
strikethrough: 0b,
text: "."
},
{
color: "#555555",
strikethrough: 0b,
text: " (Last 5s.)"
}
],
strikethrough: 0b,
text: "[Sacks] "
}