effect command
This commit is contained in:
parent
6c0bd5481f
commit
66421e806e
16 changed files with 393 additions and 16 deletions
|
@ -284,6 +284,11 @@ public abstract class EntityRegistry {
|
|||
return CLASS_TO_STRING.get(clazz);
|
||||
}
|
||||
|
||||
public static Class<? extends Entity> getEntityClass(String id) {
|
||||
return STRING_TO_CLASS.get(id);
|
||||
}
|
||||
|
||||
|
||||
// public static List<String> getEntityNameList(boolean lower) {
|
||||
// Set<String> set = STRING_TO_CLASS.keySet();
|
||||
// List<String> list = Lists.<String>newArrayList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue