code: public static EntityType create(@NonNull String name, EntityType parent) {
        EntityType toReturn = DynamicEnum.register(new EntityType(name, parent));
        if (toReturn.setParentIfAbsent(parent)) {
           Config.setProperty(toReturn.canonicalName() + ".parent", parent.canonicalName());
        }
        values.add(toReturn);
        return toReturn;
     }
docs: <p>Creates a new or retrieves an existing instance of EntityType with the given name.</p>
  
  @param name   the specified name of the EntityType
  @param parent the parent element of the enum;
  @return The instance of EntityType corresponding th the give name.