File tree Expand file tree Collapse file tree
src/main/java/gregtech/common/metatileentities/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141import codechicken .lib .render .pipeline .ColourMultiplier ;
4242import codechicken .lib .render .pipeline .IVertexOperation ;
4343import codechicken .lib .vec .Matrix4 ;
44- import com .cleanroommc .modularui .api .drawable .IKey ;
4544import com .cleanroommc .modularui .network .NetworkUtils ;
4645import com .cleanroommc .modularui .screen .ModularPanel ;
4746import com .cleanroommc .modularui .value .sync .PanelSyncManager ;
@@ -314,11 +313,14 @@ public void writeItemStackData(NBTTagCompound itemStack) {
314313 @ Override
315314 protected void createWidgets (ModularPanel mainPanel , PanelSyncManager syncManager ) {
316315 mainPanel .child (createQuantumDisplay ("gregtech.machine.quantum_chest.items_stored" ,
317- () -> IKey . lang ( virtualItemStack .getTranslationKey ()). get (),
316+ () -> virtualItemStack .getDisplayName (),
318317 textWidget -> !virtualItemStack .isEmpty (),
319318 () -> TextFormattingUtil .formatNumbers (itemsStoredInside )))
319+ // todo make and use GT item slot for special behavior
320320 .child (new ItemSlot ()
321- .slot (new ModularSlot (itemInventory , 0 , true ))
321+ // todo disable tooltip
322+ .slot (new ModularSlot (itemInventory , 0 )
323+ .accessibility (false , false ))
322324 .pos (148 , 41 ));
323325 }
324326
You can’t perform that action at this time.
0 commit comments