Skip to content

Commit

Permalink
Merge branch '7.1' into Texture-Helper-Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 authored Dec 15, 2023
2 parents d0a8081 + 5ee35eb commit a37d80a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/build/
/.gradle/
/local-lib/
/src/main/resources/assets/halplibe/block/
38 changes: 37 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@ repositories {
}
metadataSources { artifact() }
}
ivy {
url = "https://github.com/Turnip-Labs"
patternLayout {
artifact "[organisation]/releases/download/[revision]/[module]-[revision].jar"
m2compatible = true
}
metadataSources { artifact() }
}
ivy {
url = "https://github.com/Turnip-Labs"
patternLayout {
artifact "[organisation]/releases/download/[revision]/[module]-bta-[revision].jar"
m2compatible = true
}
metadataSources { artifact() }
}
ivy {
url = "https://piston-data.mojang.com"
patternLayout {
Expand All @@ -55,6 +71,21 @@ repositories {
}
metadataSources { artifact() }
}
ivy {
url = "https://github.com/UselessBullets"
patternLayout {
artifact "[organisation]/releases/download/[revision]/[module]-bta-[revision].jar"
m2compatible = true
}
metadataSources { artifact() }
}
ivy {
url = uri("https://github.com/UselessBullets")
patternLayout {
artifact("[organisation]/releases/download/v[revision]/[module]-[revision].jar")
}
metadataSources { artifact() }
}
}

dependencies {
Expand All @@ -67,11 +98,16 @@ dependencies {
implementation "org.slf4j:slf4j-api:1.8.0-beta4"
implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0"

implementation 'com.google.guava:guava:30.0-jre'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'

var log4jVersion = "2.20.0"
implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}")
implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}")
include(implementation("org.apache.commons:commons-lang3:3.12.0"))

modImplementation "ModMenu:modmenu:2.0.2-7.1"
}

java {
Expand All @@ -80,7 +116,7 @@ java {
withSourcesJar()
}

tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.release.set 8
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx2G

# BTA
bta_version=1.7.7.0_02
bta_version=7.1-pre1

# Loader
loader_version=0.14.19-babric.1-bta
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/turniplabs/halplibe/util/TextureHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void update() {

for (int i = 0; i < this.resolution * scale; ++i) {
for (int j = 0; j < this.resolution * scale; ++j) {
transferPixel(this.frames, (int) (this.elapsedTicks * this.resolution * this.resolution * scale * scale + j * this.resolution * scale + i), this.imageData, (int) (j * this.resolution * scale + i));
//transferPixel(this.frames, (int) (this.elapsedTicks * this.resolution * this.resolution * scale * scale + j * this.resolution * scale + i), this.imageData, (int) (j * this.resolution * scale + i));
}
}

Expand Down

0 comments on commit a37d80a

Please sign in to comment.