Benjamin Wheeler

Results 78 comments of Benjamin Wheeler

> level.dat: This is a pre-made template which I generated using Minecraft 1.21.4 We could benefit from having a lib that generates this on-the-fly, as we could generate it for...

Note: I don't see a Wiki tab.

This is a good idea, but right now the implementation has some drawbacks: - `toml::from_str` isn't const (because we don't yet have const traits, apparently) - This _can_ be resolved...

> * `toml::from_str` isn't const (because we don't yet have const traits, apparently) Meh, I guess the performance penalty is small... > * This _can_ be resolved with `static-toml` crate...

Would it be better to use something like `static-toml` and keep the global var? Or should we just load this data into a var in `main()` and pass it around...

Trying to get static_toml working is not the best, but I asked about potentially modifying it to generate Option types for optional values here: https://github.com/cptpiepmatz/static-toml/issues/6

The other thing we can do (I think) is just fill the toml file with null values in every entry. It's a horrible thing to do, but it'll give us...

For the time being, honestly maybe we should just unwrap, and get rid of it later when static_toml supports what we need it to support

You're alive, haha! This PR is not ready for merging. Note that my last commit was "down to 7 errors". What I meant by that comment is that it currently...

closing this for now as I am not working on Arnis at the moment. Feel free to grab my branch and get it past the finish line if you wish.