Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation. #87

Open
DxsSucuk opened this issue Jan 6, 2023 · 5 comments
Open

Documentation. #87

DxsSucuk opened this issue Jan 6, 2023 · 5 comments

Comments

@DxsSucuk
Copy link
Contributor

DxsSucuk commented Jan 6, 2023

Asking for a documentation.
For example

  • Usage of texture values in a profile (to use custom skins instead of players skin)
  • How to genuially destroy the NPCs
  • etc.
@DxsSucuk
Copy link
Contributor Author

@derklaro is there documentation planned? Or is there already somesort of one that could allow newer developers to use the api easier without spending most of their time finding out how it works?

For example I would love to use it, but there is not actual documentation that could give me a lead on what I can do and what I can't so I am really looking forward to this!

@vytskalt
Copy link
Contributor

You can see some examples here https://github.com/juliarn/NPC-Lib/releases/tag/3.0.0-beta1

@DxsSucuk
Copy link
Contributor Author

There is but its not showing more information, for example how to use a skin texture value instead of an actual player skin?
Is there a right or wrong way to destroy NPCs, are you even able to destroy them? Do you need to use a NPC-Pool? Are there performance gains from doing so?

@SplotyCode
Copy link

You can use setProperty on com.github.juliarn.npc.profile.Profile
Like this:
profile.setProperty(new Profile.Property("textures", texture, signature));.
I believe you are forced to use a npc pool

@derklaro derklaro mentioned this issue May 16, 2023
@mybe
Copy link

mybe commented Jul 31, 2023

This looks like a great resource, but how is there no documentation? A releases page with a couple examples is not documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants