#(aworthyson) How to add Citizens trait 'SkinLayers'?

31 messages · Page 1 of 1 (latest)

cedar lichenBOT
#

(aworthyson) How to add Citizens trait 'SkinLayers'?

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

midnight briar
#

just add it like any other trait and use the API?

radiant basinBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@main heart

main heart
#

I viewed that page, and whenever I try to access the SkinLayers class, Eclipse doesn't seem to able to find it.

echo ermineBOT
main heart
#

I have all of that sorted, but I'm not sure how I use the class: https://jd.citizensnpcs.co/net/citizensnpcs/trait/SkinLayers.html#%3Cinit%3E()

I apologize, I'm a bit new to Java.

#

I'd have to make a new instance of the SkinLayers, and then add it, or am I wrong?

midnight briar
#

yes

#

you are wrong

#

just use addTrait(SkinLayers.class) or getOrAddTrait(SkinLayers.class)

main heart
#

Tried that. animated_thonk

midnight briar
#

!pastepom

echo ermineBOT
main heart
midnight briar
#

depend on citizens-main not citizensapi

#

@main heart

main heart
#

Alright

#

ah.

#

Works.

#

Appreciate it

radiant basinBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@main heart

#
Resolved

Thread closed as resolved.