mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 06:12:56 +00:00
Magic Editor Sub GUI
This commit is contained in:
1 parent
0aef78fd43
commit
ffaf21d3d8
10 files changed
+357
-118
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package noppes.npcs.constants;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public enum EnumTextureType {
|
||||
BASE("texture.base"),
|
||||
ITEM("texture.item");
|
||||
|
||||
private String lang;
|
||||
EnumTextureType(String langName){
|
||||
this.lang = langName;
|
||||
}
|
||||
|
||||
public String getLang(){
|
||||
return lang;
|
||||
}
|
||||
|
||||
public static String[] names(){
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for(EnumTextureType e : values())
|
||||
list.add(e.lang);
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user