Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do I create a minecraft mod with this? #2

Open
marlester-dev opened this issue May 3, 2023 · 4 comments
Open

how do I create a minecraft mod with this? #2

marlester-dev opened this issue May 3, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@marlester-dev
Copy link

There is no normal guide for this. I want to create a mc 1.6.4 mod with it, how do I do it? Is it fabric-loom for forge? Does it replace forgegradle?

@marlester-dev
Copy link
Author

found something

@quat1024
Copy link
Member

quat1024 commented May 8, 2023

Dunno why github didn't notify me for this comment, sorry! I really do need to put some ready-to-use sample projects somewhere (the ./sample folder in this repo is for testing only)

Is it fabric-loom for Forge?

It is somewhat based off the code in a very old version of Fabric Loom. But the projects have diverged significantly since the fork point wayyy back in 2020, and I don't think the core of Voldeloom has many similarities to Fabric Loom anymore. All code relating to the Fabric modloader has been removed. So it's kind of its own thing.

Does it replace forgegradle?

It "replaces ForgeGradle" in spirit - if you want to set up a mod for an older version of the game, you can use this instead of ForgeGradle. But it is not compatible with ForgeGradle. If you have an existing ForgeGradle project, changing it to use Voldeloom is more complicated than just swapping the plugin. So it's not a "replacement" in that sense.

Here's a complete build.gradle template for a 1.6.4 mod. Use Gradle 7.

buildscript {
	repositories {
		mavenCentral()
		maven { url "https://maven.fabricmc.net" }
		maven { url "https://repo.sleeping.town" }
	}
	dependencies {
		classpath "agency.highlysuspect:voldeloom:2.3"
	}
}

apply plugin: "agency.highlysuspect.voldeloom"

java.toolchain.languageVersion = JavaLanguageVersion.of(11)
compileJava.options.release.set(6)

String minecraftVersion = "1.6.4"
String forgeVersion = "1.6.4-9.11.1.1345"

dependencies {
	minecraft "com.mojang:minecraft:${minecraftVersion}"
	forge "net.minecraftforge:forge:${forgeVersion}:universal"
	mappings "net.minecraftforge:forge:${forgeVersion}:src@zip"
}

@quat1024 quat1024 added the documentation Improvements or additions to documentation label May 8, 2023
@Consumedgrub2
Copy link

Consumedgrub2 commented May 24, 2024

So for clarity, since I need to do the same thing as OP, (Im new to ancient minecraft modding) this does make a forge mod that can be loaded with fml? Right? (Also kinda new to modding, just want to attempt to port an old childhood mod) (Apologies, extremely dumb question but I just see fabric in the in some places of the project so I just want to be sure but I wanna say yes to my question) (I only know about forge not fabric, not really familiar with fabric)

@unascribed
Copy link

Yes, Voldeloom emits standard Forge/FML mods loadable in a completely standard Forge environment. No tricks.

The codebase is originally based on Fabric Loom, but has heavily diverged at this point. It's a genetic relation, not a functional one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants