Jump to content

CL4551C

Members
  • Posts

    5
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am very new!

CL4551C's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks for the help, but I don't even know what that mod is. I don't understand the code, because I don't know what that is even supposed to do... So I still need help transmitting redstone vertically...
  2. Honestly, you are good. The Cmd-C and Cmd-V (I use mac, so it's command) works. I'll post a link. Yeah, so now the only thing left is really complicated stuff. I can place the block anywhere, but redstone isn't actually programmed to transmit strait up and down. It works on a small scale, but you have to place it diagonally to go up and down, like this: O O O O I suppose I will have to somehow read the gibberish coding in the output section of redstone. Thanks!
  3. . . . . . . . You are a genius. Simple as that. I didn't think to return true. It now acts perfectly. Vertically. Horizontally. I envy your logic. Yeah, so how might I make it not act like air? I can still walk through it... Same with the lever block. Oh, and I can't seem to click and drag or copy and paste my code to my gist. Any ideas? Edit: I didn't understand what getCollisionBoundingBoxFromPool did... I just solved the "walk right through the block" problem. I'm stupid. Thanks.
  4. Hi, thanks for helping! I've seen you help quite a bit of folks! I did try looking for the methods before, with some strange outcomes... canPlaceBlockAt was making it so I couldn't place blocks on the sides of walls and such, but when I got rid of that (I used //), I found that when I placed it, it spit out the itemID of redstone. I left the "return redstone" there for future changing, but it helps me see when something went wrong... I don't know how to enter my item ID into the place of Item.redstone.itemID, because mine is a block. Yeah, so now the block wouldn't even place. I found I could stop this by //-ing par1World.notifyBlocksOfNeighborChange(par2, par3 + 1, par4, this.blockID); and par1World.notifyBlocksOfNeighborChange(par2, par3 - 1, par4, this.blockID); I don't really know what that did... but I could place the blocks. Anywhere. But... I couldn't place them anywhere where they would normally connect. If I placed a long chain of the blocks diagonally, so they didn't connect, and then at the end, connected two, all of them would be destroyed and would drop redstone. I still need help. My block doesn't do anything now, because it can't connect to others. Sorry for the... I don't know, complicity? Over-Complicatedness? By the way, thanks for the recommendation. I will try GitHub. I've never really heard of it before. Edit: Hey, what do you mean, host my entire project on GitHub? What is a git version control? Can I somehow show where the packages and classes are at? Oh, and what language do I copy it in? Java or JavaScript?
  5. I am trying to make a mod that adds a cleaner housing system. This would include hidden wiring... I have already gotten through the headaches of all of the initial crashes, but things keep popping up. I am obviously new to modding... this is my first. I have created a lever block (though it doesn't act like a block... you can't place anything on top of it, and you can walk through it...), a basic wall block, and a redstone wire block. Sort of. The block acts just like redstone, but with textures of a block. I can't seem to treat it like a block without screwing up it's redstone properties. It can be placed anywhere redstone can, and all. ProblemsINeedHelpWith { //You can walk through them(Solution = don't use getCollisionBoundBoxFromPool); //You can't place them on the side of a block(Solution = canPlaceBlockAt return true); //You can't place them on top of one another(Solution = canPlaceBlockAt return true); You must make a diagonal chain to go vertical; } Here is my source code (I'm not too far into mod development, so I'm not worrying about anyone stealing. It's honestly just redstone wiring with some rendering changes): I will enter my codes into GitHub once I find out how to use it... For now, if you want to help, run eclipse through this folder at startup: http://www.mediafire.com/download/zbgux6x792caipc/forge.zip For right now, I need help with the redstone output... As of right now, electricity flows in every direction but up. Can someone help me? I don't understand how to add a direction. All I see is a bunch of numbers, letters, and +/- signs... Stuff like this: if (i2 > 0 && i2 > l1-1) { l1 = i2; }
×
×
  • Create New...

Important Information

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