Posted July 26, 201411 yr 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
July 26, 201411 yr Author 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)
July 26, 201411 yr Author 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?
July 26, 201411 yr 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. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
July 26, 201411 yr Author you mean add --assetsDir (dirrectory) after the "gradlew build" in the cmd prompted?
July 26, 201411 yr 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. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
July 26, 201411 yr 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). Check out my tutorials here: http://jabelarminecraft.blogspot.com/
July 26, 201411 yr Author 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"
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.