Open 0ddlyoko opened 3 years ago
One more thing:
One more thing:
- [ ] Translations
Translations ?
They'll become somewhat cancerous when we'll work with chat. I doubt we can even parse them automatically, but it's worth trying. It'll also be usefull for the console/logs though as you don't want to see something like
{"translate":"chat.type.text","with":[{"text":"Herobrine","clickEvent":{"action":"suggest_command","value":"/msg Herobrine "},"hoverEvent":{"action":"show_entity","value":"{id:f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2,name:Herobrine}"},"insertion":"Herobrine"},{"text":"I don't exist"}]}
For now, it only parse json files not json created in memory, I don't think we can do it for now but we can do it with the in build json library
Here is some things we should parse with the Parser: