zombiekiller753 If you expect the variable name to change then your way is probably better. Fortunately for you, it is unlikely that it is going to change. I tested how much time a reflection call takes just now. With this code: Code:java long start = System.currentTimeMillis(); for (int x = 0; x < 10000; x++) NMSandOBC.getNMSClass("EntityPlayer"); long end = System.currentTimeMillis(); System.out.println(end - start); I got 23 milliseconds.
zombiekiller753 Could you make it so you can make a item of having a chance of spawning in the chest so it's not the same item everytime
Sil3nt_Aassassin You mean, like %? Because currently, it picks x random items out of the contents list. 'x' is configured as max-unique-items, so if you set max-unique-items to 5, and you have 10 items, you're gonna get some randomness
Can you make it capable with bossmessage so it could say "The Current lootedchest is at [%x, %y, %z] zombiekiller753 Also can you make it compatitable with spigot EDIT by Moderator: merged posts, please use the edit button instead of double posting.