[REQ] Blocks on Lilypads

Discussion in 'Archived: Plugin Requests' started by DallyLolli, May 22, 2012.

  1. Offline

    DallyLolli

    Plugin category: MECH

    EDIT: Sometime earlier in spring I made the request to be able to place certain blocks on lilypads. It seemed that, at the time, that idea was not possible. However, recently with the snapshot for 1.4 introducing flower pots (which are only 3/8 of a block high and can occupy the same space as whatever is placed inside of it) I've decided to reboot this idea.

    What I want: Simply put, I would like the ability to place torches above lilypads, the way you can with solid blocks. Though with the 1.4 update, I am wondering if having them act as flowerpots for torches would be possible.
     
  2. Offline

    BMX_ATVMAN14

    just build over them? unless you mean directly on top of each other with no gap, I don't think that can't be done
     
  3. Offline

    DallyLolli

    I don't mind if a gap has to be left, like with slabs. I would just like the ability to do so. Floating lilypad-torches doesn't sound too bad anyway.

    Also, this would allow for people on my server to build homes on top of water.
     
  4. Offline

    Orcem12

    http://dl.dropbox.com/u/29151356/LilyBuild.jar Like this?
     
  5. Offline

    DallyLolli

    That was quick! Wow. Thank you!

    Not exactly what I need, though. Instead of replacing a lilypad with a block, I would like to be able to place a block on top of it and keep both blocks. Also, this does not allow for torches, which was my original plans for the plugin.
     
  6. Offline

    Orcem12

    Yeah that's what I thought, in that case two blocks cannot occupy the same location. Sorry : ( I'll try to find a way around this.
     
  7. Offline

    DallyLolli

    Would you be able to have the block float above the lilypad, like with slabs? That would work. :)
     
  8. Offline

    Orcem12

    Explain?
     
  9. Offline

    DallyLolli

    Instead of the block occupying the 'empty' space over the lilypad, it would sit on top of the lilypad block. This would leave a visible gap under it, similar to when placing a block on a slab.
     
  10. Offline

    Orcem12

    If I get what you are saying you want the block to sit not 1 block gap but half a block gap? If that is the case I don't think I can create a 'slab' instance above the Lilly pad block using a normal block of anything. Not yet that is, Sorry.
     
  11. Offline

    DallyLolli

    No, a 1 block gap is what I meant. :) I just used slabs as an example.
     
  12. Offline

    Orcem12

    Oooo I get what you are saying... I don't think that is possible : / At the moment, but plus I'm saying that without exactly knowing... I'll definitely look into I just don't think I can make a block behave differently.
     
  13. Offline

    DallyLolli

    I appreciate you trying either way. :) Thank you.
     
  14. I've got a feeling this is possible. If you don't hear from me anymore, I've failed. If I work something out I'll hit you up.
     
  15. Offline

    Orcem12

    With spout yes, you cannot manipulate a blocks behaviour to make it act like a slab... yet.
     
  16. What do you see as 'acting like a slab'.

    I just mean that a player can actually build blocks while rightclicking on a lilypad.
    I'm very sure this is possible and will post a plugin like this soon probably.
     
  17. Offline

    Orcem12

    Nope, if you read the OP post he requested for the block to have the gap of like say you place a block on a slab and there is a little gap. The plugin I posted already does what you intend to do.
     
  18. Offline

    DallyLolli

    So there is no way to build above a lilypad block by right clicking on it?
     
  19. Offline

    Orcem12

    Unless I'm completely missing something, no.
     
  20. Offline

    DallyLolli

    Well, thank you anyway. :)
     
  21. GRARR I'm still convinced it's possible. I'm trying right now, at this moment. :p
     
  22. Offline

    RingOfStorms

    So before it seemed like you replaced the block with the block in hand, simply get lilypad location, add 1 to the y-axis (check if it is air or not ofc), that was clicked, remove 1 block from the stack in hand, and use the world.getBlock(bla bla).setTypeId(ID of block in hand);

    @DallyLolli
     
  23. Offline

    Orcem12

    No, that is not want OP wants, and why reopen thread from May? Your lucky the code structure hasn't changed. If you read what OP requested he wants the the block to be placed directly on top of the lillypad without the lillypad going away or being replaced. This, in all honesty, is completely impossible without a client mod.
     
  24. Offline

    RingOfStorms

    Orcem12

    Look at lily pad, right-click with intended block in hand. Get lily pad location in world. Add 1 to the y-axis of that location. Place block in hand at that new location. What's there to be impossible about this?

    _______
    | Block_| . . (Lily pad location + 1)
    |______|
    { _ air _ }
    { _ air _ }
    _Lily Pad_
     
    sharp237 likes this.
  25. Offline

    Orcem12

    That is what I did originally bro. Read one more time. The op wanted it like this:

    - block -
    -Lily pad-

    Having both blocks remain in the same space at the same time. Which is not possible.
     
  26. Offline

    DallyLolli

    They don't need to occupy the same space. Just like how blocks float over half slabs, I don't mind if whatever it is floats above the lilypad. I was really only wanting to use it for torches anyway, so having floating candles would be suiting. :)
     
  27. Offline

    RingOfStorms

    Ah cause at the moment you can place blocks on lily-pads just as I depicted without any modifications/plugins. You just want to let torches do the same thing?

    DallyLolli
     
  28. Offline

    DallyLolli

    Yes. :D
     
  29. Offline

    chaseoes

    Unless I'm missing something it's already possible?
    [​IMG]
     
  30. Offline

    SoTotallyToby

    Y U POST 2 THREADS OF THE SAME THING!

    Just don't...
     

Share This Page