× Post your Help request here

Need some help with a few content pack things

More
1 year 3 months ago #79456 by NotTHCsBrother
1: gradlew.bat build wont work, all thats in the output folder after running the command is he official packs, im trying to get my pack to work outside of the eclipse version

2: i cant get an armor model's skin to work in game, even though the file name is correct in the config, how do i fix?
The topic has been locked.
More
1 year 3 months ago #79458 by Prototype
You know if you wanted to stick around here maybe you should have thought about that before shitting up the discord.


Stephen King wrote: “Don't ask me silly questions
I won't play silly games
I'm just a simple choo choo train
And I'll always be the same"

The topic has been locked.
More
1 year 3 months ago - 1 year 3 months ago #79459 by Funnis
Did you install your Gradlew manually? I don't know does this problem appear in the automatically installed version, but I had the content pack problem.

You need to manually insert your package into your build.gradlew
Open your Forge Gradle in Toolbox, then select "Build" -> "Edit build.gradle/gradle.build" if I remember right it had a misspell there.

Seek for tasks that are named with the names of content packages,

task pack(type: Jar) {
from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/pack/'}
from 'eclipse/Flan/Pack'
baseName = 'Packname'
appendix = 'Content Pack'

Should appear something like that, lines come out wonky since this is not a notepad :lol:
Appendix should stay as "Content Pack", but everywhere where reads "Pack" you should change to your packname
Example:
task Fun(type: jar){
from(zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/Fun/'} and so on.

When you have inserted your own task into the Build.Gradle, you must also edit contentPacks and outputJar tasks,

In the contentPacks you just add "dependsOn YourPack" (For me dependsOn Fun)

And outputJar is quite simple too, " exclude '**/YourPack/' "
(There is that type of uppercase thingies I don't know the name of them and since I am lazy I am not going to look it up.)
For me the exclude part is "exclude '**/Fun/'"

I understand this might be hard to understand or follow, but I am not a professional tutorial maker, and I have been planning to make a whole tutorial out of this, so I did this in quite a hurry.

Edit:
And yes I know the account which started this topic is blocked, but I thought I could help someone else by doing this :lol: , If I am not helping the blocked guy. I like to help.

Am I here, or am I not, are you sure, or are you not. - Funnis
Last edit: 1 year 3 months ago by Funnis.
The topic has been locked.
More
1 year 3 months ago #79461 by SweetDreamsAreMadeOfMemes
i am having the same gradlew.bat build issue, and yes i installed it manually, how do i fix it?
The topic has been locked.
More
1 year 3 months ago #79464 by Funnis
I wrote sort of a tutorial. You need to edit the build.gradlew, you can do that from the Toolbox 2.0, it does that well.

Am I here, or am I not, are you sure, or are you not. - Funnis
The topic has been locked.
More
1 year 3 months ago #79474 by Prototype
Alright. I fucked up here.

Account logs in the same time I ban tester.

Has a name poking at THC, whose dox was being posted when Tester was banned

IP looks the same.




Well fuck me sideways because the IPs aren't the same, and I actually know the guy. Sorry dude, you just won the lottery of shit and I was dumb enough to cash it in.


Carry on as normal people. Your admin is an idiot lol.


Stephen King wrote: “Don't ask me silly questions
I won't play silly games
I'm just a simple choo choo train
And I'll always be the same"

The following user(s) said Thank You: Funnis
The topic has been locked.
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu