Jump to content

Koopamillion

Forge Modder
  • Posts

    102
  • Joined

  • Last visited

Everything posted by Koopamillion

  1. Hi Guys, I have several inventories, the first one was created with a tutorial, it has no problems, the other like 20 were all based off the same, different tutorial. These 20 all bug out when trying to take items out. For example: Lets say the machine produces 2 iron dust, I try to take this out but it leaves some iron dust in there, eventually it will come out after being duplicated like 5 times. If it dosen't duplicate items, then it ghosts them. Does anyone know why my inventories bug out like this? I've given one the of the broken inventories code: TileEntity: https://gist.github.com/anonymous/62df4638182dcc2bef59e9ef12788346 Container: https://gist.github.com/anonymous/f0f9aff14c1715edda925c44bbe3503d Block: https://gist.github.com/anonymous/ba523a42838a2751a88a9c9123783ade ^^ This one may have random metas cause I screwed something up, ignore that, it isn't the problem.
  2. Hi Guys, I have several inventories, the first one was created with a tutorial, it has no problems, the other like 20 were all based off the same, different tutorial. These 20 all bug out when trying to take items out. For example: Lets say the machine produces 2 iron dust, I try to take this out but it leaves some iron dust in there, eventually it will come out after being duplicated like 5 times. If it dosen't duplicate items, then it ghosts them. Does anyone know why my inventories bug out like this? I've given one the of the broken inventories code: TileEntity: https://gist.github.com/anonymous/62df4638182dcc2bef59e9ef12788346 Container: https://gist.github.com/anonymous/f0f9aff14c1715edda925c44bbe3503d Block: https://gist.github.com/anonymous/ba523a42838a2751a88a9c9123783ade ^^ This one may have random metas cause I screwed something up, ignore that, it isn't the problem.
  3. OK, Basically, I have all the drawing done, all I want is to get the textures source from the animated texture. Look at my gui near the coolant bit.
  4. I'm sorry guys, but this is too complicated, I honestly don't have a clue, I kinda understand the switching between coords, but where do I put gui updatescreen?
  5. I tried to update, but I don't get anything, I had like 8000 errors, how does everyone else deal with all this...?
  6. Ok, here is what i've done so far, I have no idea how to fix the draw fluid quad section ;l https://gist.github.com/anonymous/2b3570c128225b2d3bde1c3031113cc1 Thanks
  7. Yup, it's different and, as a noob with updating/downgrading, i've only figured how to convert one bit of code. Sorry about my noobishness Also - what's lava and water's atlas name ? Thanks
  8. ok but I don't get where to put the update screen, my gui is just the simple draw foreground ect.
  9. Does anyone know how to make animated fluid, in this case water and lava, in a gui? Im a noob at this sort of stuff... Thanks in advance
  10. Yeah, I originally coded it to use meta data for different blocks depending on how much power they could hold, that screwed it up so I left it half like that. Now I have no idea how to change it all ;l
  11. I've tried everything to fix this error but my block still wont rotate. Heres the block code: https://gist.github.com/anonymous/d19441dc5b4ad7a7e4fea8d0e6a2ee83 Ask for any more
  12. Some mods, e.g: ic2/thermal expansion have it so that, when you fill up their machines with a liquid, the GUI animates as if the liquid is glistening. Does anyone know how to set that up, an animated GUI? Thanks!
  13. Welp, It fixed itself lol!!!!! Thanks everyone! Ill give you all a thank you
  14. TileEntityMatter: https://gist.github.com/anonymous/02d9317c652875188e0ab8aca99585d8 TileEntityMT: https://gist.github.com/anonymous/7642be801955b871ab755cff940fc0b0
  15. I have this tileentity, with a container and a gui, its all registered and guihandler registered and what not. Anyway, it's saying cannot cast from tileentity matter to tileentity mt. Crash report: https://gist.github.com/anonymous/0cff2c314601eb320d46a4d34649e766 Heres the container, block and guihandler code: Container: https://gist.github.com/anonymous/994b499c93a0872114f71c1f22e7d998 GUIHandler: https://gist.github.com/anonymous/224f5012f3c50c85595779ad6ffc8d77 Block: https://gist.github.com/anonymous/53998b799fb59d78f1e37b328f609644 Thanks in advance!
  16. I don't know if this helps, but if you used something like techne or others for modelling, you get certain sections, (e.g drill bit, handle) anyway, my mob can rotate its legs, could you do something like that?
  17. Because, I'm a beginner and that's the easiest one, might of even be the only one, I found. How would I change it?
  18. Ok, but how would I use an itemstack array in this? thanks!
  19. So, I have a block called an electric pounder, it has custom recipes. Anyway, I want it to grind up any "copper ore" that has an ore dictionary name of oreCopper. How would I come about approaching this. This is my custom recipe class: https://gist.github.com/anonymous/0033a376ed1baaaa59dc7fe5c3236820 Thanks!
  20. So, I've made some block cables, 4 of them, all with different metadatas. Anyway, when I place the first two cables into the world, it renders fine, with the texture and whatnot. Anyway, I place the final two in, and they're invisible, untextured blocks, however the boundingbox and inventory rendering works fine. Does anyone know why they don't render like the first two? The only difference is the textures. Block Cable: https://gist.github.com/anonymous/661dcfa8ca5920ef99af5fda52f16883 TileEntityCableRenderer: https://gist.github.com/anonymous/e26e017afbfeb2b73a7ab3522bdd7ade Model Cable: https://gist.github.com/anonymous/a0673b5472792083967b1cfb80b05d0d If anymore classes are needed, just ask!
  21. EDIT: In mitems, I did jetpackt2 = new jetpack not new jetpack2. Lol So, I have a piece of armour, with a texture resource location all correctly named. However, this piece of armour is the only piece of amour in my mod with a broken texture. BUT - When I copy over a resource location of a working texture, it still dosen't work!!! Can anyone help? Thanks! Classes: Mitems: Jetpack2 (broken): Jetpack (working):
×
×
  • Create New...

Important Information

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