Skip to content

Commit

Permalink
7.1 updating.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Dec 15, 2023
1 parent be13e04 commit 5ee35eb
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/build/
/.gradle/
/local-lib/
/out/
39 changes: 37 additions & 2 deletions 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,10 +71,24 @@ 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 {
implementation project(path: ':')
minecraft "bta-download-repo:bta:${project.bta_version}"
mappings loom.layered() {}

Expand All @@ -68,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 @@ -81,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 5ee35eb

Please sign in to comment.