Cobble to Stone when pushed over lava

Discussion in 'Archived: Plugin Requests' started by Tomi Joo, Jul 2, 2011.

  1. Offline

    Tomi Joo

    I was thinking about this the whole of today and how it would be a brilliant plugin...

    So. There is a piston which pushes cobble over lava

    [​IMG]

    and when it is over the lava, the cobble turns into stone.

    [​IMG]

    And when that stone is mined, it drops a stone piece.

    [​IMG]


    If you can help make it. Please send an email to: [email protected]
    Texturepack: AngelCraft 64
    Server: 180.189.155.213

    Cheers,
    Tomi
     
  2. Offline

    feildmaster

    That'd be interesting. Currently there is no way to tell if an item is pushed over the server. BUT... how about a plugin where "if cobblestone is over lava, turn into stone"?

    EDIT: Upon further thought... I wonder how it'd detect that. It might just have to wait until a later build of bukkit.
     
  3. Offline

    Tomi Joo

    That sounds good too :)
     
  4. Offline

    thamma

    Really interesting. Maby there could be a permission-based support, what group can drop Stone by mining these special stones near the lava.
    But sure, it'd run on my server :D
     
  5. Offline

    TheGildur

    There you go:
    http://www.file-upload.net/download-3555882/CobbleToStone.jar.html

    Tested with 953 and its working. Note: This plugin does only change cobblestone to stone that was move over lava with the help of pistons. If you place a cobblestone over lava manually it will stay cobblestone. If you'd like to have this changed too just tell me and I will add that.

    Greetings,

    TheGildur

    btw.: This is my first plugin! :D
     
  6. Offline

    feildmaster

    That's... a good way to detect if it's powering a piston block. I never even thought of that.

    The code above will have to be edited a little, in order to drop a "stone" when broken.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
    TheGildur likes this.
  7. Offline

    Tomi Joo

    I think i love you :)

    Thank you soo much EXCYLY what i wanted!
     
  8. Offline

    feildmaster

    (Only most of what you wanted though, yes?)
     
  9. Offline

    TheGildur

    Thanks for telling feildmaster. I have completely forgotten that it should drop the real stone when mining... otherwise its kinda useless lol. I will look into adding that.
     
  10. Offline

    feildmaster

    I have already made that if you want to release it as a joint plugin. ;)

    It's a bit buggy though.
     
  11. Offline

    TheGildur

  12. Offline

    Wakko

    I don't know much about Java, but how would stone drop stone from stone only under those circumstances?
     
  13. Offline

    TheGildur

  14. Offline

    feildmaster

    @TheGildur Use the @ tag when replying to people. It will give them a notification.

    @Wakko look at the post above this one. ;)
     

Share This Page