#double block (two blocks above) and interact into custom components

1 messages · Page 1 of 1 (latest)

safe prawn
#

In double blocks it can rotate like a vanilla door and also it can be a double door too. And in an interact part when the player interacts with any block (top or bottom) it automatically interacts with the other block (top or bottom). And also the block itself can change block states

#

Block structure:

[]
[]

safe prawn
#

@hearty crown I mean, custom components

hearty crown
#

Isn't that template using a custom components?

safe prawn
#

No

hearty crown
#

It uses custom components, check it.

safe prawn
#

I mean, custom components in block.json

#

Not in script

hearty crown
#

Custom components are actually in block.json, and you only use script to register that custom components and add a function in it.

Both must coexist to make them work.

safe prawn
#

I think we misunderstand

hearty crown
#

Then what you need tho? That template uses custom components, and that's what ypu asked for. What kind of custom components you wanted to see? Is there any other kind of custom components?

safe prawn
#

No but we can make it our own and share it like it had new versions or latest version and also this post can share their idea too

hearty crown
#

They put it there, so you can freely use their code.

safe prawn
#

Oh sorry