× Post your Help request here

Need some help with a few content pack things

  • Posts: 1
  • Thank you received: 0

NotTHCsBrother created the topic: Need some help with a few content pack things

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?

#79456
The topic has been locked.
  • Posts: 2845
  • Karma: 44
  • Thank you received: 113

Prototype replied the topic: Need some help with a few content pack things

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"

#79458
The topic has been locked.
  • Posts: 79
  • Karma: 7
  • Thank you received: 16

Funnis replied the topic: Need some help with a few content pack things

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
#79459
The topic has been locked.
  • Posts: 10
  • Thank you received: 0

SweetDreamsAreMadeOfMemes replied the topic: Need some help with a few content pack things

i am having the same gradlew.bat build issue, and yes i installed it manually, how do i fix it?

#79461
The topic has been locked.
  • Posts: 79
  • Karma: 7
  • Thank you received: 16

Funnis replied the topic: Need some help with a few content pack things

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
#79464
The topic has been locked.
  • Posts: 2845
  • Karma: 44
  • Thank you received: 113

Prototype replied the topic: Need some help with a few content pack things

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"

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