[::] Longer Pistons in Vanilla Minecraft

๐ŸŽ™๏ธ tryashtar ยท 446 points ยท Posted at 03:58:17 on November 6, 2016 ยท (Permalink)


Extended Pistons

๐ŸŽ™๏ธ tryashtar ยท 31 points ยท Posted at 04:00:02 on November 6, 2016 ยท (Permalink)

Hey! Here's a contraption I made with command blocks for Minecraft 1.11. I tried my best to pack as much interesting stuff into fifteen seconds as I could, but there's some features I didn't cover.

For full documentation:
https://www.youtube.com/watch?v=hvgzWbBUWmU

To get this in your own Minecraft world, paste the command linked here into an orange command block and power it.
http://pastebin.com/TkmcrGrF

It will create a second orange command block. Paste the following command in there and power it.
http://pastebin.com/bby1vPV4

NaNaNaNaNa_BaDman ยท 8 points ยท Posted at 11:39:13 on November 6, 2016 ยท (Permalink)

Placing them next to each other is a pain in the *ss, you should change it so you put the pistons inside the dispenser and it adds them then to the counter

๐ŸŽ™๏ธ tryashtar ยท 5 points ยท Posted at 14:38:47 on November 6, 2016 ยท (Permalink)

Originally, that was how it worked. But I ran into several issues:

  1. You need a separate command for each possible number of pistons in the dispenser. This effectively locks me at one slot, and limits the max length to 64, which is not optimal, as well as having a ton of unnecessary commands.

  2. The piston still fires an item when it's powered. My only real option is to kill the piston as soon as it appears, then replace them using /replaceitem. But what if it didn't shoot a piston? It shouldn't kill or replace. Or what if it shot a piston, but not out of the designated slot? Even if these problems were addressed, I would need 64 more bloating commands.

  3. Okay, I guess there's just two. But they're big ones ;)

NaNaNaNaNa_BaDman ยท 2 points ยท Posted at 15:51:25 on November 6, 2016 ยท (Permalink)

How about you place the piston inside and it get removed from the slot and you add +1 to the piston counter from the piston? So the dispenser is empty when you fire it

๐ŸŽ™๏ธ tryashtar ยท 2 points ยท Posted at 17:17:39 on November 6, 2016 ยท (Permalink)

Not a bad idea. I'll see what I can do.

UN0BTANIUM ยท 48 points ยท Posted at 12:01:55 on November 6, 2016 ยท (Permalink)

When people forget that pistons were once an awesome mod with already integrated double and tripple extending pistons...

lare290 ยท 3 points ยท Posted at 16:31:40 on November 6, 2016 ยท (Permalink)

I remember. Had some fun times making a room with the floor made of pistons.

aaronhowser1 ยท 3 points ยท Posted at 13:33:49 on November 7, 2016 ยท (Permalink)

Member when pistons used to launch you in the air?

Oooh, I member

jabonko ยท 6 points ยท Posted at 15:06:27 on November 6, 2016 ยท (Permalink)

Out of curiosity: what makes the floor move with the pistons in the "How's it going" one?

๐ŸŽ™๏ธ tryashtar ยท 8 points ยท Posted at 15:10:13 on November 6, 2016 ยท (Permalink)

That's me and the sign moving! It's just smooth as silk.

jabonko ยท 1 points ยท Posted at 15:32:39 on November 6, 2016 ยท (Permalink)

OH! So it is... I didn't notice it was the slimeblock pushing you and the sign.

Reality_Gamer ยท 3 points ยท Posted at 16:57:19 on November 6, 2016 ยท (Permalink)

Holy shit. That is indeed smooth.

Evtema3 ยท 2 points ยท Posted at 04:58:50 on November 6, 2016 ยท (Permalink)

Awesome contraption! I saw the video a while back but it's still just as mind blowing.

RileyGuy1000 ยท 2 points ยท Posted at 09:30:06 on November 6, 2016 ยท (Permalink)

Wow, I could see this being used in adventure maps and such.

Psandysdad ยท 2 points ยท Posted at 01:28:14 on November 7, 2016 ยท (Permalink)

I can't imagine why I need this. But your green checkerboard land is marvelous!

๐ŸŽ™๏ธ tryashtar ยท 2 points ยท Posted at 01:38:05 on November 7, 2016 ยท (Permalink)

Thanks! It's really helpful for viewing where chunks are and where spawn ends.

If you want your world to have this, here's the setup command:
http://pastebin.com/7Y675rqw

It also sets up a few basic gamerules and moves the spawn so that the spawn chunks go from (0,0) to (255,255). Just make sure your superflat world is 49 blocks high!

[deleted] ยท 6 points ยท Posted at 10:50:59 on November 6, 2016 ยท (Permalink)

Would be bice, if Mojang would add this to Vanilla minecraft! ^

Beginners963 ยท 5 points ยท Posted at 14:06:40 on November 6, 2016 ยท (Permalink)*

I would actually like some kind of magnetic block. It can be attracted or pushed away.
Like:
[X] MAGNET / [#] pushable block / _ Air / [?] any block that is moveable
1. Push
[X] [#] [?]
[X] _________________ [#] [?]
2. Attract
[X] _______ [?] _______ [#]
[X] [?] [#]
Now imagine the possibilities with this. And then add slime blocks to that. So much stuff you could do with this

Evtema3 ยท 3 points ยท Posted at 15:02:47 on November 6, 2016 ยท (Permalink)

I've had the same idea for such a long time... Plus, what if magnets interacted with each other in a sort of cellular automata type thing? :D

lare290 ยท 2 points ยท Posted at 16:32:40 on November 6, 2016 ยท (Permalink)

Cellular automata in Minecraft? Yes please. Rule 110 first.

999DVD999 ยท 1 points ยท Posted at 12:27:42 on November 6, 2016 ยท (Permalink)

wow amazing contraption man! Great job!

[deleted] ยท 1 points ยท Posted at 21:22:24 on November 6, 2016 ยท (Permalink)

I don't need it. I don't need it. I definitely don't need it...

I NEEEEEEEEEEEEEEEEEEEDDDDDD ITTTTTT!!!!

PaintTheFuture ยท 1 points ยท Posted at 07:54:28 on November 7, 2016 ยท (Permalink)

I hope I can create something that uses the full potential of this wonderful contraption. I'm in the middle of big project right now, but I look forward to playing more with this and seeing what I can come up with.

EnderCreeper121 ยท 0 points ยท Posted at 15:16:06 on November 6, 2016 ยท (Permalink)

~casually moves ground~