#Multiple interaction functions

7 messages · Page 1 of 1 (latest)

mild totem
#

Is there a way for different parts of block to have different interactions? For example, clicking in one area activates crafting table, and clicking in other area activates smithing table.
*Crafting table and smithing table are provided for illustrational purpose.

forest spruceBOT
#

Welcome to the help forum! Once your question has been resolved, please mark the post as closed by typing !close.

digital python
#

Yep, absolutely you're getting a Vec3 of where the player clicked your block.
You just need to check in which area that Vec3 is, and depending on that do one or another action.

mild totem
#

Just a quick question, what's a Vec3?

#

Some sort of vector perhaps

digital python
#

Yep, one of Minecrafts 3 number vectors.
As it changed quite a lot in recent version, I am actually not sure if it's Vec3, Vec3i, Vec3f, Vector3i, Vector3f, or whatever

mild totem
#

Also, I think create contraptions might behave differently, since every function is made from scratch. ||And even with landlord, contraption system would probably stay||. I asked several times in create modding related servers and channels, but so far no one replied yet