Skip to content

Commit 8804bf4

Browse files
committed
修修修修修修修修修修修修
1 parent f1e6449 commit 8804bf4

File tree

6 files changed

+16
-38
lines changed

6 files changed

+16
-38
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ show_testing_output = false
1616

1717
# Mod Information
1818
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
19-
mod_version = 1.7.6
19+
mod_version = 1.7.7
2020
root_package = com.circulation
2121
mod_id = random_complement
2222
mod_name = RandomComplement

src/main/java/com/circulation/random_complement/client/RCGuiScrollbar.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,22 @@ public class RCGuiScrollbar extends GuiScrollbar {
1515
private final Rectangle rectangle = new Rectangle(getLeft(), getTop(), getWidth(), getHeight());
1616
@Getter
1717
private boolean visible = true;
18-
19-
public void setVisible(boolean visible) {
20-
if (this.visible != visible) {
21-
this.visible = visible;
22-
rcScrollbarGui.onCurrentScrollChance(getCurrentScroll());
23-
}
24-
}
25-
2618
@Setter
2719
private RCScrollbarGui rcScrollbarGui;
28-
2920
@Setter
3021
private int leftEx = 0;
3122
@Setter
3223
private int widthEx = 0;
33-
3424
@Setter
3525
private Runnable drawBG;
3626

27+
public void setVisible(boolean visible) {
28+
if (this.visible != visible) {
29+
this.visible = visible;
30+
if (rcScrollbarGui != null) rcScrollbarGui.onCurrentScrollChance(getCurrentScroll());
31+
}
32+
}
33+
3734
public void drawBG() {
3835
if (drawBG != null) {
3936
drawBG.run();

src/main/java/com/circulation/random_complement/mixin/ae2/new_patten_gui/MixinContainerWirelessPatternTerminal.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,17 @@ public MixinContainerWirelessPatternTerminal(InventoryPlayer ip, ITerminalHost m
3131
public AppEngInternalInventory newCrafting(IAEAppEngInventory inventory, int size) {
3232
return new AppEngInternalInventory(inventory, 81) {
3333
@Override
34-
public void setSize(int size) {}
34+
public void setSize(int size) {
35+
}
3536
};
3637
}
3738

3839
@Redirect(method = "<init>", at = @At(value = "NEW", target = "(Lappeng/util/inv/IAEAppEngInventory;I)Lappeng/tile/inventory/AppEngInternalInventory;", ordinal = 1, remap = false))
3940
public AppEngInternalInventory newOutput(IAEAppEngInventory inventory, int size) {
4041
return new AppEngInternalInventory(inventory, 27) {
4142
@Override
42-
public void setSize(int size) {}
43+
public void setSize(int size) {
44+
}
4345
};
4446
}
4547

src/main/java/com/circulation/random_complement/mixin/ae2/new_patten_gui/MixinPartPatternTerminal.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ public class MixinPartPatternTerminal {
1414
public AppEngInternalInventory newCrafting(IAEAppEngInventory inventory, int size) {
1515
return new AppEngInternalInventory(inventory, 81) {
1616
@Override
17-
public void setSize(int size) {}
17+
public void setSize(int size) {
18+
}
1819
};
1920
}
2021

2122
@Redirect(method = "<init>", at = @At(value = "NEW", target = "(Lappeng/util/inv/IAEAppEngInventory;I)Lappeng/tile/inventory/AppEngInternalInventory;", ordinal = 1))
2223
public AppEngInternalInventory newOutput(IAEAppEngInventory inventory, int size) {
2324
return new AppEngInternalInventory(inventory, 27) {
2425
@Override
25-
public void setSize(int size) {}
26+
public void setSize(int size) {
27+
}
2628
};
2729
}
2830
}

src/main/java/com/circulation/random_complement/mixin/ae2fc/new_patten_gui/MixinGuiFluidPatternTerminal.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/main/resources/mixins.random_complement.ae2fc.new_patten_gui.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@
66
"compatibilityLevel": "JAVA_8",
77
"mixins": [
88
"MixinPartFluidPatternTerminal"
9-
],
10-
"client": [
11-
"MixinGuiFluidPatternTerminal"
129
]
1310
}

0 commit comments

Comments
 (0)