Hey,
how would I go about saving key&value(or Set) as ConfigValue in a config using ForgeConfigSpec?
For example, if I execute the command "/itembind gamemode creative" while holding a grass block, a configuration entry is added to "Binds" where "grass_block" is the key and "gamemode creative" is the value. My Interact event could then get the value (command) from the key (item/block) I clicked.
Example:
Binds: {
grass_block: gamemode creative,
diamond_sword: say hi
}
Ty