mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Rebase & comments pt 1
This commit is contained in:
1 parent
4bbb0e96c3
commit
04345bb0e9
2 files changed
+7
-4
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ dependencies {
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.43:api') {transitive=false}
|
||||
compileOnly('com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev')
|
||||
// runtimeOnlyNonPublishable('com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev')
|
||||
// devOnlyNonPublishable('com.github.GTNewHorizons:ModularUI2:2.2.15-1.7.10:dev')
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.6.6:dev') {transitive=false}
|
||||
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.7.52-GTNH:dev')
|
||||
|
||||
@@ -65,7 +65,8 @@ public class GuiLokiSchematics {
|
||||
.widthRel(0.72f))
|
||||
.child(
|
||||
new ParentWidget<>()
|
||||
.tooltip(new RichTooltip(new TextWidget("Activate Schematic")))
|
||||
.tooltip(new RichTooltip()
|
||||
.add("Activate Schematic"))
|
||||
.widthRel(0.083f)
|
||||
.heightRel(1f)
|
||||
.setEnabledIf((w) -> rowId < schematicNames.size() && !schematicNames.get(rowId).equals(selectedSchematic))
|
||||
@@ -87,7 +88,8 @@ public class GuiLokiSchematics {
|
||||
.heightRel(1f)
|
||||
.child(
|
||||
new ButtonWidget<>()
|
||||
.tooltip(new RichTooltip(new TextWidget("Rename Schematic")))
|
||||
.tooltip(new RichTooltip()
|
||||
.add("Rename Schematic"))
|
||||
.onMousePressed(ignored -> {
|
||||
ClientGUI.open(new RenameGui(schematicNames.get(rowId)));
|
||||
return true;
|
||||
@@ -102,7 +104,8 @@ public class GuiLokiSchematics {
|
||||
.heightRel(1f)
|
||||
.child(
|
||||
new ButtonWidget<>()
|
||||
.tooltip(new RichTooltip(new TextWidget("Delete Schematic")))
|
||||
.tooltip(new RichTooltip()
|
||||
.add("Delete Schematic"))
|
||||
.onMousePressed(ignored -> {
|
||||
String key = schematicNames.get(rowId);
|
||||
PacketHandler.INSTANCE.sendToServer(new PacketLokiDeleteSchematic(key));
|
||||
|
||||
Reference in new issue
Block a user