Skip to content

Commit

Permalink
use voldeloom 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
quat1024 committed Jul 28, 2022
1 parent e206fce commit 475dff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Adds hoppers to Minecraft!

Thanks to unascribed and TwilightFlower for [doing the toolchain heavy lifting and for providing an example.](https://github.com/BuildCraft/BuildCraft/tree/3.4.x). And for being cool.
Thanks to unascribed and TwilightFlower for [doing the toolchain heavy lifting and for providing an example.](https://github.com/BuildCraft/BuildCraft/tree/3.4.x) And for being cool.

# License

Expand All @@ -16,9 +16,4 @@ Changes made to the original Buildcraft-Voldeloom `build.gradle` that I think ar
* Defined a `minecraftVersion` parameter because one wasn't defined. The error wasn't noticed because it didn't crop up if you already had `mcp726a.zip` downloaded.
* I try to crash early if any file downloads as zero bytes. In particular, the Internet Archive seems to respond to 404 requests with 0-byte files. If you are still having trouble you can browse the MCP archive and download `mcp726a.zip` yourself [here](https://ia601701.us.archive.org/view_archive.php?archive=/29/items/minecraftcoderpack/minecraftcoderpack.zip).

For some reason Voldeloom downloads version_manifest.json as a gzip file (in `~/.gradle/caches/fabric-loom/version_manifest.json`), doesn't actually unzip it, then blows up with json parsing error when trying to read it. Used to have a bunch of text here about "here, use this shell script to inflate the files" but it turned out to be a deeper problem with Voldeloom so I forked it. At the moment:
* Clone [CrackedPolishedBlackstoneBricksMC/voldeloom](https://github.com/CrackedPolishedBlackstoneBricksMC/voldeloom/tree/1.4.7-gzip) and check out `1.4.7-gzip`
* `./gradlew publishToMavenLocal`
* This project's build.gradle contains `mavenLocal()` at the top of the `buildscript { repositories {}}` block, so it should pick up on it.

Yes, run configs don't work, I mean voldeloom prints warnings about "fabric-installer.json not found in classpath", what did you expect would happen.
10 changes: 1 addition & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,13 @@ import java.nio.file.StandardCopyOption

buildscript {
repositories {
//Currently my Voldeloom fork is required. See https://github.com/unascribed/voldeloom/pull/1
//1. Clone this: https://github.com/CrackedPolishedBlackstoneBricksMC/voldeloom/tree/1.4.7-gzip
//2. git checkout 1.4.7-gzip
//3. ./gradlew publishToMavenLocal
//4. then this line should pick up the voldeloom fork.
mavenLocal()

//And now, for your regularly scheduled shit I copied from Buildcraft.
mavenCentral()
gradlePluginPortal()
maven { url "https://maven.fabricmc.net" }
maven { url "https://repo.sleeping.town" }
}
dependencies {
classpath "com.unascribed:voldeloom:1.0+1.4.7"
classpath "com.unascribed:voldeloom:1.0.1+1.4.7"
}
}

Expand Down

0 comments on commit 475dff3

Please sign in to comment.