Add setLine and getLines for Hologram in API.
lishaodong opened this issue ยท 2 comments
First I want to thank you for your work in this plugin, it's terrific. I just hope you can add more methods in Hologram class, in the API.
Currently I think I can't get all lines of a hologram (as a List or something else), that's kind of annoying. And I don't know how to use getLine(int i) to get the text of this line.
And it will be better if there is a setLine(int i, String text) method, currently I can only use removeLine then insertTextLine.
ok. I thought I have figure it out.
I can cast HologramLine to TextLine to get text of a line, right?
Anyway, you can add some methods if you think necessary, or you can close this issue.
Thanks