Pistons can push Obsidian/or Bedrock

Discussion in 'Archived: Plugin Requests' started by Sethimine, Aug 28, 2011.

  1. Offline

    Sethimine

    I don't think anyone posted any requests like this, I went pretty far back.

    So basically, I was building a city, that would be able to push obsidian up and block any tnt. Imagine, to my dismay, when I flip the lever to activate the obsidian shields, they wouldn't move.

    I know, I know, noob move. But could someone possibly help me with this, and create a plugin which allows obsidian to move?

    c:
     
  2. Offline

    hammale

    i can try to whip one up but it wont be supported and may not work well...no promises :p

    actually it doesnt seem that bad, give me a few days :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  3. Offline

    Sethimine

    Sounds good, thank you!

    (I might be able to update it if you don't feel like it, if I take a look at it. I don't know :p )
     
  4. Offline

    hammale

    well i mite end up supporting it, its not actually that bad

    first i need to set up a redstone change event
    then i need to check if the block effected is a piston or stickey piston
    then i need to check the blocks around the piston (using getBlockFace)
    then i need to change the obsidian/bedrock to air
    then i need to change the block 2 above the piston arm to bedrock/obsidian

    simple in concept, a little trickier in code...:p
     
  5. Offline

    Sethimine

    So, I am hoping that since the durability will still be the same, unless TNT is blown up in huge amounts right next to it, it will still not disappear?

    Also, are you trying to get his out before or after 1.8? I'm not updating until the new RB anyway, but I was just wondering.
     
  6. Offline

    hammale

    Yeah it should be durable as long as u protect the piston base...and yes I want it our b4 1.8, is there a release date yet for 1.8?
     
  7. Offline

    Sethimine

    Personally, and among my local MC community, we have a lot of reason to believe that it (or at least half of it according to some people,) will come out later today or tomorrow. A lot of people disagree, because they think there are a lot of glitches and bugs to be fixed, because Notch doesn't want something like 1.7, 1_7_2 and 1.7.3 again.

    But I think it's today and tomorrow :p I heard it was in August, after PAX Prime
     
  8. Offline

    7eggert

    1) If one block of TNT reliably does not destroy something, no amount of TNT can. Blocks will forget their damage before the next explosion is computed.
    2) I think 1.8 will come out next week, since notch wants to tweak something and tweaking takes 72 hours.
    3) Pistons can push IIRC up to 16 blocks. It ain't that easy.
    4) Maybe you can change the obsidian to black wool while pushing? I'd expect a number of error cases, though (timing with explosions/player interaction).

    HTH
     
  9. Offline

    Sethimine

    The amount is fine, and I wouldn't be surprised if you were right about 1.8

    With the tnt, I would like to disagree. I foolishly exploded the atomic bomb's worth of tnt, (its like 25x25x25) and, yes, it crashed the server, but when the server came back up, there was a hole in the obsidian. not only the obsidian, but unless it was lag, the bedrock itself was missing in some places.
     
  10. Offline

    hammale

    wats IIRC?

    all breaks break at some point...its just CRAZY high for obsidian and bedrock!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  11. Offline

    Sethimine

    I am assuming that IIRC is the amount of blocks that a piston can push. I as well have heard this, and actually saw some requests for the pistons to be able to push something.
    I know, I saw it with my own eyes! *grins*
    I'm counting on the fact that someone won't be stupid enough to use that much tnt, because they'll just end up blowing up my town...

    (if I get people on the server -3-'' )[/quote]
     
  12. Offline

    hammale

    well i think its coming along well...:p
     
  13. Offline

    Sethimine

    Good! I saw on Notch's twitter that he is putting some finishing touches and such, (I believe)
    :)
     
  14. Offline

    dbizzzle

    Actually, bedrocks durability is -1 making it impossible to break, but obsidians is quite high :p
     
  15. Offline

    Sethimine

    Really? So would you just say it was like, major lag that made the bedrock disappear or something? 'Cause, I had to replace the bedrock, so I could build. (Didn't want to fall through c:)
     
  16. Offline

    dbizzzle

    Most likely, or the tnt just exposed a hole that was randomly generated there.
     
  17. Offline

    Sethimine

    So I was right! The bottom of the world isn't one flat layer of bedrock!

    I mean, I know that without hacking, it isn't one flat layer, its like random columns of it, but I mean under it, in the void. I've seen weird patterns, like I once saw a checker-board made of bedrock, xD
     
  18. Offline

    hammale

    YES I GOT IT TO PUSH 1 BLOCK OF OBSIDIAN! now i have to make it work for stickies...and see how many blocks a piston can push and incorporate that...its almost done!!! :p
     
  19. Offline

    Sethimine

    -.- lolwut

    thank youu
     
  20. Offline

    hammale

    should it work with bedrock too?

    they push 12 blocks. For the first version only, pistons that start with an obsidian block can only push other obsidian blocks (up to 12 in total)
    ex. ([wood]=| is a piston)
    [wood]=|[obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian]
    would work but
    [wood]=|[obsidian][grass][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian]
    or
    [wood]=|[obsidian][obsidian][obsidian][obsidian][grass][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian][obsidian]
    or anything thats not 100% obsidian WILL NOT WORK IN VERSION 1!!!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  21. Offline

    Sethimine

    sounds good. Is it already working? *goes to plugins list*
     
  22. Offline

    hammale

    well kinda...rite now it only pushes one and sticky pistons dont pull it back. Maybe version 1 will only push one block...
     
  23. Offline

    Sethimine

    and not pull it back?

    *grins*
     
  24. Offline

    hammale

    Let's remain optimistic :p
     
  25. Offline

    Sethimine

    Well of course!

    By the way, I believe 1.8 is coming September eighth
     
  26. Offline

    Dimitrias

    Can't wait too! :)
    (For this mod to work :D)
     
  27. Offline

    hammale

    its almost done...for version 1 it will only be able to push/pull 1 block :) pushing works fine...its just pulling back thats proving difficult :p
     
  28. Offline

    Bush

    i believe the bottom of the world consists out of 5 layers of bedrock.....
    the 5th level is flat no jokes, but the 1st to 4th layer can stil be randomly placed with other types of stones or ores between them.
     
  29. Offline

    Sethimine

    Stupid thing is ccoming out September 12th now.

    And that sounds good. Sort of.. :p
     
  30. Offline

    hammale

    lol its been coming out since 1.7 was announced. then it was moved to 1.8 and now i think its split between 1.9 ROFL i'll hurry up and finish this though. sry for the delay schools been busy
     

Share This Page