effect command

This commit is contained in:
Sen 2025-03-25 17:02:41 +01:00
parent 6c0bd5481f
commit 66421e806e
16 changed files with 393 additions and 16 deletions

View file

@ -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();