2525import com .cleanroommc .modularui .value .sync .SyncHandlers ;
2626import com .cleanroommc .modularui .widget .Widget ;
2727import com .cleanroommc .modularui .widget .sizer .Area ;
28- import com .cleanroommc .modularui .widgets .ItemSlot ;
2928import com .cleanroommc .modularui .widgets .ProgressWidget ;
3029import com .cleanroommc .modularui .widgets .layout .Flow ;
30+ import com .cleanroommc .modularui .widgets .slot .ItemSlot ;
3131import com .cleanroommc .modularui .widgets .slot .SlotGroup ;
3232import it .unimi .dsi .fastutil .bytes .Byte2ObjectArrayMap ;
3333import it .unimi .dsi .fastutil .bytes .Byte2ObjectMap ;
@@ -571,7 +571,7 @@ public ModularPanel constructPanel(MetaTileEntity mte, DoubleSupplier progressSu
571571
572572 Flow row = Flow .row ()
573573 .height (h )
574- .debugName ("row:recipemapui.parent" )
574+ .name ("row:recipemapui.parent" )
575575 .alignX (0.5f )
576576 .crossAxisAlignment (Alignment .CrossAxis .CENTER )
577577 .top (23 - 7 );
@@ -593,7 +593,7 @@ public ModularPanel constructPanel(MetaTileEntity mte, DoubleSupplier progressSu
593593 }
594594 row .child (progressWidget
595595 .recipeMap (recipeMap )
596- .debugName ("recipe.progress" )
596+ .name ("recipe.progress" )
597597 .size (progressSize )
598598 .margin (margin , 0 )
599599 .value (progressValue )
@@ -624,7 +624,7 @@ private Widget<?> makeItemGroup(CalculatedGrid grid, IItemHandlerModifiable hand
624624 Flow col = Flow .column ()
625625 .mainAxisAlignment (Alignment .MainAxis .END )
626626 .coverChildren ()
627- .debugName ("col:item_grid" );
627+ .name ("col:item_grid" );
628628 int width = grid .getItemGridWidth ();
629629 int height = grid .getItemGridHeight ();
630630
@@ -633,7 +633,7 @@ private Widget<?> makeItemGroup(CalculatedGrid grid, IItemHandlerModifiable hand
633633 Flow row = Flow .row ()
634634 .mainAxisAlignment (isOutputs ? Alignment .MainAxis .START : Alignment .MainAxis .END )
635635 .coverChildren ()
636- .debugName ("row:item_" + i );
636+ .name ("row:item_" + i );
637637 for (int j = 0 ; j < width ; j ++) {
638638 row .child (makeItemSlot (slotGroup , (i * height ) + j , handler , isOutputs ));
639639 }
@@ -646,7 +646,7 @@ private Widget<?> makeFluidGroup(CalculatedGrid grid, FluidTankList handler, boo
646646 Flow col = Flow .column ()
647647 .mainAxisAlignment (Alignment .MainAxis .START )
648648 .coverChildren ()
649- .debugName ("col:fluid_grid" );
649+ .name ("col:fluid_grid" );
650650
651651 int width = grid .getFluidGridWidth ();
652652 int height = grid .getFluidGridHeight ();
@@ -655,7 +655,7 @@ private Widget<?> makeFluidGroup(CalculatedGrid grid, FluidTankList handler, boo
655655 Flow row = Flow .row ()
656656 .mainAxisAlignment (isOutputs ? Alignment .MainAxis .START : Alignment .MainAxis .END )
657657 .coverChildren ()
658- .debugName ("row:fluid_" + i );
658+ .name ("row:fluid_" + i );
659659 for (int j = 0 ; j < width ; j ++) {
660660 row .child (makeFluidSlot ((i * height ) + j , handler , isOutputs ));
661661 }
@@ -685,7 +685,7 @@ protected Widget<?> makeInventorySlotGroup(CalculatedGrid grid, @NotNull IItemHa
685685
686686 Flow flow = (singleRow ? Flow .row () : Flow .column ())
687687 .coverChildren ()
688- .debugName (singleRow ? "row:parent" : "col:parent" );
688+ .name (singleRow ? "row:parent" : "col:parent" );
689689 flow .crossAxisAlignment (isOutputs ? Alignment .CrossAxis .START : Alignment .CrossAxis .END );
690690
691691 if (!onlyFluids && fluidGridHeight > 1 ) {
@@ -712,7 +712,7 @@ protected Widget<?> makeInventorySlotGroup(CalculatedGrid grid, @NotNull IItemHa
712712 protected ItemSlot makeItemSlot (SlotGroup group , int slotIndex , IItemHandlerModifiable itemHandler ,
713713 boolean isOutputs ) {
714714 return new ItemSlot ()
715- .debugName ("item.slot." + slotIndex + ":" + group .getName ())
715+ .name ("item.slot." + slotIndex + ":" + group .getName ())
716716 .slot (SyncHandlers .itemSlot (itemHandler , slotIndex )
717717 .slotGroup (group )
718718 .accessibility (!isOutputs , true ))
@@ -721,7 +721,7 @@ protected ItemSlot makeItemSlot(SlotGroup group, int slotIndex, IItemHandlerModi
721721
722722 protected GTFluidSlot makeFluidSlot (int slotIndex , FluidTankList fluidHandler , boolean isOutputs ) {
723723 return new GTFluidSlot ()
724- .debugName ("fluid.slot." + slotIndex )
724+ .name ("fluid.slot." + slotIndex )
725725 .syncHandler (GTFluidSlot .sync (fluidHandler .getTankAt (slotIndex ))
726726 .accessibility (true , !isOutputs )
727727 .drawAlwaysFull (true ))
0 commit comments