Open C1ffisme opened 9 years ago
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.
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…
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.
@HybridDog The piston idea sounds cool, but about the flying machine, how did it get you banned?
The lava flow to the ground and cooled there, too. And so a greenhouse of someone became covered.
Bump.
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.
Could you add a mesecons.register_on_piston_push(pos1, pos2, …)?
@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!
This happened. LOL.
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.
I found another one, which might or might not be easier to fix:
And then:
Blocks attached to the piston do not push entities.
In the current implementation, are any blocks not effected by the all sides sticky block? (For eg Obsidian?)
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.
JamesTobin, you can make such a machine without sticky blocks, too.
@HybridDog show me how please
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.
I've used them b4. anyways, these sticky blocks are definitely nice!
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
Bump?
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.
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.