Skip to content

Commit 48dcbc3

Browse files
committed
Fix textures.
1 parent e569154 commit 48dcbc3

13 files changed

+7
-5
lines changed

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ dependencies {
8383

8484
// Helper library
8585
// If you do not need Halplibe you can comment this line out or delete this line
86-
modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}"
86+
modImplementation "bta-halplibe:halplibe:${project.halplibe_version}"
8787

8888
modImplementation "ModMenu:ModMenu:2.0.0"
8989

@@ -96,6 +96,8 @@ dependencies {
9696
implementation 'com.google.guava:guava:30.0-jre'
9797
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
9898

99+
implementation("org.apache.commons:commons-lang3:3.12.0")
100+
99101
var log4jVersion = "2.20.0"
100102
implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
101103
implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}")

src/main/java/dan200/client/GuiComputer.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ public void drawScreen(int i, int j, float f) {
106106
drawDefaultBackground();
107107
int termWidth = 4 + tw * Computers.fixedWidthFontRenderer.FONT_WIDTH;
108108
int termHeight = 4 + th * Computers.fixedWidthFontRenderer.FONT_HEIGHT;
109-
int term = this.mc.renderEngine.getTexture("/gui/terminal.png");
110-
int corners = this.mc.renderEngine.getTexture("/gui/corners.png");
111-
int vfix = this.mc.renderEngine.getTexture("/gui/vertical_bar_fix.png");
109+
int term = this.mc.renderEngine.getTexture("/assets/computers/gui/terminal.png");
110+
int corners = this.mc.renderEngine.getTexture("/assets/computers/gui/corners.png");
111+
int vfix = this.mc.renderEngine.getTexture("/assets/computers/gui/vertical_bar_fix.png");
112112
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
113113
int startX = (this.width - termWidth) / 2;
114114
int startY = (this.height - termHeight) / 2;

src/main/java/dan200/client/GuiDiskDrive.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected void drawGuiContainerForegroundLayer() {
2828

2929
@Override
3030
protected void drawGuiContainerBackgroundLayer(float f) {
31-
int i = mc.renderEngine.getTexture("/gui/diskdrive.png");
31+
int i = mc.renderEngine.getTexture("/assets/computers/gui/diskdrive.png");
3232
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
3333
mc.renderEngine.bindTexture(i);
3434
int j = (width - xSize) / 2;
Loading
Loading
Loading
Loading
Loading

src/main/resources/gui/corners.png

Whitespace-only changes.

src/main/resources/gui/diskdrive.png

Whitespace-only changes.

src/main/resources/gui/terminal.png

Whitespace-only changes.

src/main/resources/gui/vertical_bar_fix.png

Whitespace-only changes.

src/main/resources/icon.png

-577 Bytes
Loading

0 commit comments

Comments
 (0)