11package gregtech .common .metatileentities .storage ;
22
3- import com .cleanroommc .modularui .api .drawable .IKey ;
4- import com .cleanroommc .modularui .value .sync .BooleanSyncValue ;
5- import com .cleanroommc .modularui .value .sync .IntSyncValue ;
6- import com .cleanroommc .modularui .value .sync .SyncHandlers ;
7- import com .cleanroommc .modularui .widgets .ItemSlot ;
8-
9- import com .cleanroommc .modularui .widgets .ToggleButton ;
10- import com .cleanroommc .modularui .widgets .textfield .TextFieldWidget ;
11-
123import gregtech .api .GTValues ;
134import gregtech .api .gui .GuiTextures ;
145import gregtech .api .gui .ModularUI ;
1910import gregtech .api .items .itemhandlers .GTItemStackHandler ;
2011import gregtech .api .metatileentity .MetaTileEntity ;
2112import gregtech .api .metatileentity .interfaces .IGregTechTileEntity ;
22- import gregtech .api .mui .GTGuiTextures ;
2313import gregtech .api .mui .GTGuis ;
2414import gregtech .api .util .GTTransferUtils ;
2515import gregtech .api .util .GTUtility ;
4333import codechicken .lib .render .pipeline .ColourMultiplier ;
4434import codechicken .lib .render .pipeline .IVertexOperation ;
4535import codechicken .lib .vec .Matrix4 ;
36+ import com .cleanroommc .modularui .api .drawable .IKey ;
4637import com .cleanroommc .modularui .factory .PosGuiData ;
4738import com .cleanroommc .modularui .screen .ModularPanel ;
39+ import com .cleanroommc .modularui .value .sync .BooleanSyncValue ;
40+ import com .cleanroommc .modularui .value .sync .IntSyncValue ;
4841import com .cleanroommc .modularui .value .sync .PanelSyncManager ;
42+ import com .cleanroommc .modularui .value .sync .SyncHandlers ;
43+ import com .cleanroommc .modularui .widgets .ItemSlot ;
44+ import com .cleanroommc .modularui .widgets .ToggleButton ;
45+ import com .cleanroommc .modularui .widgets .textfield .TextFieldWidget ;
4946import org .apache .commons .lang3 .ArrayUtils ;
5047import org .jetbrains .annotations .NotNull ;
5148import org .jetbrains .annotations .Nullable ;
@@ -95,9 +92,9 @@ public ModularPanel buildUI(PosGuiData guiData, PanelSyncManager guiSyncManager)
9592 return GTGuis .createPanel (this , 176 , 166 )
9693 .child (IKey .lang ("gregtech.creative.chest.item" ).asWidget ()
9794 .pos (7 , 9 ))
98- // .child(GTGuiTextures.DISPLAY.asWidget()
99- // .pos(7, 48)
100- // .size(154, 14))
95+ // .child(GTGuiTextures.DISPLAY.asWidget()
96+ // .pos(7, 48)
97+ // .size(154, 14))
10198 .child (new TextFieldWidget ()
10299 .pos (7 , 50 )
103100 .size (152 , 10 )
@@ -106,9 +103,9 @@ public ModularPanel buildUI(PosGuiData guiData, PanelSyncManager guiSyncManager)
106103 .value (new IntSyncValue (() -> itemsPerCycle , value -> itemsPerCycle = value )))
107104 .child (IKey .lang ("gregtech.creative.chest.ipc" ).asWidget ()
108105 .pos (7 , 28 ))
109- // .child(GTGuiTextures.DISPLAY.asWidget()
110- // .pos(7, 85)
111- // .size(154, 14))
106+ // .child(GTGuiTextures.DISPLAY.asWidget()
107+ // .pos(7, 85)
108+ // .size(154, 14))
112109 .child (new TextFieldWidget ()
113110 .pos (7 , 85 )
114111 .size (152 , 10 )
@@ -120,7 +117,9 @@ public ModularPanel buildUI(PosGuiData guiData, PanelSyncManager guiSyncManager)
120117 .child (new ToggleButton ()
121118 .pos (7 , 101 )
122119 .size (162 , 20 )
123- .overlay (IKey .dynamic (() -> IKey .lang (active ? "gregtech.creative.activity.on" : "gregtech.creative.activity.off" ).get ()))
120+ .overlay (IKey .dynamic (() -> IKey
121+ .lang (active ? "gregtech.creative.activity.on" : "gregtech.creative.activity.off" )
122+ .get ()))
124123 .value (new BooleanSyncValue (() -> active , value -> {
125124 active = value ;
126125 scheduleRenderUpdate ();
0 commit comments