Jump to content

Jacky2611

Members
  • Posts

    499
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jacky2611

  1. GOT IT WORKING!!! dependencies { compile rootProject } [code] FIXED IT!!!!!
  2. Update: ok, i tried to add my root Project to the dependencies of the subproject. didn't work. Heres my mainmod build.gradle: and my submod build.gradle: An here is my Console output: USERNAMEs-mbp:DimensionShiftCore USERNAME$ ./gradlew build DimensionShiftCore **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** FAILURE: Build failed with an exception. * Where: Build file '/Users/USERNAME/Desktop/modding/DimensionShiftInfectus/build.gradle' line: 6 * What went wrong: A problem occurred evaluating project ':DimensionShiftInfectus'. > Could not find property ':DimensionShiftCore' on DefaultProjectDependency{dependencyProject='project ':DimensionShiftInfectus'', configuration='default'}. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 5.929 secs USERNAMEs-mbp:DimensionShiftCore USERNAME$ Has anyone an idea what i am doing wrong?
  3. thats why i asked for the complete Block class
  4. Please show us the complete Block Class. and did you put this.setTickRandomly(true); in the constructor?
  5. Hi! Just managed to get my dependency setup Working but now i have problems exporting it. I added the Mainmod project in my Submod(own Project) to the Java Build Path. This allows my to use Items and Blocks from my Mainmod. But when i try to export my projects via ./gradlew build it crashes saying that it can't find the Files. (They don't really exist in my submod-project so its no big surprise) Heres a photo from my package Explorer(Both Projects are in the same Folder): Can someone pls help me to export my mods? any help would be greatly appreciated. thx in advance for any support or hint how to solve this, Jacky
  6. i am impressed. my classes are always a mess. its a joy to read yours. Caused by: java.lang.OutOfMemoryError: Java heap space Pls try to start mc with more ram. and you are missing a LOT of textures
  7. Hi! I am just trying to split my mod in 2 parts and came across this: http://www.minecraftforge.net/forum/index.php/topic,14791.0.html No i finally managed to get this working, i have two mods(one in the forge folder, one in an external one) and can compile them both with just one command. But they aren't really linked, i can either play with my main mod or with the addon/sub-mod. Just tell my if i should provide my build.gradle files or anything else. Jacky
  8. i think i had something similar. Try to change your main Class to: MainClass->"Browse" -> GradleStartServer
  9. it shouldn't spread up/down? than you can us your block y coordinate 1:1 for your new blocks y(=j1) coordinate.
  10. guess he wants that his block spreads as fast as possible:D if you want that your block spreads only upwards you have to remove the -1 from the new y(j1) coordinate and change the 3 to a 2
  11. ah, didn't know that there already is something build in.
  12. yeah, i know. int i1 = x + random.nextInt(3) - 1; int j1 = y + random.nextInt(3) - 1; int k1 = z + random.nextInt(3) - 1; Block block = world.getBlock(i1, j1 + 1, k1); if (world.getBlock(i1, j1, k1) != Blocks.air){ world.setBlock(i1, j1 + 1, k1, this); } j1 is the y coordinate (height) from the block it spreads to, right?. it basically is the blocks current location plus a random number. ok, what is this random number? it is either: 0 1 or 2 minus 1. his means that it can spread -1(down) 0(same y) +1(up) sry accidentaly had a 2 there, my fault, fixed it secs before your post
  13. what? what does it do/not do?
  14. bump :'( Can someone pls help me? I want to split my mod before i add any new content to it. ok, have a few gradle problems now, posted them in the gradle subforum: http://www.minecraftforge.net/forum/index.php/topic,21369.0.html
  15. yeah, way better. public void updateTick(World world, int x, int y, int z, Random random) { if (!world.isRemote) for (int i = 0; l < 45000; ++l) { int i1 = x + random.nextInt(3) - 1; int j1 = y + random.nextInt(3) - 1; int k1 = z + random.nextInt(3) - 1; Block block = world.getBlock(i1, j1 + 1, k1); if (world.getBlock(i1, j1, k1) != Blocks.air){ world.setBlock(i1, j1 + 1, k1, this); } } try something like thisthis
  16. nah, not only under his island, all the way down to the highest solid block. Heres some piece of tatally awesome concept art i draw while waiting for someone to answer my questions:
  17. Wah? what is this? Always, always use good and simple to understand names
  18. Here is a keybinding tutorial, did you already read it? http://www.minecraftforge.net/wiki/Key_Binding
  19. Please tell me, what has this to do with this topic? His mod is all about adding fake players/npcs
  20. I think LEGOLord is looking for someone to take over his mod... http://www.minecraftforum.net/forums/search?by-author=LEGOlord208&display-type=posts
  21. Or, he could create a block that behaves like air but emits light. Whenever one of the neighbor blocks changes it should check if there is any block (expect the bottom block of the island) above it. if there is one it should remove itself and all other "light"-blocks below. If not and if the block under it is air it should set light-blocks until it reaches the next solid block.
  22. What? Wait! This tutorial is different to the one i read. Looks good. but where do i have to put my mains mod src? i neither have a mcp folder nor do i need it(already have the src). but where should i put the core's src now? EDIT: ok, i tried around a little bit: now i have a new package net.testmod.mod next to my net.dimensionshift.mod... classes. And this setup works surprisingly well. But how should i export each one of this mods on its own? Or can i somehow spilt them up in 2 projects? And somehow the testmod is not marked as a childmod of my main mod. How can i make it to a "real" child mo?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.