Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 26 additions & 61 deletions src/main/kotlin/facet/MinecraftFacetEditorTab.form
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.demonwav.mcdev.facet.MinecraftFacetEditorTab">
<grid id="27dc6" binding="panel" layout-manager="GridLayoutManager" row-count="17" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="10" vgap="10">
<grid id="27dc6" binding="panel" layout-manager="GridLayoutManager" row-count="16" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="10" vgap="10">
<margin top="10" left="10" bottom="10" right="10"/>
<constraints>
<xy x="20" y="20" width="500" height="682"/>
Expand Down Expand Up @@ -66,18 +66,9 @@
<text value=""/>
</properties>
</component>
<component id="c006" class="javax.swing.JLabel">
<constraints>
<grid row="9" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/LiteLoader@2x.png"/>
<text value=""/>
</properties>
</component>
<component id="d80ff" class="javax.swing.JLabel" binding="mcpIcon">
<constraints>
<grid row="10" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="9" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/MCP@2x.png"/>
Expand All @@ -86,7 +77,7 @@
</component>
<component id="26afe" class="javax.swing.JLabel" binding="mixinIcon">
<constraints>
<grid row="11" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="10" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/Mixins@2x.png"/>
Expand All @@ -95,7 +86,7 @@
</component>
<component id="39d5b" class="javax.swing.JLabel">
<constraints>
<grid row="13" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="12" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/BungeeCord@2x.png"/>
Expand Down Expand Up @@ -142,33 +133,25 @@
<text value="Forge"/>
</properties>
</component>
<component id="32017" class="javax.swing.JLabel">
<constraints>
<grid row="9" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="LiteLoader"/>
</properties>
</component>
<component id="66cc" class="javax.swing.JLabel">
<constraints>
<grid row="10" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="9" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="MCP"/>
</properties>
</component>
<component id="dec47" class="javax.swing.JLabel">
<constraints>
<grid row="11" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="10" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Mixin"/>
</properties>
</component>
<component id="59796" class="javax.swing.JLabel">
<constraints>
<grid row="13" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="12" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="BungeeCord"/>
Expand Down Expand Up @@ -238,18 +221,9 @@
<text value=""/>
</properties>
</component>
<component id="1d6ee" class="javax.swing.JCheckBox" binding="liteloaderEnabledCheckBox">
<constraints>
<grid row="9" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
<text value=""/>
</properties>
</component>
<component id="4c112" class="javax.swing.JCheckBox" binding="mcpEnabledCheckBox">
<constraints>
<grid row="10" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="9" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand All @@ -259,7 +233,7 @@
</component>
<component id="89c12" class="javax.swing.JCheckBox" binding="mixinEnabledCheckBox">
<constraints>
<grid row="11" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="10" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand All @@ -269,7 +243,7 @@
</component>
<component id="cb2d9" class="javax.swing.JCheckBox" binding="bungeecordEnabledCheckBox">
<constraints>
<grid row="13" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="12" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand Down Expand Up @@ -322,18 +296,9 @@
<text value=""/>
</properties>
</component>
<component id="3a46f" class="javax.swing.JCheckBox" binding="liteloaderAutoCheckBox">
<constraints>
<grid row="9" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
<text value=""/>
</properties>
</component>
<component id="ab12" class="javax.swing.JCheckBox" binding="mcpAutoCheckBox">
<constraints>
<grid row="10" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="9" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand All @@ -342,7 +307,7 @@
</component>
<component id="e3307" class="javax.swing.JCheckBox" binding="mixinAutoCheckBox">
<constraints>
<grid row="11" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="10" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand All @@ -351,7 +316,7 @@
</component>
<component id="b7266" class="javax.swing.JCheckBox" binding="bungeecordAutoCheckBox">
<constraints>
<grid row="13" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="12" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand All @@ -360,23 +325,23 @@
</component>
<component id="82f90" class="javax.swing.JLabel">
<constraints>
<grid row="14" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="13" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Waterfall"/>
</properties>
</component>
<component id="b8445" class="javax.swing.JLabel">
<constraints>
<grid row="12" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="11" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Velocity"/>
</properties>
</component>
<component id="65657" class="javax.swing.JLabel">
<constraints>
<grid row="14" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="13" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/Waterfall@2x.png"/>
Expand All @@ -385,7 +350,7 @@
</component>
<component id="1bd23" class="javax.swing.JLabel">
<constraints>
<grid row="12" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="11" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/Velocity@2x.png"/>
Expand All @@ -394,7 +359,7 @@
</component>
<component id="73379" class="javax.swing.JCheckBox" binding="waterfallEnabledCheckBox">
<constraints>
<grid row="14" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="13" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand All @@ -403,7 +368,7 @@
</component>
<component id="c10f3" class="javax.swing.JCheckBox" binding="velocityEnabledCheckBox">
<constraints>
<grid row="12" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="11" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand All @@ -412,7 +377,7 @@
</component>
<component id="35938" class="javax.swing.JCheckBox" binding="waterfallAutoCheckBox">
<constraints>
<grid row="14" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="13" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand All @@ -421,7 +386,7 @@
</component>
<component id="a5eb2" class="javax.swing.JCheckBox" binding="velocityAutoCheckBox">
<constraints>
<grid row="12" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="11" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand Down Expand Up @@ -463,7 +428,7 @@
</component>
<component id="80bac" class="javax.swing.JCheckBox" binding="adventureEnabledCheckBox">
<constraints>
<grid row="15" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="14" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<enabled value="true"/>
Expand All @@ -472,20 +437,20 @@
</component>
<vspacer id="a91b3">
<constraints>
<grid row="16" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
<grid row="15" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
</constraints>
</vspacer>
<component id="df790" class="javax.swing.JLabel">
<constraints>
<grid row="15" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="14" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Adventure"/>
</properties>
</component>
<component id="fc586" class="javax.swing.JCheckBox" binding="adventureAutoCheckBox">
<constraints>
<grid row="15" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="14" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<selected value="false"/>
Expand All @@ -494,7 +459,7 @@
</component>
<component id="154ee" class="javax.swing.JLabel">
<constraints>
<grid row="15" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<grid row="14" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<icon value="assets/icons/platform/Adventure@2x.png"/>
Expand Down
5 changes: 0 additions & 5 deletions src/main/kotlin/facet/MinecraftFacetEditorTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class MinecraftFacetEditorTab(private val configuration: MinecraftFacetConfigura
private lateinit var fabricAutoCheckBox: JCheckBox
private lateinit var architecturyEnabledCheckBox: JCheckBox
private lateinit var architecturyAutoCheckBox: JCheckBox
private lateinit var liteloaderEnabledCheckBox: JCheckBox
private lateinit var liteloaderAutoCheckBox: JCheckBox
private lateinit var mcpEnabledCheckBox: JCheckBox
private lateinit var mcpAutoCheckBox: JCheckBox
private lateinit var mixinEnabledCheckBox: JCheckBox
Expand All @@ -65,7 +63,6 @@ class MinecraftFacetEditorTab(private val configuration: MinecraftFacetConfigura
forgeEnabledCheckBox,
fabricEnabledCheckBox,
architecturyEnabledCheckBox,
liteloaderEnabledCheckBox,
mcpEnabledCheckBox,
mixinEnabledCheckBox,
bungeecordEnabledCheckBox,
Expand All @@ -84,7 +81,6 @@ class MinecraftFacetEditorTab(private val configuration: MinecraftFacetConfigura
forgeAutoCheckBox,
fabricAutoCheckBox,
architecturyAutoCheckBox,
liteloaderAutoCheckBox,
mcpAutoCheckBox,
mixinAutoCheckBox,
bungeecordAutoCheckBox,
Expand Down Expand Up @@ -183,7 +179,6 @@ class MinecraftFacetEditorTab(private val configuration: MinecraftFacetConfigura
)
}

liteloaderEnabledCheckBox.addActionListener { also(liteloaderEnabledCheckBox, mcpEnabledCheckBox) }
mixinEnabledCheckBox.addActionListener { also(mixinEnabledCheckBox, mcpEnabledCheckBox) }

bungeecordEnabledCheckBox.addActionListener { unique(bungeecordEnabledCheckBox, waterfallEnabledCheckBox) }
Expand Down
Binary file removed src/main/resources/assets/icons/platform/LiteLoader.png
Binary file not shown.
Binary file not shown.