Looks like there is no such constructor in target class, at least for these arguments. Usage of reflections is also not a very good way, is it possible to avoid them for your case?
Also der Konstrukter ist definitiv da, sogar in einer Seperaten Datei
---
So the constructor is definitely there, even in a separate file
public String getHeadText(String lang){return getHeadText().getOrDefault(lang, getHeadText().get(defaultLang));}
Ja eigendlich wollte ich mit den Fields Arbeiten
---
Actually, I wanted to work with the Fields
Ich Lade die vorkonfiegurirte Variable und überschreibe die Vorhandenen Daten, das geht auch so weit ohne große Probleme.
Nur wenn ich einen neuwn Datensatz hinzufüge, brauche ich eine Vorlage
Nehme ich eine der vorhandenen, da es "nur" Zeiger sind , bekomme ich das Orginal der Vorlage und habe eine Identische Kopie
Hier muss ich eine dan die Class erstellen mit neuem Zeiger, aber hier gibt es auch sein Java8 eine umstellung und Chaos
Und selbst wenn ich mit den Metoden arbeite muss ich ja wenn etwas hinzu kommt auch einen "Unbekannten Type" inizialiesieren
Das bauche ich auf jeden fall noch, um zwischen dem Orginal-Type der Klasse und dem JSON-Typen zu Konvertieren
---
I load the preconfigured variable and overwrite the existing data, that goes so far without any major problems.
Only when I add a new record do I need a template
If I take one of the existing ones, since they are "only" pointers, I get the original of the template and have an identical copy
Here I have to create a dan the class with a new pointer, but here there is also a Java8 conversion and chaos
And even if I work with the methods, I have to initialize an "unknown type" if something is added
In any case, I still need that to convert between the original type of the class and the JSON type
Wenn du einen anderen ansatz hast, große Konfigurationen Überlichtlich zu Schreiben und dabei noch Dynamisch beim Laden zu halten, lass es mich wissen
Das ist gedacht um soviel wie möglich an Einstellungen und anpassung für den Serverbetreiber zur verfügung zu stellen.
z.b das ein Serverbetreiber mit einer Config ein eigenes Rezept (Konfiguration, Bilder) mit Item (3D Daten) mit Event auswahl selber definieren kann, und das ebend soviel er Konfigurieren kann
---
If you have another approach to overlighting large configs while still keeping dynamic while loading, let me know
This is meant to provide as much settings and customization as possible for the server operator.
e.g. that a server operator can define his own recipe (configuration, images) with item (3D data) with event selection with a config, and that as much as he can configure
Schöner als uhrConfigRecipe.yml.txt und mehr