drok0920 Posted July 26, 2014 Posted July 26, 2014 Hello, I'm not sure if this go's here but i will put it here any way, if i need to move it somewhere else i will gladly move it. How would i (a) set the "name" of the jar gradlew build creates and how would i set a different path for gradlew build to put that jar in? Thank you, Drok Quote
drok0920 Posted July 26, 2014 Author Posted July 26, 2014 Just to make it easier(instead of having to type out the name every time after i build it and because i want to be able to find the mod in a easier-to-remember place) Quote
drok0920 Posted July 26, 2014 Author Posted July 26, 2014 I also have another question. How do you make a custom mob ONLY spawn on a certain block(or a block that extends that block) in any biome? Quote
jabelar Posted July 26, 2014 Posted July 26, 2014 Just to make it easier(instead of having to type out the name every time after i build it and because i want to be able to find the mod in a easier-to-remember place) Doesn't the build.gradle file do this for you? When I build I think the jar name is combination of the archiveBaseName plus the version, and I think the assetDir sets location it gets put in. So I've set all my jars from multiple mod projects to pop out in one directory in my workspace. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
drok0920 Posted July 26, 2014 Author Posted July 26, 2014 you mean add --assetsDir (dirrectory) after the "gradlew build" in the cmd prompted? Quote
jabelar Posted July 26, 2014 Posted July 26, 2014 you mean add --assetsDir (dirrectory) after the "gradlew build" in the cmd prompted? You can probably set it as a parameter to the command, but I just put it right in my build.gradle file. What does your build.gradle file look like? The whole point of the build.gradle file is to control how the build is done -- where the files are, where they go, etc. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
jabelar Posted July 26, 2014 Posted July 26, 2014 I also have another question. How do you make a custom mob ONLY spawn on a certain block(or a block that extends that block) in any biome? You shouldn't combine different questions in same thread. Anyway, there is an event called PotentialSpawns that you can handle. The event parameter will have a field called list that contains what it thinks it can spawn, and it also has x, y, and z for the position. You can edit the list in the handler. So you'd check the position and if it isn't good for your entity you'd edit the list to remove your entity (if it was in the list). Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
drok0920 Posted July 26, 2014 Author Posted July 26, 2014 ok so i found what you are talking about... now if i DONT want it in my forge folder i would just do something liek "C:\Test123\123" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.