mesecons icon indicating copy to clipboard operation
mesecons copied to clipboard

Sticky Blocks

Open C1ffisme opened this issue 10 years ago • 21 comments

This is a feature request, not a bug.

I really wish we had some sticky blocks, like in minecraft. It would allow us to build those cool flying machines people build, or we could more asthetic piston gates.

We could make slime/glue blocks, but I would rather prefer something like cobble with glue on it. That would allow people to make good-looking piston gates, with a double-sticky piston.

C1ffisme avatar Feb 07 '15 02:02 C1ffisme

Sounds like a good idea. You could achieve some of this with a sticky movestone already (which pulls the whole stack of blocks), but I see how this could work much better. I didn't even know something like this existed in minecraft. Instead of just copying the minecraft idea: Do you / anyone else have an idea on how to allow for flying machines etc. in another, mesecon-like way? If we go with sticky blocks, I also prefer the cobble idea btw.

Jeija avatar Feb 07 '15 06:02 Jeija

It would allow us to build those cool flying machines people build

You can already make flying machines with technic frames. l put lava and water on it and let it move and then l had a sky path machine… after that the admin of the server banned me… machinefront

Some time ago l got the idea to add steel barbs to a sticky piston. So the piston pushes a node forward and instead of pulling it back, it pulls itself to the node it pushed if the side with barbs touches another node. stickyb

HybridDog avatar Feb 07 '15 08:02 HybridDog

@HybridDog The piston idea sounds cool, but about the flying machine, how did it get you banned?

C1ffisme avatar Feb 07 '15 13:02 C1ffisme

The lava flow to the ground and cooled there, too. And so a greenhouse of someone became covered.

HybridDog avatar Feb 07 '15 13:02 HybridDog

Bump.

C1ffisme avatar Feb 16 '15 17:02 C1ffisme

I just made a very basic implementation of sticky blocks and pushed it to https://github.com/Jeija/minetest-mod-mesecons/tree/sticky_blocks. It does not have any textures yet, and right now there is only one kind of sticky block. I'd like to have multiple sticky blocks, e.g. just a block that is sticky on two faces (to make corners) or a T-junction sticky block. Sticky blocks are a mess, and bugs connected with sticky blocks and pistons are hard to fix. Therefore, if sticky blocks will ever end up in mesecons, there are a lot of bugfixes to do. If you feel like you could spot and fix the bugs in that branch, it would be great if you could help. Because I won't be able to spend that much time on fixing piston-related bugs for cornercases.

Jeija avatar Feb 28 '15 12:02 Jeija

Could you add a mesecons.register_on_piston_push(pos1, pos2, …)?

HybridDog avatar Feb 28 '15 13:02 HybridDog

@Jeija I tried the build. Currently the block just acts like a normal block, but that might be because I put the sticky block mod into my mesecons folder and chucked out the rest of the newly downloaded stuff. Lemme try with the new stuff merged with my mesecons (I keep some of my own mods in there.)

EDIT : It worked! This is awesome!

C1ffisme avatar Feb 28 '15 15:02 C1ffisme

screenshot_3503245222

This happened. LOL.

C1ffisme avatar Feb 28 '15 15:02 C1ffisme

Yes, it is because of these kinds of bugs that I can't merge the sticky blocks into the minetest-mod-mesecons master. It would be great if you could help me fix them, they are very tricky ones.

Jeija avatar Feb 28 '15 16:02 Jeija

I found another one, which might or might not be easier to fix: screenshot_3594586733

And then:

screenshot_3594601606

Blocks attached to the piston do not push entities.

C1ffisme avatar Mar 01 '15 16:03 C1ffisme

In the current implementation, are any blocks not effected by the all sides sticky block? (For eg Obsidian?)

benrob0329 avatar Jan 03 '17 05:01 benrob0329

IIRC there are only the MVPS stoppers (like extended pistons) that completely stop the push / pull action, I don't think single blocks can not be effected in the current implementation.

Jeija avatar Jan 03 '17 08:01 Jeija

https://youtu.be/xFJEDV8WIns

ValkyrieStella avatar Jan 22 '17 06:01 ValkyrieStella

JamesTobin, you can make such a machine without sticky blocks, too.

HybridDog avatar Jan 22 '17 10:01 HybridDog

@HybridDog show me how please

ValkyrieStella avatar Jan 22 '17 20:01 ValkyrieStella

Unfortunately l don't know (or didn't understand) how to do it with pure mesecons, but some time ago rubenwardy (l think it was rubenwardy) told me he/she did it. l think l was in a nether biome when rubenwardy told me that you can make a digging mesecons vehicle without technic frames and just pure mesecons, he/she wrote something about using movestones for the machine. l have hardly any experience with movestones.

HybridDog avatar Jan 24 '17 09:01 HybridDog

I've used them b4. anyways, these sticky blocks are definitely nice!

ValkyrieStella avatar Jan 24 '17 16:01 ValkyrieStella

Another bug I found: If you build a chain of sticky blocks which are placed in a way that would push the piston itself, the final sticky block disappears.

Before: https://i.imgur.com/E29MeFO.png After: https://i.imgur.com/TWFHb4A.png

Note the different number of stcky blocks. One block got destroyed.

I suggest to simply prevent pushing if such a build appears. This would be the simplest solution.

For your interest: The Minecraft equivalent of sticky blocks are slime blocks: https://minecraft.gamepedia.com/Slime_Block

Suggested crafting recipe (when this is finished):

GGG
GWG
GGG
  • G = glue
  • W = any wood

Wuzzy2 avatar Jan 09 '18 20:01 Wuzzy2

Bump?

crabctrl avatar Aug 23 '19 02:08 crabctrl

Sticky blocks are there since ages. There is still no crafting recipe but in creative mode they’re usable. Let’s discuss individual bugs separately.

numberZero avatar Jun 18 '23 19:06 numberZero