Building components
How do people usually use the component builders?
Right now I'm using the builders inside of the "add component methods" but this results in components 100s of lines long depending on the arrangement of different component types.
I was wondering if there was a better or more standard way to build components.
14 Replies
Here's an example
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
I see
In the guide it seems like there's an arrow function inside the add component methods, do I not have to say
new for each one?Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
If you want, you can also use the callback pattern for adding components, e.g.
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Ah that's what I was missing
Oh this is like for commands too
Yea
Alright thanks that makes a lot more sense
The thread owner has marked this issue as solved.