File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
src/main/java/vazkii/botania/client/gui/loki Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencies {
6
6
7
7
compileOnly(' com.github.GTNewHorizons:BuildCraft:7.1.43:api' ) {transitive= false }
8
8
compileOnly(' com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev' )
9
- // runtimeOnlyNonPublishable ('com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev')
9
+ // devOnlyNonPublishable ('com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev')
10
10
11
11
compileOnly(' com.github.GTNewHorizons:ForgeMultipart:1.6.6:dev' ) {transitive= false }
12
12
devOnlyNonPublishable(' com.github.GTNewHorizons:NotEnoughItems:2.7.52-GTNH:dev' )
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ public ModularPanel buildUI(ItemStack itemStack) {
65
65
.widthRel (0.72f ))
66
66
.child (
67
67
new ParentWidget <>()
68
- .tooltip (new RichTooltip (new TextWidget ("Activate Schematic" )))
68
+ .tooltip (new RichTooltip ()
69
+ .add ("Activate Schematic" ))
69
70
.widthRel (0.083f )
70
71
.heightRel (1f )
71
72
.setEnabledIf ((w ) -> rowId < schematicNames .size () && !schematicNames .get (rowId ).equals (selectedSchematic ))
@@ -87,7 +88,8 @@ public ModularPanel buildUI(ItemStack itemStack) {
87
88
.heightRel (1f )
88
89
.child (
89
90
new ButtonWidget <>()
90
- .tooltip (new RichTooltip (new TextWidget ("Rename Schematic" )))
91
+ .tooltip (new RichTooltip ()
92
+ .add ("Rename Schematic" ))
91
93
.onMousePressed (ignored -> {
92
94
ClientGUI .open (new RenameGui (schematicNames .get (rowId )));
93
95
return true ;
@@ -102,7 +104,8 @@ public ModularPanel buildUI(ItemStack itemStack) {
102
104
.heightRel (1f )
103
105
.child (
104
106
new ButtonWidget <>()
105
- .tooltip (new RichTooltip (new TextWidget ("Delete Schematic" )))
107
+ .tooltip (new RichTooltip ()
108
+ .add ("Delete Schematic" ))
106
109
.onMousePressed (ignored -> {
107
110
String key = schematicNames .get (rowId );
108
111
PacketHandler .INSTANCE .sendToServer (new PacketLokiDeleteSchematic (key ));
You can’t perform that action at this time.
0 commit comments