Inactive [MECH] PistonChest v0.5.2 - Pistons push Blocks into Chests [1060]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Jul 7, 2011.

  1. Offline

    narrowtux

    PistonChest
    Pistons push Blocks into Chests or pull them out
    Version: 0.5.2
    PistonChest.png


    Download
    PistonChest.jar
    Source Code on GitHub

    Features
    • Push Blocks into Chests, Dispensers and Furnaces when they hit one
    • Special Furnace-Support, only uses the input stack there
    • Sticky pistons now pull the first block out of chests/dispensers and the product-block out of furnaces. Items won't be pulled for now.
    • No Permissions and Configuration needed, drag'n'drop install.
    • Lockette and LWC support (Pistons won't pull or push anything out of protected chests/dispensers/furnaces)
    • Configure if you want to protect your chests with LWC or Lockette (Config is auto-generated with nice defaults, so it runs great out of the box)
    • uses NarrowtuxLib
    Changelog
    Version 0.5.2
    • Updated for NarrowtuxLib
    See the whole changelog

    Todo
    • Option to make pulling blocks/items random instead of using first block.
     
    CoD511, FrAz, skeletonofchaos and 4 others like this.
  2. Offline

    narrowtux

    Oh, thanks :D
    Now I finally know the real cause of the issue!
     
  3. Offline

    libraryaddict

    I had 2 pistons on top of each other

    Then 1 dirt block behind the bottom piston and redstone on top of the dirt.
    This powers both of them.

    But it didnt power the bottom one to push it into the chest.
    I find you need the redstone leading directly into it.

    Could this be fixed thanks.

    Your plugin is awesome :D
     
  4. Offline

    narrowtux

    Yeah, soon I'll change that to the Bukkit-Piston events which are more relieable to use. Then, every source for redstone will be accepted.
     
  5. Offline

    Sinazok

    The title of this plugin still states "[953]". However, because of BukkitContrib, this plugin only works properly with 1000. If you don't want to support 953, change the title.
     
  6. Offline

    Fipil

    Ok, great! So, please can you make a build with correction?
     
  7. Offline

    DDRKhat

    Few issues with this.
    1) A piston won't push/pull a block into/from a chest unless it's getting power from a repeater OR lever and only a manual use of the lever, it won't work with FalseBook for example.
    2) Occasionally pistons still pop out when being powered.
     
  8. Offline

    libraryaddict

    Auctally this works also if redstone is directly powering the piston.
    Please read comments.

    I would like this fixed though.
    Along with the animation happening when the pistons push/pull
     
  9. Hi first thanks for this Great Plugin

    Now can you Fix this?
    Code:
    18:08:05 [SEVERE] Could not pass event REDSTONE_CHANGE to PistonChest java.lang.NullPointerException         at org.yi.acru.bukkit.Lockette.Lockette.isProtected(Lockette.java:596)         at com.narrowtux.PistonChest.PCMain.isChestPublic(PCMain.java:93)         at com.narrowtux.PistonChest.PCBlockListener.onBlockRedstoneChange(PCBlo ckListener.java:35)         at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j ava:476)         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58)         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:332)         at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)         at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:41)         at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja va:286)         at net.minecraft.server.World.k(World.java:453)         at net.minecraft.server.World.applyPhysics(World.java:433)         at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)         at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja va:286)         at net.minecraft.server.World.k(World.java:453)         at net.minecraft.server.World.applyPhysics(World.java:433)         at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)         at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.ja va:286)         at net.minecraft.server.World.k(World.java:453)         at net.minecraft.server.World.applyPhysics(World.java:429)         at net.minecraft.server.BlockButton.interact(BlockButton.java:156)         at net.minecraft.server.BlockButton.b(BlockButton.java:125)         at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:7 6)
    


    And i have a problem the pistons doesnt Push Cobblestone in the Furnace the pistons doesnt move
     
  10. Offline

    tolacika

    Can they push/pull obsidian or more blocks??
     
  11. Offline

    narrowtux

    No, Obsidian and Bedrock are "blacklisted", as well as some other blocks that would break anyway.
     
  12. Offline

    Master_Rudik

    ...in 0.4.2? Are you sure? Because I can definitely pull bedrock and obsidian out of chests.
     
  13. Offline

    narrowtux

    I mean that they can't be pushed into chests.
    Every item can be build/dropped/spawned when pulled out of a chest.
     
  14. Offline

    VRYUKI

    incredible... simply awesome.
     
  15. Offline

    Master_Rudik

    Can that be changed? Or can bedrock and obsidian at least be pulled out as items instead of blocks? They halt all activity when a player feels like dropping some in.

    Or just figure out a way of making pistons able to push bedrock and obsidian. That'd be cool, too. :-D
     
  16. Offline

    narrowtux

    I opt in for disabling it ;)
     
  17. Offline

    jycs

    PLEASE fix the redstone error -_-...
     
  18. Offline

    libraryaddict

    The redstone bug is giving me grief on my compact cobblestone generator :(
    Sometimes the repeaters work and sometimes they dont.
     
  19. Offline

    narrowtux

    Version 0.5.1 is out!
    This now uses the Bukkit Piston events. You have to have a block of free space between the chest and the blocks that should be pushed to make this work. This is because otherwise the pistons wouldn't push the blocks.
    Sticky piston handling remains the same.
     
  20. Offline

    alexg2k1

    I have an idea, how about making it like showcase when you pull an item out of a chest? Like the item will be in the middle of the sticky piston then you can go grab it? I'm not sure if this is possible but hoping!
     
  21. Offline

    narrowtux

    Maybe when showcase is installed. The only problem would be that a kind of setup would be needed.
     
  22. Offline

    KoBRaAndrey

    Please can you upload this mod for version 1000? :)
     
  23. Offline

    Oxygene

    This auto downloads spout which crashes my server (havent figured out why yet). Would be nice if there was a warning :p
     
  24. Offline

    narrowtux

    you should be able to use it with version 1000.
    The Recommended Build is only the last version I tested it with, but it should be safe to test it on a older or a newer version too.
     
  25. Offline

    KoBRaAndrey

    When i connect to my server i had message End of stream.

    2011-08-21 17:36:09 [SEVERE] java.lang.NullPointerException
    2011-08-21 17:36:09 [SEVERE] at java.lang.System.arraycopy(Native Method)
    2011-08-21 17:36:09 [SEVERE] at java.io.BufferedOutputStream.write(Unknown Source)
    2011-08-21 17:36:09 [SEVERE] at java.io.DataOutputStream.write(Unknown Source)
    2011-08-21 17:36:09 [SEVERE] at net.minecraft.server.Packet51MapChunk.a(Packet51MapChunk.java:88)
    2011-08-21 17:36:09 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:116)
    2011-08-21 17:36:09 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.java:107)
    2011-08-21 17:36:09 [SEVERE] at net.minecraft.server.NetworkManager.d(NetworkManager.java:263)
    2011-08-21 17:36:09 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:107)
    2011-08-21 17:36:09 [INFO] Connection reset
     
  26. Offline

    ochenchi

    This could be pretty useful if you wanted a COMPLETELY automatic cobble farm.
     
  27. Offline

    narrowtux

    Update Spout to 1.0.2
     
  28. Offline

    Piket95

    sry but i dont understand it. I place a chest and 2 blocks away a piston. At the piston is redstone and a lever but when i placed for example sand between sand and the piston it dont works.

    Please help mee.
     
  29. Offline

    7eggert

  30. Offline

    Fr0zenfr0g

    Can you do so a piston can put in cacti from a farm?
    (all dropped items)
     
  31. Offline

    narrowtux

    You can use DropChest for that ;)
     

Share This Page