FrozenBlock / Configurable-Everything

https://modrinth.com/mod/configurable-everything
GNU General Public License v3.0
3 stars 1 forks source link

Scripting: Add API for modifying typed entries #18

Closed Treetrain1 closed 2 months ago

Treetrain1 commented 7 months ago

Right now, typed entries are modified by completely overwriting the typed entry by setting the config value to TypedEntry(original.type, newValue)

It would be good to have a solution for modifying the value of the typed entries rather than overriding them completely. An idea is to make TypedEntry.value() in FrozenLib mutable by adding a setter method