#Please help. Very very VERY confused

1 messages · Page 1 of 1 (latest)

wooden crane
#

fmj can't directly access gradle properties like that, you can use the following block in your build.gradle to make them accessible

processResources {
    def expandProps = [
            "minecraft_version": minecraft_version,
            "loader_version": loader_version
    ]

    filesMatching(['fabric.mod.json']) {
        expand expandProps
    }
    inputs.properties(expandProps)
}
river furnace
#

Did you use the fabric template generator from the official website?

slender belfry
#

uhhh I just used the minecraft generator

wooden crane
#

the which?

#

oh, that's mcdev right?

slender belfry
#

yea

wooden crane
#

has a reputation for bad template generation

slender belfry
#

Oh do I have to re-do the entire thing then?

wooden crane
#

cade was referring to https://fabricmc.net/develop/template/, though that only includes

processResources {
    inputs.property "version", project.version

    filesMatching("fabric.mod.json") {
        expand "version": project.version
    }
}

so you'd need to modify it to include the other properties you want

wooden crane
slender belfry
#

do I have to modify this:

Done to increase the memory available to gradle.

org.gradle.jvmargs=-Xmx2G

Fabric Properties

check these on https://modmuss50.me/fabric.html

minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.16.0

Mod Properties

mod_version=1.0-SNAPSHOT
maven_group=com.example
archives_base_name=Auto-Cobweb

Dependencies

check this on https://modmuss50.me/fabric.html

fabric_version=0.92.2+1.20.1

pseudo stratusBOT
#

You can use codeblocks in discord as shown below:
```java
code
```

You can also specify the syntax highlighting to use by specifying the language after the last backtick (`) on the top.

slender belfry
wooden crane
#

hmm

#

!!cheats

pseudo stratusBOT
#

We do not support hacked clients, cheats, or modifications that are intended to give you the upper hand in a server, competitive or otherwise.
See rule 1 in #welcome and the Discord TOS: https://discordapp.com/terms

slender belfry
#

oh mb

#

do I just close this or-

wooden crane
#

yep

slender belfry
#

ah sorry for wasting your time