Hello, I am hoping someone will try to help me with this one. I am currently trying to create new ItemStack with Lore which accepts Java List to fill the lines. I tried importing the List from java.utils and creating a new List() but that leaves me with exception that it cannot create new List because of Message unsupported. So I tried passing string to new List(String) but it wont accept any arguments.
Code snippet:
import { List } from 'java.utils';
const list = new List();
Hello, I am hoping someone will try to help me with this one. I am currently trying to create new ItemStack with Lore which accepts Java List to fill the lines. I tried importing the
List
fromjava.utils
and creating anew List()
but that leaves me with exception that it cannot create new List because ofMessage unsupported
. So I tried passing string tonew List(String)
but it wont accept any arguments. Code snippet: