Redstone power through netherfences

Discussion in 'Archived: Plugin Requests' started by ShadowPhrogg32642342, Jun 26, 2012.

  1. Plugin category: MECH
    Suggested name: RedFence (whatever)

    Basic concept: Redstone power would propagate through netherfence pillars vertically (the focus is on upwards but downwards might come handy too) either with the same power level it arrived (easier to code, but less realistic), or by the known method, losing power gradually.

    Main uses would be lampposts and hanging lanterns, though I have a few other uses in mind too.

    Yes, I borrowed the idea partly from GlowstoneLanterns, however, I'm not really fond of their implementation.

    Commands: No commands needed.

    Permissions: No permissions needed.

    When I'd like it by: Not that urgent, but would be nice to have it in 2-3 weeks.
     
  2. Offline

    RingOfStorms

    I may try this out, haven't done anything with redstone before so we'll see if I can work it out.
     
  3. Offline

    -_Husky_-

    Its easy :) check if block ispowered, then check if the block above or below is a netherbrick fence, if it is, give it power, b.setPowered(true);
     
  4. Offline

    RingOfStorms

    how would I go about implementing that? What kind of event or such should I use?
     
  5. You should call this plugin FenceRed
     
  6. Offline

    Pew446

    If you're not still working on this I'd like to take a whack at it.
     
  7. Offline

    Omnitv

    I <3 cookies too. :3

    Sorry out of place there. yeah interested in this plugin, wanna see it developed.
     
  8. Offline

    RingOfStorms

    Take a whack at it, I don;t know how to do this one :p
     
  9. Offline

    Pew446

    I am also finding this very hard to make, but I think I have found a way to make it work. I'm going to work on it later.
     
  10. Offline

    -_Husky_-

    Will i do it?

    How it would work:

    Check on redstone current, if the block is a netherfence, check the block above it, if the block above is a netherfence, give that block power, and so on, so forth, same for going down.

    Anyway, would you want it going sideways too?
     
  11. Offline

    Pew446

    The problem with that is that you can't "give" a block power, at least without mods. I've searched everywhere. My idea was checking the blocks above and below for if they are fences, then once it finds a powered glow stone block (whatever that's called) it would make it glow. I don't know if this makes any sense, I had no sleep so writing this was a challenge

    So it would go through every block on the y axis one by one until it hits the block to turn on

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

Share This Page