#Connected Blocks?

1 messages · Page 1 of 1 (latest)

proven cliff
#

I have a bench that takes up a single 16x16 space and I want the geometry to change when I place a second single bench next to it so they look connected. Right now I have custom blocks that are the left and right side (and the single one) but I dont want to have 3 separate blocks in the game/creative menu/crafting recipes. I just want the one bench that if placed near other works kind of like how fences work. How do I do this?

dense widgetBOT
#
Thanks for asking your question!

Once you have finished, please close your thread.

proven cliff
#

Also the texture will need to change as well.

true talon
#

You will need parts_visibility and tags. If you do a discord search in the blocks channel for "minecraft:part_visibility" use in:#blocks "minecraft:part_visibility"it will bring up a lot of examples and convos and should be some sample add_on or 2...

proven cliff
#

Connected Blocks?

#

@true talon I’ve done a search in blocks and I understand part visibility a little better but I am not very experienced with writing code. I basically can follow tutorials and that’s it. I need a closer example of what I am trying to do written out.

I found one conversation about how to make a block like iron bars but I still don’t understand how to do this on my own. Sorry, I am am still a beginner and need more help :/

true talon
#

There are some who will do it for you and just hand you code to use without you understanding anything. I cannot do that. I can only help you learn to understand. That is my suggestion.

proven cliff
#

I can make simple blocks and I know what all of the components do. But this is a much more complex block and I cannot find a tutorial anywhere on what I am trying to do. If you know how I don’t see why you cannot teach me or explain. I thought that was what #1019665628946247761 was quite literally for.

#

@true talon

#

I am willing to learn. The other user i mentioned pasted their code with no explanation of what each part does. I don’t know how to “work my way up” if no one is willing to help along the way.

true talon
#

Have you made your model in blockbench yet?

#

Or just for practice, make anything one part, you want to be able to hide and bring out.

For something simple, you will need at least 2 cubes (or a set of cubes to group together, one for hiding), right. each cube (or set of cubes) will need to be in it's own group/folder. Rename the folders.. part_a and part_b....

let me know when your test model is ready.

true talon
#

Oh I was just looking in #old-blocks and saw that you got help on that part.. so nevermind.